@mapgis/webclient-leaflet-plugin 17.2.8 → 17.4.1

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.
Files changed (46) hide show
  1. package/README.md +24 -2
  2. package/dist/es5/webclient-common.min.js +37 -5
  3. package/dist/es5/webclient-leaflet-plugin.min.js +1 -1
  4. package/dist/webclient-leaflet-plugin-es6.min.js +4 -4
  5. package/documention/ArcGISMapImageLayer.html +197 -122
  6. package/documention/ArcGISTileLayer.html +187 -62
  7. package/documention/EchartsLayer.html +189 -21
  8. package/documention/FeatureLayer.html +178 -8
  9. package/documention/FeatureLayerUtil.html +178 -34
  10. package/documention/IGSMapImageLayer.html +201 -146
  11. package/documention/IGSTileLayer.html +191 -86
  12. package/documention/L.zondy.MapvBaseLayer.html +189 -96
  13. package/documention/MapLayer.html +183 -38
  14. package/documention/MapVLayer.html +191 -33
  15. package/documention/MapView.html +6189 -0
  16. package/documention/MapViewLeaflet.html +366 -1410
  17. package/documention/Popup.html +200 -284
  18. package/documention/Screenshot.html +183 -134
  19. package/documention/SketchEditor.html +3211 -0
  20. package/documention/SketchEditorLeaflet.html +241 -477
  21. package/documention/TileLayer.html +182 -32
  22. package/documention/TileLayerWMS.html +180 -20
  23. package/documention/VectorTileLayer.html +188 -68
  24. package/documention/WMSLayerView.html +190 -121
  25. package/documention/WebMapServiceLayer.html +194 -104
  26. package/documention/WebMapTileServiceLayer.html +195 -110
  27. package/documention/WebTileLayer.html +192 -92
  28. package/documention/Zondy.ThemeLayer.GeoFeatureThemeLayer.html +290 -658
  29. package/documention/Zondy.ThemeLayer.GraphThemeLayer.html +324 -870
  30. package/documention/Zondy.ThemeLayer.RandomThemeLayer.html +305 -736
  31. package/documention/Zondy.ThemeLayer.ThemeLayer.html +247 -483
  32. package/documention/Zondy.ThemeLayer.ThemeStyle.html +234 -866
  33. package/documention/Zondy.ThemeLayer.rangeThemeLayer.html +304 -792
  34. package/documention/Zondy.ThemeLayer.rankSymbolThemeLayer.html +341 -941
  35. package/documention/Zondy.ThemeLayer.simpleThemeLayer.html +302 -720
  36. package/documention/Zondy.ThemeLayer.uniqueThemeLayer.html +299 -759
  37. package/documention/Zondy.Widget.html +185 -48
  38. package/documention/Zondy.view.UI.html +182 -31
  39. package/documention/global.html +11448 -131
  40. package/documention/index.html +15 -16
  41. package/documention/scripts/search.js +1 -26
  42. package/documention/styles/app.min.css +1 -1
  43. package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +152 -7
  44. package/documention/tutorial-2.1M3D/350/246/201/347/264/240/351/200/211/345/217/226.html +153 -8
  45. package/documention/tutorial-2.2M3D/351/222/273/345/255/224/345/211/226/345/210/207.html +153 -8
  46. package/package.json +7 -8
@@ -1,10 +1,142 @@
1
- <header id="page-title" class="page-title">
2
-
3
- <span class="page-title-main">类名</span>
4
- <span class="page-title-sub">WebMapServiceLayer</span>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <title> WebMapServiceLayer</title>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="styles/app.min.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/iframe.css">
14
+ <link type="text/css" rel="stylesheet" href="">
15
+
16
+
17
+ </head>
18
+
19
+
20
+
21
+ <body class="layout small-header">
22
+ <div id="stickyNavbarOverlay"></div>
5
23
 
6
- </header>
7
24
 
