@mapgis/webclient-leaflet-plugin 17.4.1 → 17.6.0
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 +93 -41
- package/dist/es5/webclient-common.min.js +32 -6
- package/dist/es5/webclient-leaflet-plugin.min.js +6 -6
- package/dist/webclient-leaflet-plugin-es6.min.js +6 -11
- package/documention/ArcGISMapImageLayer.html +50 -4
- package/documention/ArcGISTileLayer.html +42 -4
- package/documention/EchartsLayer.html +3 -3
- package/documention/FeatureLayer.html +2 -2
- package/documention/FeatureLayerUtil.html +3 -3
- package/documention/IGSImageryLayer.html +851 -0
- package/documention/IGSImageryTileLayer.html +741 -0
- package/documention/IGSMapImageLayer.html +54 -31
- package/documention/IGSTileLayer.html +103 -25
- package/documention/L.zondy.MapvBaseLayer.html +6 -2
- package/documention/MapLayer.html +30 -2
- package/documention/MapVLayer.html +3 -3
- package/documention/MapView.html +153 -91
- package/documention/MapViewLeaflet.html +1413 -369
- package/documention/Popup.html +3 -3
- package/documention/Screenshot.html +2 -2
- package/documention/SketchEditor.html +12 -12
- package/documention/SketchEditorLeaflet.html +477 -241
- package/documention/TileLayer.html +132 -2
- package/documention/TileLayerWMS.html +2 -2
- package/documention/VectorTileLayer.html +46 -4
- package/documention/WMSLayerView.html +2 -2
- package/documention/WebMapServiceLayer.html +48 -4
- package/documention/WebMapTileServiceLayer.html +38 -20
- package/documention/WebTileLayer.html +42 -4
- package/documention/global.html +508 -1868
- package/documention/index.html +2 -2
- package/documention/initializeOptions.html +384 -0
- package/documention/{Zondy.ThemeLayer.GeoFeatureThemeLayer.html → zondy.themelayer.GeoFeatureThemeLayer.html} +6 -2
- package/documention/{Zondy.ThemeLayer.GraphThemeLayer.html → zondy.themelayer.GraphThemeLayer.html} +2 -2
- package/documention/{Zondy.ThemeLayer.RandomThemeLayer.html → zondy.themelayer.RandomThemeLayer.html} +2 -2
- package/documention/{Zondy.ThemeLayer.ThemeLayer.html → zondy.themelayer.ThemeLayer.html} +6 -2
- package/documention/{Zondy.ThemeLayer.ThemeStyle.html → zondy.themelayer.ThemeStyle.html} +6 -2
- package/documention/{Zondy.ThemeLayer.rangeThemeLayer.html → zondy.themelayer.rangeThemeLayer.html} +2 -2
- package/documention/{Zondy.ThemeLayer.rankSymbolThemeLayer.html → zondy.themelayer.rankSymbolThemeLayer.html} +2 -2
- package/documention/{Zondy.ThemeLayer.simpleThemeLayer.html → zondy.themelayer.simpleThemeLayer.html} +2 -2
- package/documention/{Zondy.ThemeLayer.uniqueThemeLayer.html → zondy.themelayer.uniqueThemeLayer.html} +2 -2
- package/documention/{Zondy.view.UI.html → zondy.view.UI.html} +7 -3
- package/documention/{Zondy.Widget.html → zondy.widget.html} +3 -3
- package/package.json +7 -8
- package/documention/DrawControl.html +0 -802
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
<nav>
|
|
106
106
|
|
|
107
|
-
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryLayer.html">IGSImageryLayer</a><span style="display: none;"><p>IGS影像图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryTileLayer.html">IGSImageryTileLayer</a><span style="display: none;"><p>IGS影像瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>IGS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片服务接入类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
108
|
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
109
109
|
参考示例:
|
|
110
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
@@ -117,7 +117,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
|
|
|
117
117
|
[ES6引入方式]:<br/>
|
|
118
118
|
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
119
119
|
自定义样式说明:<br/>
|
|
120
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
121
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
122
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
123
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
@@ -167,7 +167,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
<div class="description">
|
|
170
|
-
<p
|
|
170
|
+
<p>IGS地图服务接入类</p>
|
|
171
171
|
</div>
|
|
172
172
|
|
|
173
173
|
|
|
@@ -223,7 +223,9 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
223
223
|
</td>
|
|
224
224
|
|
|
225
225
|
|
|
226
|
-
<td class="description last"><p
|
|
226
|
+
<td class="description last"><p>服务基地址,<br>
|
|
227
|
+
IGS1.0: http://{ip}:{port}/igs/rest/mrms/docs/{folder}:{serviceName}<br>
|
|
228
|
+
IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/MapServer</p></td>
|
|
227
229
|
</tr>
|
|
228
230
|
|
|
229
231
|
|
|
@@ -274,6 +276,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
274
276
|
|
|
275
277
|
<td class="default">
|
|
276
278
|
|
|
279
|
+
null
|
|
280
|
+
|
|
277
281
|
</td>
|
|
278
282
|
|
|
279
283
|
|
|
@@ -300,6 +304,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
300
304
|
|
|
301
305
|
<td class="default">
|
|
302
306
|
|
|
307
|
+
null
|
|
308
|
+
|
|
303
309
|
</td>
|
|
304
310
|
|
|
305
311
|
|
|
@@ -326,6 +332,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
326
332
|
|
|
327
333
|
<td class="default">
|
|
328
334
|
|
|
335
|
+
getGUID()
|
|
336
|
+
|
|
329
337
|
</td>
|
|
330
338
|
|
|
331
339
|
|
|
@@ -520,36 +528,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
520
528
|
|
|
521
529
|
<td class="default">
|
|
522
530
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
<td class="description last"><p>地图显示范围</p></td>
|
|
527
|
-
</tr>
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
<tr class="deep-level-1">
|
|
533
|
-
|
|
534
|
-
<td class="name"><code>igsVersion</code></td>
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
<td class="type">
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
<span class="param-type">String</span>
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
</td>
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
<td class="default">
|
|
531
|
+
null
|
|
548
532
|
|
|
549
533
|
</td>
|
|
550
534
|
|
|
551
535
|
|
|
552
|
-
<td class="description last"><p
|
|
536
|
+
<td class="description last"><p>地图显示范围</p></td>
|
|
553
537
|
</tr>
|
|
554
538
|
|
|
555
539
|
|
|
@@ -572,6 +556,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
572
556
|
|
|
573
557
|
<td class="default">
|
|
574
558
|
|
|
559
|
+
'token'
|
|
560
|
+
|
|
575
561
|
</td>
|
|
576
562
|
|
|
577
563
|
|
|
@@ -598,6 +584,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
598
584
|
|
|
599
585
|
<td class="default">
|
|
600
586
|
|
|
587
|
+
null
|
|
588
|
+
|
|
601
589
|
</td>
|
|
602
590
|
|
|
603
591
|
|
|
@@ -652,6 +640,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
652
640
|
|
|
653
641
|
<td class="default">
|
|
654
642
|
|
|
643
|
+
null
|
|
644
|
+
|
|
655
645
|
</td>
|
|
656
646
|
|
|
657
647
|
|
|
@@ -706,6 +696,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
706
696
|
|
|
707
697
|
<td class="default">
|
|
708
698
|
|
|
699
|
+
null
|
|
700
|
+
|
|
709
701
|
</td>
|
|
710
702
|
|
|
711
703
|
|
|
@@ -732,10 +724,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
732
724
|
|
|
733
725
|
<td class="default">
|
|
734
726
|
|
|
727
|
+
null
|
|
728
|
+
|
|
735
729
|
</td>
|
|
736
730
|
|
|
737
731
|
|
|
738
|
-
<td class="description last"><p
|
|
732
|
+
<td class="description last"><p>服务库对象,仅当httpMethod为FetchMethod.post时,需要传入服务库对象,
|
|
733
|
+
如果服务库对象初始化时传入的基地址带有?号,且后面有参数字符串,同时图层上又设置了extensions参数,服务库对象基地址?号后面的参数将被忽略</p></td>
|
|
739
734
|
</tr>
|
|
740
735
|
|
|
741
736
|
|
|
@@ -824,6 +819,34 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
824
819
|
|
|
825
820
|
|
|
826
821
|
|
|
822
|
+
|
|
823
|
+
<tr class="deep-level-1">
|
|
824
|
+
|
|
825
|
+
<td class="name"><code>headers</code></td>
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
<td class="type">
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
<span class="param-type">Object</span>
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
</td>
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
<td class="default">
|
|
839
|
+
|
|
840
|
+
null
|
|
841
|
+
|
|
842
|
+
</td>
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
<td class="description last"><p>请求头参数</p></td>
|
|
846
|
+
</tr>
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
827
850
|
|
|
828
851
|
|
|
829
852
|
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
<nav>
|
|
106
106
|
|
|
107
|
-
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryLayer.html">IGSImageryLayer</a><span style="display: none;"><p>IGS影像图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryTileLayer.html">IGSImageryTileLayer</a><span style="display: none;"><p>IGS影像瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>IGS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片服务接入类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
108
|
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
109
109
|
参考示例:
|
|
110
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
@@ -117,7 +117,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
|
|
|
117
117
|
[ES6引入方式]:<br/>
|
|
118
118
|
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
119
119
|
自定义样式说明:<br/>
|
|
120
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
121
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
122
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
123
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
@@ -167,7 +167,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
<div class="description">
|
|
170
|
-
<p>IGS
|
|
170
|
+
<p>IGS瓦片服务接入类</p>
|
|
171
171
|
</div>
|
|
172
172
|
|
|
173
173
|
|
|
@@ -192,6 +192,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
192
192
|
<th>类型</th>
|
|
193
193
|
|
|
194
194
|
|
|
195
|
+
<th style="min-width: 100px;">默认值</th>
|
|
196
|
+
|
|
195
197
|
|
|
196
198
|
<th class="last">描述</th>
|
|
197
199
|
</tr>
|
|
@@ -216,8 +218,14 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
216
218
|
</td>
|
|
217
219
|
|
|
218
220
|
|
|
221
|
+
<td class="default">
|
|
222
|
+
|
|
223
|
+
</td>
|
|
224
|
+
|
|
219
225
|
|
|
220
|
-
<td class="description last"><p
|
|
226
|
+
<td class="description last"><p>图层服务基地址,<br>
|
|
227
|
+
IGS1.0: http://{ip}:{port}/igs/rest/mrms/tile/{folder}:{serviceName}<br>
|
|
228
|
+
IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/TileServer</p></td>
|
|
221
229
|
</tr>
|
|
222
230
|
|
|
223
231
|
|
|
@@ -240,6 +248,10 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
240
248
|
</td>
|
|
241
249
|
|
|
242
250
|
|
|
251
|
+
<td class="default">
|
|
252
|
+
|
|
253
|
+
</td>
|
|
254
|
+
|
|
243
255
|
|
|
244
256
|
<td class="description last"><p>额外构造参数</p></td>
|
|
245
257
|
</tr>
|
|
@@ -262,6 +274,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
262
274
|
</td>
|
|
263
275
|
|
|
264
276
|
|
|
277
|
+
<td class="default">
|
|
278
|
+
|
|
279
|
+
null
|
|
280
|
+
|
|
281
|
+
</td>
|
|
282
|
+
|
|
265
283
|
|
|
266
284
|
<td class="description last"><p>瓦片大小,默认为256</p></td>
|
|
267
285
|
</tr>
|
|
@@ -284,30 +302,14 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
284
302
|
</td>
|
|
285
303
|
|
|
286
304
|
|
|
287
|
-
|
|
288
|
-
<td class="description last"><p>图层显示范围</p></td>
|
|
289
|
-
</tr>
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
<tr class="deep-level-1">
|
|
295
|
-
|
|
296
|
-
<td class="name"><code>igsVersion</code></td>
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
<td class="type">
|
|
300
|
-
|
|
305
|
+
<td class="default">
|
|
301
306
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
</td>
|
|
307
|
-
|
|
307
|
+
null
|
|
308
|
+
|
|
309
|
+
</td>
|
|
308
310
|
|
|
309
311
|
|
|
310
|
-
<td class="description last"><p
|
|
312
|
+
<td class="description last"><p>图层显示范围</p></td>
|
|
311
313
|
</tr>
|
|
312
314
|
|
|
313
315
|
|
|
@@ -328,6 +330,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
328
330
|
</td>
|
|
329
331
|
|
|
330
332
|
|
|
333
|
+
<td class="default">
|
|
334
|
+
|
|
335
|
+
token
|
|
336
|
+
|
|
337
|
+
</td>
|
|
338
|
+
|
|
331
339
|
|
|
332
340
|
<td class="description last"><p>token名</p></td>
|
|
333
341
|
</tr>
|
|
@@ -350,6 +358,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
350
358
|
</td>
|
|
351
359
|
|
|
352
360
|
|
|
361
|
+
<td class="default">
|
|
362
|
+
|
|
363
|
+
null
|
|
364
|
+
|
|
365
|
+
</td>
|
|
366
|
+
|
|
353
367
|
|
|
354
368
|
<td class="description last"><p>token值</p></td>
|
|
355
369
|
</tr>
|
|
@@ -372,6 +386,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
372
386
|
</td>
|
|
373
387
|
|
|
374
388
|
|
|
389
|
+
<td class="default">
|
|
390
|
+
|
|
391
|
+
null
|
|
392
|
+
|
|
393
|
+
</td>
|
|
394
|
+
|
|
375
395
|
|
|
376
396
|
<td class="description last"><p>图层裁剪几何对象</p></td>
|
|
377
397
|
</tr>
|
|
@@ -394,6 +414,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
394
414
|
</td>
|
|
395
415
|
|
|
396
416
|
|
|
417
|
+
<td class="default">
|
|
418
|
+
|
|
419
|
+
true
|
|
420
|
+
|
|
421
|
+
</td>
|
|
422
|
+
|
|
397
423
|
|
|
398
424
|
<td class="description last"><p>图层显隐</p></td>
|
|
399
425
|
</tr>
|
|
@@ -416,6 +442,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
416
442
|
</td>
|
|
417
443
|
|
|
418
444
|
|
|
445
|
+
<td class="default">
|
|
446
|
+
|
|
447
|
+
1
|
|
448
|
+
|
|
449
|
+
</td>
|
|
450
|
+
|
|
419
451
|
|
|
420
452
|
<td class="description last"><p>图层透明度</p></td>
|
|
421
453
|
</tr>
|
|
@@ -438,6 +470,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
438
470
|
</td>
|
|
439
471
|
|
|
440
472
|
|
|
473
|
+
<td class="default">
|
|
474
|
+
|
|
475
|
+
null
|
|
476
|
+
|
|
477
|
+
</td>
|
|
478
|
+
|
|
441
479
|
|
|
442
480
|
<td class="description last"><p>图层叠加参数</p></td>
|
|
443
481
|
</tr>
|
|
@@ -460,6 +498,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
460
498
|
</td>
|
|
461
499
|
|
|
462
500
|
|
|
501
|
+
<td class="default">
|
|
502
|
+
|
|
503
|
+
0
|
|
504
|
+
|
|
505
|
+
</td>
|
|
506
|
+
|
|
463
507
|
|
|
464
508
|
<td class="description last"><p>最小层级</p></td>
|
|
465
509
|
</tr>
|
|
@@ -482,12 +526,46 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
482
526
|
</td>
|
|
483
527
|
|
|
484
528
|
|
|
529
|
+
<td class="default">
|
|
530
|
+
|
|
531
|
+
10
|
|
532
|
+
|
|
533
|
+
</td>
|
|
534
|
+
|
|
485
535
|
|
|
486
536
|
<td class="description last"><p>最大层级</p></td>
|
|
487
537
|
</tr>
|
|
488
538
|
|
|
489
539
|
|
|
490
540
|
|
|
541
|
+
|
|
542
|
+
<tr class="deep-level-1">
|
|
543
|
+
|
|
544
|
+
<td class="name"><code>headers</code></td>
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
<td class="type">
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
<span class="param-type">Object</span>
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
</td>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<td class="default">
|
|
558
|
+
|
|
559
|
+
null
|
|
560
|
+
|
|
561
|
+
</td>
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
<td class="description last"><p>请求头参数</p></td>
|
|
565
|
+
</tr>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
491
569
|
|
|
492
570
|
|
|
493
571
|
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
<nav>
|
|
106
106
|
|
|
107
|
-
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryLayer.html">IGSImageryLayer</a><span style="display: none;"><p>IGS影像图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryTileLayer.html">IGSImageryTileLayer</a><span style="display: none;"><p>IGS影像瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>IGS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片服务接入类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
108
|
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
109
109
|
参考示例:
|
|
110
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
@@ -117,7 +117,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
|
|
|
117
117
|
[ES6引入方式]:<br/>
|
|
118
118
|
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
119
119
|
自定义样式说明:<br/>
|
|
120
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
121
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
122
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
123
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
@@ -166,6 +166,10 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
|
|
169
|
+
<div class="description">
|
|
170
|
+
<p>MapV的核心渲染图层,这里是直接集成的baiduMapLayer,原因在于mapv的对外导出exports的就是baiduMapLayer</p>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
169
173
|
|
|
170
174
|
|
|
171
175
|
|