@mapgis/webclient-leaflet-plugin 17.6.1 → 17.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -0
- package/dist/es5/webclient-common.min.js +10 -10
- package/dist/es5/webclient-leaflet-plugin.min.js +4 -4
- package/dist/webclient-leaflet-plugin-es6.min.js +4 -4
- package/documention/IGSMapImageLayer.html +1 -3
- package/documention/MapView.html +67 -19
- package/documention/SwipeControl.html +1477 -0
- package/documention/SwipeTool.html +760 -0
- package/documention/WMSLayerView.html +114 -0
- package/package.json +1 -1
|
@@ -332,8 +332,6 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/MapServer</p
|
|
|
332
332
|
|
|
333
333
|
<td class="default">
|
|
334
334
|
|
|
335
|
-
getGUID()
|
|
336
|
-
|
|
337
335
|
</td>
|
|
338
336
|
|
|
339
337
|
|
|
@@ -758,7 +756,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/MapServer</p
|
|
|
758
756
|
</td>
|
|
759
757
|
|
|
760
758
|
|
|
761
|
-
<td class="description last"><p
|
|
759
|
+
<td class="description last"><p>动态投影参考系,不指定时不会开启动态投影</p></td>
|
|
762
760
|
</tr>
|
|
763
761
|
|
|
764
762
|
|
package/documention/MapView.html
CHANGED
|
@@ -290,13 +290,13 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
290
290
|
|
|
291
291
|
<tr class="deep-level-1">
|
|
292
292
|
|
|
293
|
-
<td class="name"><code>
|
|
293
|
+
<td class="name"><code>innerView</code></td>
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
<td class="type">
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
<span class="param-type">
|
|
299
|
+
<span class="param-type">Object</span>
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
|
|
@@ -308,7 +308,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
308
308
|
</td>
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
<td class="description last"><p
|
|
311
|
+
<td class="description last"><p>实际的leaflet引擎对应地图对象</p></td>
|
|
312
312
|
</tr>
|
|
313
313
|
|
|
314
314
|
|
|
@@ -316,13 +316,13 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
316
316
|
|
|
317
317
|
<tr class="deep-level-1">
|
|
318
318
|
|
|
319
|
-
<td class="name"><code>
|
|
319
|
+
<td class="name"><code>spatialReference</code></td>
|
|
320
320
|
|
|
321
321
|
|
|
322
322
|
<td class="type">
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
<span class="param-type">
|
|
325
|
+
<span class="param-type">SpatialReference</span>
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
|
|
@@ -331,12 +331,10 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
331
331
|
|
|
332
332
|
<td class="default">
|
|
333
333
|
|
|
334
|
-
1
|
|
335
|
-
|
|
336
334
|
</td>
|
|
337
335
|
|
|
338
336
|
|
|
339
|
-
<td class="description last"><p
|
|
337
|
+
<td class="description last"><p>视图空间参考系</p></td>
|
|
340
338
|
</tr>
|
|
341
339
|
|
|
342
340
|
|
|
@@ -844,12 +842,10 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
844
842
|
|
|
845
843
|
<td class="default">
|
|
846
844
|
|
|
847
|
-
new Point({coordinates:[0,0]})
|
|
848
|
-
|
|
849
845
|
</td>
|
|
850
846
|
|
|
851
847
|
|
|
852
|
-
<td class="description last"><p>地图视图中心点。如果有中心点,看是否存在zoom/scale,使用center和zoom/scale定位(同时设置scale和zoom时,scale优先于zoom),否则默认
|
|
848
|
+
<td class="description last"><p>地图视图中心点。如果有中心点,看是否存在zoom/scale,使用center和zoom/scale定位(同时设置scale和zoom时,scale优先于zoom),否则默认scale为36978669.4318207;如果没有设置center,并且也没有设置extent,则以center = new Point({coordinates:[105.1250000000032,24.427133220306196]}) 定位;如果没有设置center,但设置了extent,则以extent定位。</p></td>
|
|
853
849
|
</tr>
|
|
854
850
|
|
|
855
851
|
|
|
@@ -857,13 +853,13 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
857
853
|
|
|
858
854
|
<tr class="deep-level-1">
|
|
859
855
|
|
|
860
|
-
<td class="name"><code>
|
|
856
|
+
<td class="name"><code>scale</code></td>
|
|
861
857
|
|
|
862
858
|
|
|
863
859
|
<td class="type">
|
|
864
860
|
|
|
865
861
|
|
|
866
|
-
<span class="param-type">
|
|
862
|
+
<span class="param-type">Number</span>
|
|
867
863
|
|
|
868
864
|
|
|
869
865
|
|
|
@@ -875,7 +871,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
875
871
|
</td>
|
|
876
872
|
|
|
877
873
|
|
|
878
|
-
<td class="description last"><p
|
|
874
|
+
<td class="description last"><p>地图视图比例尺(比例尺的分母)。如果scale、zoom、extent都未设置,那么初始化scale默认scale为36978669.4318207。</p></td>
|
|
879
875
|
</tr>
|
|
880
876
|
|
|
881
877
|
|
|
@@ -883,7 +879,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
883
879
|
|
|
884
880
|
<tr class="deep-level-1">
|
|
885
881
|
|
|
886
|
-
<td class="name"><code>
|
|
882
|
+
<td class="name"><code>zoom</code></td>
|
|
887
883
|
|
|
888
884
|
|
|
889
885
|
<td class="type">
|
|
@@ -901,7 +897,33 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
901
897
|
</td>
|
|
902
898
|
|
|
903
899
|
|
|
904
|
-
<td class="description last"><p
|
|
900
|
+
<td class="description last"><p>地图视图层级</p></td>
|
|
901
|
+
</tr>
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
<tr class="deep-level-1">
|
|
907
|
+
|
|
908
|
+
<td class="name"><code>extent</code></td>
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
<td class="type">
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
<span class="param-type">Extent</span>
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
</td>
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
<td class="default">
|
|
922
|
+
|
|
923
|
+
</td>
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
<td class="description last"><p>场景视图初始所在的范围。如果没有设置center,但设置extent了,则地图视图定位到extent范围内。</p></td>
|
|
905
927
|
</tr>
|
|
906
928
|
|
|
907
929
|
|
|
@@ -1090,6 +1112,34 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p>
|
|
|
1090
1112
|
|
|
1091
1113
|
|
|
1092
1114
|
|
|
1115
|
+
|
|
1116
|
+
<tr class="deep-level-1">
|
|
1117
|
+
|
|
1118
|
+
<td class="name"><code>initialGoTo</code></td>
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
<td class="type">
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
<span class="param-type">Boolean</span>
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
</td>
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
<td class="default">
|
|
1132
|
+
|
|
1133
|
+
true
|
|
1134
|
+
|
|
1135
|
+
</td>
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
<td class="description last"><p>是否在视图构造时根据视图的center、scale、zoom、extent属性进行视图范围的设置</p></td>
|
|
1139
|
+
</tr>
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1093
1143
|
|
|
1094
1144
|
|
|
1095
1145
|
|
|
@@ -4890,12 +4940,10 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
4890
4940
|
|
|
4891
4941
|
<td class="default">
|
|
4892
4942
|
|
|
4893
|
-
200
|
|
4894
|
-
|
|
4895
4943
|
</td>
|
|
4896
4944
|
|
|
4897
4945
|
|
|
4898
|
-
<td class="description last"><p
|
|
4946
|
+
<td class="description last"><p>动画的持续时间,以毫秒为单位,默认不设置,动画表现为引擎默认动画效果</p></td>
|
|
4899
4947
|
</tr>
|
|
4900
4948
|
|
|
4901
4949
|
|