25
+ <div class="top-nav">
26
+ <div class="inner">
27
+ <a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
28
+ <span aria-hidden="true"></span>
29
+ <span aria-hidden="true"></span>
30
+ <span aria-hidden="true"></span>
31
+ </a>
32
+ <div class="logo">
33
+
34
+ <h1> MapGIS Client for JavaScript API</h1>
35
+
36
+
37
+ </div>
38
+ <div class="menu">
39
+
40
+ <div class="navigation">
41
+
42
+
43
+ <a
44
+ class="link user-link "
45
+ href="/static/modules/common/api/common-mapgis/index.html"
46
+ >
47
+ Common
48
+ </a>
49
+
50
+ <a
51
+ class="link user-link "
52
+ href="/static/modules/cesium/api/cesium-mapgis/index.html"
53
+ >
54
+ Cesium-Plugin
55
+ </a>
56
+
57
+ <a
58
+ class="link user-link "
59
+ href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
60
+ >
61
+ MapboxGL-Plugin
62
+ </a>
63
+
64
+ <a
65
+ class="link user-link "
66
+ href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
67
+ >
68
+ Leaflet-Plugin
69
+ </a>
70
+
71
+ <a
72
+ class="link user-link "
73
+ href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
74
+ >
75
+ OpenLayers-Plugin
76
+ </a>
77
+
78
+ <a
79
+ class="link user-link "
80
+ href="/static/modules/video/api/video-mapgis/index.html"
81
+ >
82
+ Video-Plugin
83
+ </a>
84
+
85
+
86
+
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </div>
91
+
92
+ <div id="main">
93
+ <div
94
+ class="sidebar "
95
+ id="sidebarNav"
96
+ >
97
+ <div>
98
+ <span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
99
+ </div>
100
+
101
+ <div class="search-wrapper">
102
+ <input id="search" type="text" placeholder="搜索文档..." class="input">
103
+ </div>
104
+
105
+ <nav>
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地图图片图层(Leaflet)</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瓦片图层(Leaflet)</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="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>地图图片图层(Leaflet)</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瓦片图层(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>矢量瓦片图层(Leaflet)</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图层(Leaflet)</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图层(Leaflet)</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>网络瓦片图层(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="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/>
109
+ 参考示例:
110
+ <a href='#MapView'>[初始化二维场景视图]</a>
111
+ <br>[ES5引入方式]:<br/>
112
+ zondy.leaflet.MapView() <br/>
113
+ [ES6引入方式]:<br/>
114
+ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>二维场景信息弹窗(leaflet引擎)
115
+ 参考示例:
116
+ <a href='#MapView'>[初始化二维场景视图]</a>
117
+ [ES6引入方式]:<br/>
118
+ import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
119
+ 自定义样式说明:<br/>
120
+ zondy-popup__content 弹窗容器样式<br/>
121
+ zondy-popup__tip 弹窗对话框箭头样式<br/>
122
+ zondy-popup__header 弹窗头部样式<br/>
123
+ zondy-popup__content 弹窗主体样式<br/>
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/>
126
+ <br>[ES5引入方式]:<br/>
127
+ const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
128
+ [ES6引入方式]:<br/>
129
+ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/></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="zondy.themelayer.GraphThemeLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="zondy.themelayer.GraphThemeLayer.html">GraphThemeLayer</a><span style="display: none;"><p>统计专题图通过为每个要素绘制统计图表来反映其对应的专题值的大小。它可同时表示多个字段属性信息,在区域本身与各区域之间形成横向和纵向的对比。<br>统计专题图多用于具有相关数量特征的地图上,比如表示不同地区多年的粮食产量、GDP、人口等,不同时段客运量、地铁流量等。目前提供的统计图类型有:柱状图(Bar),折线图(Line),饼图(Pie),三维柱状图(Bar3D),点状图(Point),环状图(Ring)。</p></span></li></ul></div>
130
+
131
+ </nav>
132
+ </div>
133
+ <div class="core" id="main-content-wrapper">
134
+ <div class="content">
135
+ <header id="page-title" class="page-title">
136
+ <span class="page-title-main">类名</span>
137
+ <span class="page-title-sub">WebMapServiceLayer</span>
138
+ </header>
139
+
8
140
 
9
141
 
10
142
 
@@ -25,7 +157,7 @@
25
157
  <h4 class="name" id="WebMapServiceLayer">
26
158
  <a class="href-link" href="#WebMapServiceLayer">#</a>
27
159
 
28
- <span class="code-name" id="WebMapServiceLayer" style="font-size:30px">
160
+ <span class="code-name" style="font-size:30px">
29
161
 
30
162
  new WebMapServiceLayer<span class="signature">(url, options)</span>
31
163
 
@@ -47,7 +179,7 @@
47
179
 
48
180
 
49
181
 
50
- <h4>参数</h4>
182
+ <h4>参数:</h4>
51
183
 
52
184
  <div class="table-container">
53
185
  <table class="params table">
@@ -79,12 +211,7 @@
79
211
  <td class="type">
80
212
 
81
213
 
82
- <span class="param-type">
83
-
84
- String
85
-
86
- </span>
87
-
214
+ <span class="param-type">String</span>
88
215
 
89
216
 
90
217
 
@@ -112,12 +239,7 @@
112
239
  <td class="type">
113
240
 
114
241
 
115
- <span class="param-type">
116
-
117
- Object
118
-
119
- </span>
120
-
242
+ <span class="param-type">Object</span>
121
243
 
122
244
 
123
245
 
@@ -143,12 +265,7 @@
143
265
  <td class="type">
144
266
 
145
267
 
146
- <span class="param-type">
147
-
148
- String
149
-
150
- </span>
151
-
268
+ <span class="param-type">String</span>
152
269
 
153
270
 
