@mapgis/webclient-leaflet-plugin 17.4.0 → 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 +104 -43
- package/dist/es5/webclient-common.min.js +63 -5
- package/dist/es5/webclient-leaflet-plugin.min.js +6 -6
- package/dist/webclient-leaflet-plugin-es6.min.js +6 -11
- package/documention/ArcGISMapImageLayer.html +53 -5
- package/documention/ArcGISTileLayer.html +45 -5
- package/documention/EchartsLayer.html +15 -5
- package/documention/FeatureLayer.html +5 -3
- package/documention/FeatureLayerUtil.html +6 -4
- package/documention/IGSImageryLayer.html +851 -0
- package/documention/IGSImageryTileLayer.html +741 -0
- package/documention/IGSMapImageLayer.html +57 -32
- package/documention/IGSTileLayer.html +106 -26
- package/documention/L.zondy.MapvBaseLayer.html +9 -3
- package/documention/MapLayer.html +33 -3
- package/documention/MapVLayer.html +15 -5
- package/documention/MapView.html +3860 -56
- package/documention/MapViewLeaflet.html +1413 -369
- package/documention/Popup.html +6 -4
- package/documention/Screenshot.html +5 -3
- package/documention/SketchEditor.html +3211 -0
- package/documention/SketchEditorLeaflet.html +477 -241
- package/documention/TileLayer.html +135 -3
- package/documention/TileLayerWMS.html +5 -3
- package/documention/VectorTileLayer.html +49 -5
- package/documention/WMSLayerView.html +5 -3
- package/documention/WebMapServiceLayer.html +51 -5
- package/documention/WebMapTileServiceLayer.html +41 -21
- package/documention/WebTileLayer.html +45 -5
- package/documention/global.html +511 -1869
- package/documention/index.html +5 -3
- package/documention/initializeOptions.html +384 -0
- package/documention/{Zondy.ThemeLayer.GeoFeatureThemeLayer.html → zondy.themelayer.GeoFeatureThemeLayer.html} +9 -3
- package/documention/{Zondy.ThemeLayer.GraphThemeLayer.html → zondy.themelayer.GraphThemeLayer.html} +5 -3
- package/documention/{Zondy.ThemeLayer.RandomThemeLayer.html → zondy.themelayer.RandomThemeLayer.html} +5 -3
- package/documention/{Zondy.ThemeLayer.ThemeLayer.html → zondy.themelayer.ThemeLayer.html} +9 -3
- package/documention/{Zondy.ThemeLayer.ThemeStyle.html → zondy.themelayer.ThemeStyle.html} +9 -3
- package/documention/{Zondy.ThemeLayer.rangeThemeLayer.html → zondy.themelayer.rangeThemeLayer.html} +5 -3
- package/documention/{Zondy.ThemeLayer.rankSymbolThemeLayer.html → zondy.themelayer.rankSymbolThemeLayer.html} +5 -3
- package/documention/{Zondy.ThemeLayer.simpleThemeLayer.html → zondy.themelayer.simpleThemeLayer.html} +5 -3
- package/documention/{Zondy.ThemeLayer.uniqueThemeLayer.html → zondy.themelayer.uniqueThemeLayer.html} +5 -3
- package/documention/{Zondy.view.UI.html → zondy.view.UI.html} +10 -4
- package/documention/{Zondy.Widget.html → zondy.widget.html} +6 -4
- package/package.json +7 -8
- package/documention/DrawControl.html +0 -802
|
@@ -104,7 +104,8 @@
|
|
|
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
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
108
109
|
参考示例:
|
|
109
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
110
111
|
<br>[ES5引入方式]:<br/>
|
|
@@ -116,11 +117,12 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
|
|
|
116
117
|
[ES6引入方式]:<br/>
|
|
117
118
|
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
118
119
|
自定义样式说明:<br/>
|
|
119
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
120
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
122
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</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="
|
|
124
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</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="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
125
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
|
|
124
126
|
<br>[ES5引入方式]:<br/>
|
|
125
127
|
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
|
|
126
128
|
[ES6引入方式]:<br/>
|
|
@@ -165,7 +167,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
165
167
|
|
|
166
168
|
|
|
167
169
|
<div class="description">
|
|
168
|
-
<p
|
|
170
|
+
<p>IGS地图服务接入类</p>
|
|
169
171
|
</div>
|
|
170
172
|
|
|
171
173
|
|
|
@@ -221,7 +223,9 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
221
223
|
</td>
|
|
222
224
|
|
|
223
225
|
|
|
224
|
-
<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>
|
|
225
229
|
</tr>
|
|
226
230
|
|
|
227
231
|
|
|
@@ -272,6 +276,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
272
276
|
|
|
273
277
|
<td class="default">
|
|
274
278
|
|
|
279
|
+
null
|
|
280
|
+
|
|
275
281
|
</td>
|
|
276
282
|
|
|
277
283
|
|
|
@@ -298,6 +304,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
298
304
|
|
|
299
305
|
<td class="default">
|
|
300
306
|
|
|
307
|
+
null
|
|
308
|
+
|
|
301
309
|
</td>
|
|
302
310
|
|
|
303
311
|
|
|
@@ -324,6 +332,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
324
332
|
|
|
325
333
|
<td class="default">
|
|
326
334
|
|
|
335
|
+
getGUID()
|
|
336
|
+
|
|
327
337
|
</td>
|
|
328
338
|
|
|
329
339
|
|
|
@@ -518,36 +528,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
518
528
|
|
|
519
529
|
<td class="default">
|
|
520
530
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
<td class="description last"><p>地图显示范围</p></td>
|
|
525
|
-
</tr>
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
<tr class="deep-level-1">
|
|
531
|
-
|
|
532
|
-
<td class="name"><code>igsVersion</code></td>
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
<td class="type">
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
<span class="param-type">String</span>
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
</td>
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
<td class="default">
|
|
531
|
+
null
|
|
546
532
|
|
|
547
533
|
</td>
|
|
548
534
|
|
|
549
535
|
|
|
550
|
-
<td class="description last"><p
|
|
536
|
+
<td class="description last"><p>地图显示范围</p></td>
|
|
551
537
|
</tr>
|
|
552
538
|
|
|
553
539
|
|
|
@@ -570,6 +556,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
570
556
|
|
|
571
557
|
<td class="default">
|
|
572
558
|
|
|
559
|
+
'token'
|
|
560
|
+
|
|
573
561
|
</td>
|
|
574
562
|
|
|
575
563
|
|
|
@@ -596,6 +584,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
596
584
|
|
|
597
585
|
<td class="default">
|
|
598
586
|
|
|
587
|
+
null
|
|
588
|
+
|
|
599
589
|
</td>
|
|
600
590
|
|
|
601
591
|
|
|
@@ -650,6 +640,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
650
640
|
|
|
651
641
|
<td class="default">
|
|
652
642
|
|
|
643
|
+
null
|
|
644
|
+
|
|
653
645
|
</td>
|
|
654
646
|
|
|
655
647
|
|
|
@@ -704,6 +696,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
704
696
|
|
|
705
697
|
<td class="default">
|
|
706
698
|
|
|
699
|
+
null
|
|
700
|
+
|
|
707
701
|
</td>
|
|
708
702
|
|
|
709
703
|
|
|
@@ -730,10 +724,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
730
724
|
|
|
731
725
|
<td class="default">
|
|
732
726
|
|
|
727
|
+
null
|
|
728
|
+
|
|
733
729
|
</td>
|
|
734
730
|
|
|
735
731
|
|
|
736
|
-
<td class="description last"><p
|
|
732
|
+
<td class="description last"><p>服务库对象,仅当httpMethod为FetchMethod.post时,需要传入服务库对象,
|
|
733
|
+
如果服务库对象初始化时传入的基地址带有?号,且后面有参数字符串,同时图层上又设置了extensions参数,服务库对象基地址?号后面的参数将被忽略</p></td>
|
|
737
734
|
</tr>
|
|
738
735
|
|
|
739
736
|
|
|
@@ -822,6 +819,34 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
822
819
|
|
|
823
820
|
|
|
824
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
|
+
|
|
825
850
|
|
|
826
851
|
|
|
827
852
|
|
|
@@ -104,7 +104,8 @@
|
|
|
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
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
108
109
|
参考示例:
|
|
109
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
110
111
|
<br>[ES5引入方式]:<br/>
|
|
@@ -116,11 +117,12 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
|
|
|
116
117
|
[ES6引入方式]:<br/>
|
|
117
118
|
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
118
119
|
自定义样式说明:<br/>
|
|
119
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
120
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
122
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</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="
|
|
124
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</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="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
125
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
|
|
124
126
|
<br>[ES5引入方式]:<br/>
|
|
125
127
|
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
|
|
126
128
|
[ES6引入方式]:<br/>
|
|
@@ -165,7 +167,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
165
167
|
|
|
166
168
|
|
|
167
169
|
<div class="description">
|
|
168
|
-
<p>IGS
|
|
170
|
+
<p>IGS瓦片服务接入类</p>
|
|
169
171
|
</div>
|
|
170
172
|
|
|
171
173
|
|
|
@@ -190,6 +192,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
190
192
|
<th>类型</th>
|
|
191
193
|
|
|
192
194
|
|
|
195
|
+
<th style="min-width: 100px;">默认值</th>
|
|
196
|
+
|
|
193
197
|
|
|
194
198
|
<th class="last">描述</th>
|
|
195
199
|
</tr>
|
|
@@ -214,8 +218,14 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
214
218
|
</td>
|
|
215
219
|
|
|
216
220
|
|
|
221
|
+
<td class="default">
|
|
222
|
+
|
|
223
|
+
</td>
|
|
224
|
+
|
|
217
225
|
|
|
218
|
-
<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>
|
|
219
229
|
</tr>
|
|
220
230
|
|
|
221
231
|
|
|
@@ -238,6 +248,10 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
238
248
|
</td>
|
|
239
249
|
|
|
240
250
|
|
|
251
|
+
<td class="default">
|
|
252
|
+
|
|
253
|
+
</td>
|
|
254
|
+
|
|
241
255
|
|
|
242
256
|
<td class="description last"><p>额外构造参数</p></td>
|
|
243
257
|
</tr>
|
|
@@ -260,6 +274,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
260
274
|
</td>
|
|
261
275
|
|
|
262
276
|
|
|
277
|
+
<td class="default">
|
|
278
|
+
|
|
279
|
+
null
|
|
280
|
+
|
|
281
|
+
</td>
|
|
282
|
+
|
|
263
283
|
|
|
264
284
|
<td class="description last"><p>瓦片大小,默认为256</p></td>
|
|
265
285
|
</tr>
|
|
@@ -282,30 +302,14 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
282
302
|
</td>
|
|
283
303
|
|
|
284
304
|
|
|
285
|
-
|
|
286
|
-
<td class="description last"><p>图层显示范围</p></td>
|
|
287
|
-
</tr>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
<tr class="deep-level-1">
|
|
293
|
-
|
|
294
|
-
<td class="name"><code>igsVersion</code></td>
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
<td class="type">
|
|
298
|
-
|
|
305
|
+
<td class="default">
|
|
299
306
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
</td>
|
|
305
|
-
|
|
307
|
+
null
|
|
308
|
+
|
|
309
|
+
</td>
|
|
306
310
|
|
|
307
311
|
|
|
308
|
-
<td class="description last"><p
|
|
312
|
+
<td class="description last"><p>图层显示范围</p></td>
|
|
309
313
|
</tr>
|
|
310
314
|
|
|
311
315
|
|
|
@@ -326,6 +330,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
326
330
|
</td>
|
|
327
331
|
|
|
328
332
|
|
|
333
|
+
<td class="default">
|
|
334
|
+
|
|
335
|
+
token
|
|
336
|
+
|
|
337
|
+
</td>
|
|
338
|
+
|
|
329
339
|
|
|
330
340
|
<td class="description last"><p>token名</p></td>
|
|
331
341
|
</tr>
|
|
@@ -348,6 +358,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
348
358
|
</td>
|
|
349
359
|
|
|
350
360
|
|
|
361
|
+
<td class="default">
|
|
362
|
+
|
|
363
|
+
null
|
|
364
|
+
|
|
365
|
+
</td>
|
|
366
|
+
|
|
351
367
|
|
|
352
368
|
<td class="description last"><p>token值</p></td>
|
|
353
369
|
</tr>
|
|
@@ -370,6 +386,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
370
386
|
</td>
|
|
371
387
|
|
|
372
388
|
|
|
389
|
+
<td class="default">
|
|
390
|
+
|
|
391
|
+
null
|
|
392
|
+
|
|
393
|
+
</td>
|
|
394
|
+
|
|
373
395
|
|
|
374
396
|
<td class="description last"><p>图层裁剪几何对象</p></td>
|
|
375
397
|
</tr>
|
|
@@ -392,6 +414,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
392
414
|
</td>
|
|
393
415
|
|
|
394
416
|
|
|
417
|
+
<td class="default">
|
|
418
|
+
|
|
419
|
+
true
|
|
420
|
+
|
|
421
|
+
</td>
|
|
422
|
+
|
|
395
423
|
|
|
396
424
|
<td class="description last"><p>图层显隐</p></td>
|
|
397
425
|
</tr>
|
|
@@ -414,6 +442,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
414
442
|
</td>
|
|
415
443
|
|
|
416
444
|
|
|
445
|
+
<td class="default">
|
|
446
|
+
|
|
447
|
+
1
|
|
448
|
+
|
|
449
|
+
</td>
|
|
450
|
+
|
|
417
451
|
|
|
418
452
|
<td class="description last"><p>图层透明度</p></td>
|
|
419
453
|
</tr>
|
|
@@ -436,6 +470,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
436
470
|
</td>
|
|
437
471
|
|
|
438
472
|
|
|
473
|
+
<td class="default">
|
|
474
|
+
|
|
475
|
+
null
|
|
476
|
+
|
|
477
|
+
</td>
|
|
478
|
+
|
|
439
479
|
|
|
440
480
|
<td class="description last"><p>图层叠加参数</p></td>
|
|
441
481
|
</tr>
|
|
@@ -458,6 +498,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
458
498
|
</td>
|
|
459
499
|
|
|
460
500
|
|
|
501
|
+
<td class="default">
|
|
502
|
+
|
|
503
|
+
0
|
|
504
|
+
|
|
505
|
+
</td>
|
|
506
|
+
|
|
461
507
|
|
|
462
508
|
<td class="description last"><p>最小层级</p></td>
|
|
463
509
|
</tr>
|
|
@@ -480,12 +526,46 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
480
526
|
</td>
|
|
481
527
|
|
|
482
528
|
|
|
529
|
+
<td class="default">
|
|
530
|
+
|
|
531
|
+
10
|
|
532
|
+
|
|
533
|
+
</td>
|
|
534
|
+
|
|
483
535
|
|
|
484
536
|
<td class="description last"><p>最大层级</p></td>
|
|
485
537
|
</tr>
|
|
486
538
|
|
|
487
539
|
|
|
488
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
|
+
|
|
489
569
|
|
|
490
570
|
|
|
491
571
|
|
|
@@ -104,7 +104,8 @@
|
|
|
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
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
108
109
|
参考示例:
|
|
109
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
110
111
|
<br>[ES5引入方式]:<br/>
|
|
@@ -116,11 +117,12 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
|
|
|
116
117
|
[ES6引入方式]:<br/>
|
|
117
118
|
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
118
119
|
自定义样式说明:<br/>
|
|
119
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
120
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
122
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</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="
|
|
124
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</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="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
125
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
|
|
124
126
|
<br>[ES5引入方式]:<br/>
|
|
125
127
|
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
|
|
126
128
|
[ES6引入方式]:<br/>
|
|
@@ -164,6 +166,10 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
164
166
|
|
|
165
167
|
|
|
166
168
|
|
|
169
|
+
<div class="description">
|
|
170
|
+
<p>MapV的核心渲染图层,这里是直接集成的baiduMapLayer,原因在于mapv的对外导出exports的就是baiduMapLayer</p>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
167
173
|
|
|
168
174
|
|
|
169
175
|
|