@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>WMS
|
|
170
|
+
<p>WMS服务接入类</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/ogc/doc/{folder}:{serviceName}/WMSServer<br>
|
|
228
|
+
IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/WMSServer</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
|
|
|
@@ -326,6 +332,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
326
332
|
|
|
327
333
|
<td class="default">
|
|
328
334
|
|
|
335
|
+
'1.1.1'
|
|
336
|
+
|
|
329
337
|
</td>
|
|
330
338
|
|
|
331
339
|
|
|
@@ -492,6 +500,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
492
500
|
|
|
493
501
|
<td class="default">
|
|
494
502
|
|
|
503
|
+
null
|
|
504
|
+
|
|
495
505
|
</td>
|
|
496
506
|
|
|
497
507
|
|
|
@@ -518,6 +528,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
518
528
|
|
|
519
529
|
<td class="default">
|
|
520
530
|
|
|
531
|
+
null
|
|
532
|
+
|
|
521
533
|
</td>
|
|
522
534
|
|
|
523
535
|
|
|
@@ -572,6 +584,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
572
584
|
|
|
573
585
|
<td class="default">
|
|
574
586
|
|
|
587
|
+
'token'
|
|
588
|
+
|
|
575
589
|
</td>
|
|
576
590
|
|
|
577
591
|
|
|
@@ -598,6 +612,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
598
612
|
|
|
599
613
|
<td class="default">
|
|
600
614
|
|
|
615
|
+
null
|
|
616
|
+
|
|
601
617
|
</td>
|
|
602
618
|
|
|
603
619
|
|
|
@@ -624,6 +640,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
624
640
|
|
|
625
641
|
<td class="default">
|
|
626
642
|
|
|
643
|
+
null
|
|
644
|
+
|
|
627
645
|
</td>
|
|
628
646
|
|
|
629
647
|
|
|
@@ -632,6 +650,34 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
632
650
|
|
|
633
651
|
|
|
634
652
|
|
|
653
|
+
|
|
654
|
+
<tr class="deep-level-1">
|
|
655
|
+
|
|
656
|
+
<td class="name"><code>headers</code></td>
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
<td class="type">
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
<span class="param-type">Object</span>
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
</td>
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
<td class="default">
|
|
670
|
+
|
|
671
|
+
null
|
|
672
|
+
|
|
673
|
+
</td>
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
<td class="description last"><p>请求头参数</p></td>
|
|
677
|
+
</tr>
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
635
681
|
|
|
636
682
|
|
|
637
683
|
|
|
@@ -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>WMTS
|
|
170
|
+
<p>WMTS服务接入类</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/ogc/{folder}:{serviceName}/WMTSServer<br>
|
|
228
|
+
IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/WMTSServer</p></td>
|
|
225
229
|
</tr>
|
|
226
230
|
|
|
227
231
|
|
|
@@ -313,7 +317,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
313
317
|
|
|
314
318
|
<tr class="deep-level-1">
|
|
315
319
|
|
|
316
|
-
<td class="name"><code>
|
|
320
|
+
<td class="name"><code>tileMatrixSet</code></td>
|
|
317
321
|
|
|
318
322
|
|
|
319
323
|
<td class="type">
|
|
@@ -328,6 +332,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
328
332
|
|
|
329
333
|
<td class="default">
|
|
330
334
|
|
|
335
|
+
null
|
|
336
|
+
|
|
331
337
|
</td>
|
|
332
338
|
|
|
333
339
|
|
|
@@ -354,6 +360,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
354
360
|
|
|
355
361
|
<td class="default">
|
|
356
362
|
|
|
363
|
+
null
|
|
364
|
+
|
|
357
365
|
</td>
|
|
358
366
|
|
|
359
367
|
|
|
@@ -380,6 +388,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
380
388
|
|
|
381
389
|
<td class="default">
|
|
382
390
|
|
|
391
|
+
null
|
|
392
|
+
|
|
383
393
|
</td>
|
|
384
394
|
|
|
385
395
|
|
|
@@ -406,7 +416,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
406
416
|
|
|
407
417
|
<td class="default">
|
|
408
418
|
|
|
409
|
-
1.0.0
|
|
419
|
+
'1.0.0'
|
|
410
420
|
|
|
411
421
|
</td>
|
|
412
422
|
|
|
@@ -462,6 +472,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
462
472
|
|
|
463
473
|
<td class="default">
|
|
464
474
|
|
|
475
|
+
null
|
|
476
|
+
|
|
465
477
|
</td>
|
|
466
478
|
|
|
467
479
|
|
|
@@ -488,6 +500,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
488
500
|
|
|
489
501
|
<td class="default">
|
|
490
502
|
|
|
503
|
+
null
|
|
504
|
+
|
|
491
505
|
</td>
|
|
492
506
|
|
|
493
507
|
|
|
@@ -514,6 +528,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
514
528
|
|
|
515
529
|
<td class="default">
|
|
516
530
|
|
|
531
|
+
null
|
|
532
|
+
|
|
517
533
|
</td>
|
|
518
534
|
|
|
519
535
|
|
|
@@ -525,7 +541,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
525
541
|
|
|
526
542
|
<tr class="deep-level-1">
|
|
527
543
|
|
|
528
|
-
<td class="name"><code>
|
|
544
|
+
<td class="name"><code>minZoom</code></td>
|
|
529
545
|
|
|
530
546
|
|
|
531
547
|
<td class="type">
|
|
@@ -545,7 +561,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
545
561
|
</td>
|
|
546
562
|
|
|
547
563
|
|
|
548
|
-
<td class="description last"><p
|
|
564
|
+
<td class="description last"><p>最小显示级数</p></td>
|
|
549
565
|
</tr>
|
|
550
566
|
|
|
551
567
|
|
|
@@ -553,7 +569,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
553
569
|
|
|
554
570
|
<tr class="deep-level-1">
|
|
555
571
|
|
|
556
|
-
<td class="name"><code>
|
|
572
|
+
<td class="name"><code>maxZoom</code></td>
|
|
557
573
|
|
|
558
574
|
|
|
559
575
|
<td class="type">
|
|
@@ -568,12 +584,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
568
584
|
|
|
569
585
|
<td class="default">
|
|
570
586
|
|
|
571
|
-
|
|
587
|
+
18
|
|
572
588
|
|
|
573
589
|
</td>
|
|
574
590
|
|
|
575
591
|
|
|
576
|
-
<td class="description last"><p
|
|
592
|
+
<td class="description last"><p>最大显示级数</p></td>
|
|
577
593
|
</tr>
|
|
578
594
|
|
|
579
595
|
|
|
@@ -581,13 +597,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
581
597
|
|
|
582
598
|
<tr class="deep-level-1">
|
|
583
599
|
|
|
584
|
-
<td class="name"><code>
|
|
600
|
+
<td class="name"><code>tokenKey</code></td>
|
|
585
601
|
|
|
586
602
|
|
|
587
603
|
<td class="type">
|
|
588
604
|
|
|
589
605
|
|
|
590
|
-
<span class="param-type">
|
|
606
|
+
<span class="param-type">String</span>
|
|
591
607
|
|
|
592
608
|
|
|
593
609
|
|
|
@@ -596,12 +612,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
596
612
|
|
|
597
613
|
<td class="default">
|
|
598
614
|
|
|
599
|
-
|
|
615
|
+
'token'
|
|
600
616
|
|
|
601
617
|
</td>
|
|
602
618
|
|
|
603
619
|
|
|
604
|
-
<td class="description last"><p
|
|
620
|
+
<td class="description last"><p>token名</p></td>
|
|
605
621
|
</tr>
|
|
606
622
|
|
|
607
623
|
|
|
@@ -609,7 +625,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
609
625
|
|
|
610
626
|
<tr class="deep-level-1">
|
|
611
627
|
|
|
612
|
-
<td class="name"><code>
|
|
628
|
+
<td class="name"><code>tokenValue</code></td>
|
|
613
629
|
|
|
614
630
|
|
|
615
631
|
<td class="type">
|
|
@@ -624,10 +640,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
624
640
|
|
|
625
641
|
<td class="default">
|
|
626
642
|
|
|
643
|
+
null
|
|
644
|
+
|
|
627
645
|
</td>
|
|
628
646
|
|
|
629
647
|
|
|
630
|
-
<td class="description last"><p>token
|
|
648
|
+
<td class="description last"><p>token值</p></td>
|
|
631
649
|
</tr>
|
|
632
650
|
|
|
633
651
|
|
|
@@ -635,13 +653,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
635
653
|
|
|
636
654
|
<tr class="deep-level-1">
|
|
637
655
|
|
|
638
|
-
<td class="name"><code>
|
|
656
|
+
<td class="name"><code>headers</code></td>
|
|
639
657
|
|
|
640
658
|
|
|
641
659
|
<td class="type">
|
|
642
660
|
|
|
643
661
|
|
|
644
|
-
<span class="param-type">
|
|
662
|
+
<span class="param-type">Object</span>
|
|
645
663
|
|
|
646
664
|
|
|
647
665
|
|
|
@@ -650,10 +668,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
650
668
|
|
|
651
669
|
<td class="default">
|
|
652
670
|
|
|
671
|
+
null
|
|
672
|
+
|
|
653
673
|
</td>
|
|
654
674
|
|
|
655
675
|
|
|
656
|
-
<td class="description last"><p
|
|
676
|
+
<td class="description last"><p>请求头参数</p></td>
|
|
657
677
|
</tr>
|
|
658
678
|
|
|
659
679
|
|
|
@@ -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>网络瓦片服务接入类</p>
|
|
169
171
|
</div>
|
|
170
172
|
|
|
171
173
|
|
|
@@ -221,7 +223,7 @@ 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>服务基地址,格式为: http://{任意字符串}{x}{任意字符串}{y}{任意字符串}{z}</p></td>
|
|
225
227
|
</tr>
|
|
226
228
|
|
|
227
229
|
|
|
@@ -356,6 +358,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
356
358
|
|
|
357
359
|
<td class="default">
|
|
358
360
|
|
|
361
|
+
null
|
|
362
|
+
|
|
359
363
|
</td>
|
|
360
364
|
|
|
361
365
|
|
|
@@ -382,6 +386,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
382
386
|
|
|
383
387
|
<td class="default">
|
|
384
388
|
|
|
389
|
+
null
|
|
390
|
+
|
|
385
391
|
</td>
|
|
386
392
|
|
|
387
393
|
|
|
@@ -490,6 +496,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
490
496
|
|
|
491
497
|
<td class="default">
|
|
492
498
|
|
|
499
|
+
'token'
|
|
500
|
+
|
|
493
501
|
</td>
|
|
494
502
|
|
|
495
503
|
|
|
@@ -516,6 +524,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
516
524
|
|
|
517
525
|
<td class="default">
|
|
518
526
|
|
|
527
|
+
null
|
|
528
|
+
|
|
519
529
|
</td>
|
|
520
530
|
|
|
521
531
|
|
|
@@ -570,6 +580,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
570
580
|
|
|
571
581
|
<td class="default">
|
|
572
582
|
|
|
583
|
+
null
|
|
584
|
+
|
|
573
585
|
</td>
|
|
574
586
|
|
|
575
587
|
|
|
@@ -578,6 +590,34 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
578
590
|
|
|
579
591
|
|
|
580
592
|
|
|
593
|
+
|
|
594
|
+
<tr class="deep-level-1">
|
|
595
|
+
|
|
596
|
+
<td class="name"><code>headers</code></td>
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
<td class="type">
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
<span class="param-type">Object</span>
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
</td>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
<td class="default">
|
|
610
|
+
|
|
611
|
+
null
|
|
612
|
+
|
|
613
|
+
</td>
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
<td class="description last"><p>请求头参数</p></td>
|
|
617
|
+
</tr>
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
581
621
|
|
|
582
622
|
|
|
583
623
|
|