154
271
 
@@ -174,12 +291,7 @@
174
291
  <td class="type">
175
292
 
176
293
 
177
- <span class="param-type">
178
-
179
- String
180
-
181
- </span>
182
-
294
+ <span class="param-type">String</span>
183
295
 
184
296
 
185
297
 
@@ -207,12 +319,7 @@
207
319
  <td class="type">
208
320
 
209
321
 
210
- <span class="param-type">
211
-
212
- String
213
-
214
- </span>
215
-
322
+ <span class="param-type">String</span>
216
323
 
217
324
 
218
325
 
@@ -238,12 +345,7 @@
238
345
  <td class="type">
239
346
 
240
347
 
241
- <span class="param-type">
242
-
243
- Boolean
244
-
245
- </span>
246
-
348
+ <span class="param-type">Boolean</span>
247
349
 
248
350
 
249
351
 
@@ -271,12 +373,7 @@
271
373
  <td class="type">
272
374
 
273
375
 
274
- <span class="param-type">
275
-
276
- Number
277
-
278
- </span>
279
-
376
+ <span class="param-type">Number</span>
280
377
 
281
378
 
282
379
 
@@ -304,12 +401,7 @@
304
401
  <td class="type">
305
402
 
306
403
 
307
- <span class="param-type">
308
-
309
- Boolean
310
-
311
- </span>
312
-
404
+ <span class="param-type">Boolean</span>
313
405
 
314
406
 
315
407
 
@@ -337,12 +429,7 @@
337
429
  <td class="type">
338
430
 
339
431
 
340
- <span class="param-type">
341
-
342
- Number
343
-
344
- </span>
345
-
432
+ <span class="param-type">Number</span>
346
433
 
347
434
 
348
435
 
@@ -370,12 +457,7 @@
370
457
  <td class="type">
371
458
 
372
459
 
373
- <span class="param-type">
374
-
375
- Boolean
376
-
377
- </span>
378
-
460
+ <span class="param-type">Boolean</span>
379
461
 
380
462
 
381
463
 
@@ -403,12 +485,7 @@
403
485
  <td class="type">
404
486
 
405
487
 
406
- <span class="param-type">
407
-
408
- L.latLngBounds
409
-
410
- </span>
411
-
488
+ <span class="param-type">L.latLngBounds</span>
412
489
 
413
490
 
414
491
 
@@ -434,12 +511,7 @@
434
511
  <td class="type">
435
512
 
436
513
 
437
- <span class="param-type">
438
-
439
- Object
440
-
441
- </span>
442
-
514
+ <span class="param-type">Object</span>
443
515
 
444
516
 
445
517
 
@@ -465,12 +537,7 @@
465
537
  <td class="type">
466
538
 
467
539
 
468
- <span class="param-type">
469
-
470
- Boolean
471
-
472
- </span>
473
-
540
+ <span class="param-type">Boolean</span>
474
541
 
475
542
 
476
543
 
@@ -498,12 +565,7 @@
498
565
  <td class="type">
499
566
 
500
567
 
501
- <span class="param-type">
502
-
503
- String
504
-
505
- </span>
506
-
568
+ <span class="param-type">String</span>
507
569
 
508
570
 
509
571
 
@@ -529,12 +591,7 @@
529
591
  <td class="type">
530
592
 
531
593
 
532
- <span class="param-type">
533
-
534
- String
535
-
536
- </span>
537
-
594
+ <span class="param-type">String</span>
538
595
 
539
596
 
540
597
 
@@ -560,12 +617,7 @@
560
617
  <td class="type">
561
618
 
562
619
 
563
- <span class="param-type">
564
-
565
- String
566
-
567
- </span>
568
-
620
+ <span class="param-type">String</span>
569
621
 
570
622
 
571
623
 
@@ -720,4 +772,42 @@ layer.load().then(function () {
720
772
 
721
773
  </article>
722
774
 
723
- </section>
775
+ </section>
776
+
777
+
778
+
779
+
780
+ </div>
781
+
782
+ <footer class="footer">
783
+ <div class="content has-text-centered">
784
+ <p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
785
+ <p class="sidebar-created-by">
786
+ <a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
787
+ <a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
788
+ </p>
789
+ </div>
790
+ </footer>
791
+
792
+ </div>
793
+ <div id="side-nav" class="side-nav">
794
+ <div style="margin-bottom: 10px;">
795
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
796
+ </div>
797
+ <div style="margin-bottom: 10px;">
798
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
799
+ </div>
800
+ <div style="margin-bottom: 10px;">
801
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
802
+ </div>
803
+ <div>
804
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
805
+ </div>
806
+ </div>
807
+ </div>
808
+ <script src="scripts/linenumber.js"> </script>
809
+
810
+ <script src="scripts/search.js"> </script>
811
+
812
+ </body>
813
+ </html>