ba979c7f by chiangbt

修正了lod中的一个问题

1 parent 85b62c7c
...@@ -7,7 +7,6 @@ public enum TencentMapLayerTypes implements BaseTiledMapServiceType { ...@@ -7,7 +7,6 @@ public enum TencentMapLayerTypes implements BaseTiledMapServiceType {
7 * 腾讯矢量图层(含路网,含注记) 7 * 腾讯矢量图层(含路网,含注记)
8 */ 8 */
9 TENCENT_MAP_VECTOR, 9 TENCENT_MAP_VECTOR,
10
11 /** 10 /**
12 * 腾讯矢量夜间图层(含路网,含注记) 11 * 腾讯矢量夜间图层(含路网,含注记)
13 */ 12 */
......
...@@ -33,7 +33,8 @@ public class TencentMapsTiledServiceLayer extends TiledServiceLayer { ...@@ -33,7 +33,8 @@ public class TencentMapsTiledServiceLayer extends TiledServiceLayer {
33 private static final double XMax = 116.65036000000009; 33 private static final double XMax = 116.65036000000009;
34 private static final double YMax = 36.36647000000005; 34 private static final double YMax = 36.36647000000005;
35 35
36 private static final double[] res = {156543.03392800014, 36 private static final double[] res = {
37 156543.03392800014,
37 78271.516963999937, 38 78271.516963999937,
38 39135.758482000092, 39 39135.758482000092,
39 19567.879240999919, 40 19567.879240999919,
...@@ -54,7 +55,8 @@ public class TencentMapsTiledServiceLayer extends TiledServiceLayer { ...@@ -54,7 +55,8 @@ public class TencentMapsTiledServiceLayer extends TiledServiceLayer {
54 0.59716428355981721, 55 0.59716428355981721,
55 0.29858214164761665}; 56 0.29858214164761665};
56 57
57 private static final double[] scale = {591657527.591555, 58 private static final double[] scale = {
59 591657527.591555,
58 295828763.79577702, 60 295828763.79577702,
59 147914381.89788899, 61 147914381.89788899,
60 73957190.948944002, 62 73957190.948944002,
...@@ -73,12 +75,11 @@ public class TencentMapsTiledServiceLayer extends TiledServiceLayer { ...@@ -73,12 +75,11 @@ public class TencentMapsTiledServiceLayer extends TiledServiceLayer {
73 9027.9774109999998, 75 9027.9774109999998,
74 4513.9887049999998, 76 4513.9887049999998,
75 2256.994353, 77 2256.994353,
76 1128.4971760000001}; 78 1128.497176};
77 79
78 private static String URL = "http://maps.iwxlh.com"; 80 private static String URL = "http://maps.iwxlh.com";
79 private ResponseListener responseListener;
80 private static Point origin = new Point(-20037508.342787, 20037508.342787); 81 private static Point origin = new Point(-20037508.342787, 20037508.342787);
81 82 private ResponseListener responseListener;
82 private TencentMapLayerTypes tencentMapLayerTypes; 83 private TencentMapLayerTypes tencentMapLayerTypes;
83 84
84 public TencentMapsTiledServiceLayer(TencentMapLayerTypes layerType) { 85 public TencentMapsTiledServiceLayer(TencentMapLayerTypes layerType) {
......