@mapgis/webclient-cesium-plugin 17.0.2 → 17.0.4
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 +10 -1
- package/dist/es5/webclient-cesium-plugin.min.js +3 -3
- package/dist/es5/webclient-common.min.js +2 -2
- package/dist/webclient-cesium-plugin-es6.min.js +3 -3
- package/documention/ArcGISMapServerImageryProvider.html +50 -3
- package/documention/ArcGISTileServerImageryProvider.html +16 -3
- package/documention/CustomTilingScheme.html +61 -48
- package/documention/DynamicEntityVisualizer.html +3 -0
- package/documention/DynamicLabelLayer.html +40 -9
- package/documention/GeoJSONLayerUtil.html +4 -1
- package/documention/GraphicsLayerUtil.html +4 -1
- package/documention/HashMap.html +27 -11
- package/documention/IGSFeatureLayerUtil.html +4 -1
- package/documention/IGSSceneLayerUtil.html +41 -12
- package/documention/MapGISMapServerImageryProvider.html +76 -17
- package/documention/MapGISTerrainProvider.html +84 -24
- package/documention/MapGISTileServerImageryProvider.html +73 -18
- package/documention/MapGISVectorTileImageryProvider.html +101 -26
- package/documention/Popup.html +29 -8
- package/documention/SceneViewCesium.html +131 -37
- package/documention/Screenshot.html +13 -8
- package/documention/SketchEditorCesium.html +27 -6
- package/documention/UrlTemplateImageryProvider.html +3 -0
- package/documention/WFSLayerUtil.html +4 -1
- package/documention/WebMapServiceImageryProvider.html +7 -3
- package/documention/WebMapTileServiceImageryProvider.html +7 -3
- package/documention/global.html +3 -0
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +6 -5
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +23 -10
- package/documention/module.exports_module.exports.html +6 -0
- package/documention/scripts/sideBar.js +28 -6
- package/package.json +1 -1
package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html
CHANGED
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
<span class="param-type">Object</span>
|
|
83
83
|
|
|
84
84
|
|
|
85
|
+
|
|
85
86
|
|
|
86
87
|
</td>
|
|
87
88
|
|
|
@@ -110,6 +111,7 @@
|
|
|
110
111
|
<span class="param-type">MapvDataSet</span>
|
|
111
112
|
|
|
112
113
|
|
|
114
|
+
|
|
113
115
|
|
|
114
116
|
</td>
|
|
115
117
|
|
|
@@ -138,6 +140,7 @@
|
|
|
138
140
|
<span class="param-type">MapvOption</span>
|
|
139
141
|
|
|
140
142
|
|
|
143
|
+
|
|
141
144
|
|
|
142
145
|
</td>
|
|
143
146
|
|
|
@@ -164,6 +167,7 @@
|
|
|
164
167
|
<span class="param-type">Object</span>
|
|
165
168
|
|
|
166
169
|
|
|
170
|
+
|
|
167
171
|
|
|
168
172
|
</td>
|
|
169
173
|
|
|
@@ -190,6 +194,7 @@
|
|
|
190
194
|
<span class="param-type">Boolean</span>
|
|
191
195
|
|
|
192
196
|
|
|
197
|
+
|
|
193
198
|
|
|
194
199
|
</td>
|
|
195
200
|
|
|
@@ -223,6 +228,7 @@
|
|
|
223
228
|
<span class="param-type">Boolean</span>
|
|
224
229
|
|
|
225
230
|
|
|
231
|
+
|
|
226
232
|
|
|
227
233
|
</td>
|
|
228
234
|
|
|
@@ -253,6 +259,7 @@
|
|
|
253
259
|
<span class="param-type">Element</span>
|
|
254
260
|
|
|
255
261
|
|
|
262
|
+
|
|
256
263
|
|
|
257
264
|
</td>
|
|
258
265
|
|
|
@@ -420,7 +427,7 @@
|
|
|
420
427
|
<tbody>
|
|
421
428
|
|
|
422
429
|
<tr class="deep-level-0">
|
|
423
|
-
<td class="name"><code><a href="
|
|
430
|
+
<td class="name"><code><a href="#addData">addData</a></code></td>
|
|
424
431
|
<td class="name">
|
|
425
432
|
<code>
|
|
426
433
|
|
|
@@ -430,7 +437,7 @@
|
|
|
430
437
|
</tr>
|
|
431
438
|
|
|
432
439
|
<tr class="deep-level-0">
|
|
433
|
-
<td class="name"><code><a href="
|
|
440
|
+
<td class="name"><code><a href="#destroy">destroy</a></code></td>
|
|
434
441
|
<td class="name">
|
|
435
442
|
<code>
|
|
436
443
|
|
|
@@ -440,7 +447,7 @@
|
|
|
440
447
|
</tr>
|
|
441
448
|
|
|
442
449
|
<tr class="deep-level-0">
|
|
443
|
-
<td class="name"><code><a href="
|
|
450
|
+
<td class="name"><code><a href="#draw">draw</a></code></td>
|
|
444
451
|
<td class="name">
|
|
445
452
|
<code>
|
|
446
453
|
|
|
@@ -450,7 +457,7 @@
|
|
|
450
457
|
</tr>
|
|
451
458
|
|
|
452
459
|
<tr class="deep-level-0">
|
|
453
|
-
<td class="name"><code><a href="
|
|
460
|
+
<td class="name"><code><a href="#getData">getData</a></code></td>
|
|
454
461
|
<td class="name">
|
|
455
462
|
<code>
|
|
456
463
|
|
|
@@ -460,7 +467,7 @@
|
|
|
460
467
|
</tr>
|
|
461
468
|
|
|
462
469
|
<tr class="deep-level-0">
|
|
463
|
-
<td class="name"><code><a href="
|
|
470
|
+
<td class="name"><code><a href="#hide">hide</a></code></td>
|
|
464
471
|
<td class="name">
|
|
465
472
|
<code>
|
|
466
473
|
|
|
@@ -470,7 +477,7 @@
|
|
|
470
477
|
</tr>
|
|
471
478
|
|
|
472
479
|
<tr class="deep-level-0">
|
|
473
|
-
<td class="name"><code><a href="
|
|
480
|
+
<td class="name"><code><a href="#remove">remove</a></code></td>
|
|
474
481
|
<td class="name">
|
|
475
482
|
<code>
|
|
476
483
|
|
|
@@ -480,7 +487,7 @@
|
|
|
480
487
|
</tr>
|
|
481
488
|
|
|
482
489
|
<tr class="deep-level-0">
|
|
483
|
-
<td class="name"><code><a href="
|
|
490
|
+
<td class="name"><code><a href="#removeAllData">removeAllData</a></code></td>
|
|
484
491
|
<td class="name">
|
|
485
492
|
<code>
|
|
486
493
|
|
|
@@ -490,7 +497,7 @@
|
|
|
490
497
|
</tr>
|
|
491
498
|
|
|
492
499
|
<tr class="deep-level-0">
|
|
493
|
-
<td class="name"><code><a href="
|
|
500
|
+
<td class="name"><code><a href="#show">show</a></code></td>
|
|
494
501
|
<td class="name">
|
|
495
502
|
<code>
|
|
496
503
|
|
|
@@ -500,7 +507,7 @@
|
|
|
500
507
|
</tr>
|
|
501
508
|
|
|
502
509
|
<tr class="deep-level-0">
|
|
503
|
-
<td class="name"><code><a href="
|
|
510
|
+
<td class="name"><code><a href="#update">update</a></code></td>
|
|
504
511
|
<td class="name">
|
|
505
512
|
<code>
|
|
506
513
|
|
|
@@ -510,7 +517,7 @@
|
|
|
510
517
|
</tr>
|
|
511
518
|
|
|
512
519
|
<tr class="deep-level-0">
|
|
513
|
-
<td class="name"><code><a href="
|
|
520
|
+
<td class="name"><code><a href="#updateData">updateData</a></code></td>
|
|
514
521
|
<td class="name">
|
|
515
522
|
<code>
|
|
516
523
|
|
|
@@ -586,6 +593,7 @@
|
|
|
586
593
|
<span class="param-type">Array</span>
|
|
587
594
|
|
|
588
595
|
|
|
596
|
+
|
|
589
597
|
|
|
590
598
|
</td>
|
|
591
599
|
|
|
@@ -610,6 +618,7 @@
|
|
|
610
618
|
<span class="param-type">Object</span>
|
|
611
619
|
|
|
612
620
|
|
|
621
|
+
|
|
613
622
|
|
|
614
623
|
</td>
|
|
615
624
|
|
|
@@ -939,6 +948,7 @@
|
|
|
939
948
|
<span class="param-type">Array</span>
|
|
940
949
|
|
|
941
950
|
|
|
951
|
+
|
|
942
952
|
|
|
943
953
|
</td>
|
|
944
954
|
|
|
@@ -963,6 +973,7 @@
|
|
|
963
973
|
<span class="param-type">Object</span>
|
|
964
974
|
|
|
965
975
|
|
|
976
|
+
|
|
966
977
|
|
|
967
978
|
</td>
|
|
968
979
|
|
|
@@ -1565,6 +1576,7 @@
|
|
|
1565
1576
|
<span class="param-type">Array</span>
|
|
1566
1577
|
|
|
1567
1578
|
|
|
1579
|
+
|
|
1568
1580
|
|
|
1569
1581
|
</td>
|
|
1570
1582
|
|
|
@@ -1589,6 +1601,7 @@
|
|
|
1589
1601
|
<span class="param-type">Object</span>
|
|
1590
1602
|
|
|
1591
1603
|
|
|
1604
|
+
|
|
1592
1605
|
|
|
1593
1606
|
</td>
|
|
1594
1607
|
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
<span class="param-type">Cesium.Viewer</span>
|
|
79
79
|
|
|
80
80
|
|
|
81
|
+
|
|
81
82
|
|
|
82
83
|
</td>
|
|
83
84
|
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
<span class="param-type">*</span>
|
|
107
108
|
|
|
108
109
|
|
|
110
|
+
|
|
109
111
|
|
|
110
112
|
</td>
|
|
111
113
|
|
|
@@ -132,6 +134,7 @@
|
|
|
132
134
|
<span class="param-type">Boolean</span>
|
|
133
135
|
|
|
134
136
|
|
|
137
|
+
|
|
135
138
|
|
|
136
139
|
</td>
|
|
137
140
|
|
|
@@ -160,6 +163,7 @@
|
|
|
160
163
|
<span class="param-type">Boolean</span>
|
|
161
164
|
|
|
162
165
|
|
|
166
|
+
|
|
163
167
|
|
|
164
168
|
</td>
|
|
165
169
|
|
|
@@ -188,6 +192,7 @@
|
|
|
188
192
|
<span class="param-type">Number</span>
|
|
189
193
|
|
|
190
194
|
|
|
195
|
+
|
|
191
196
|
|
|
192
197
|
</td>
|
|
193
198
|
|
|
@@ -221,6 +226,7 @@
|
|
|
221
226
|
<span class="param-type">HTMLElement</span>
|
|
222
227
|
|
|
223
228
|
|
|
229
|
+
|
|
224
230
|
|
|
225
231
|
</td>
|
|
226
232
|
|
|
@@ -10,6 +10,31 @@ function toggleLinkDetail(id) {
|
|
|
10
10
|
_dom.style.display = _dom.style.display === 'block' ? 'none' : 'block'
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
function getTypeHTML(e) {
|
|
14
|
+
var link = e.target.getAttribute('link')
|
|
15
|
+
var goto = e.target.getAttribute('goto')
|
|
16
|
+
const _baseUrl = getBaseUrl(window.location.href)
|
|
17
|
+
fetch(_baseUrl + '/' + link, {
|
|
18
|
+
method: 'GET',
|
|
19
|
+
})
|
|
20
|
+
.then(response => response.text())
|
|
21
|
+
.then(data => {
|
|
22
|
+
const _contentDom = document.getElementById('main-content')
|
|
23
|
+
if (_contentDom) {
|
|
24
|
+
_contentDom.innerHTML = data
|
|
25
|
+
gotoTop(goto)
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
.catch(error => console.error('Error:', error))
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function gotoTop(id) {
|
|
32
|
+
id = id || 'main-content'
|
|
33
|
+
const _aDom = document.createElement('a');
|
|
34
|
+
_aDom.href = '#' + id
|
|
35
|
+
_aDom.click()
|
|
36
|
+
}
|
|
37
|
+
|
|
13
38
|
function getBaseUrl(url) {
|
|
14
39
|
const regex1 = /^(http:|https:)\/\/[0-9a-zA-Z.]+:[0-9]+/
|
|
15
40
|
const regex2 = /^(http:|https:)\/\/[0-9a-zA-Z.]+/
|
|
@@ -38,6 +63,7 @@ function getBaseUrl(url) {
|
|
|
38
63
|
const _contentDom = document.getElementById('main-content')
|
|
39
64
|
if (_contentDom) {
|
|
40
65
|
_contentDom.innerHTML = data
|
|
66
|
+
gotoTop()
|
|
41
67
|
}
|
|
42
68
|
})
|
|
43
69
|
.catch(error => console.error('Error:', error))
|
|
@@ -55,9 +81,7 @@ function getBaseUrl(url) {
|
|
|
55
81
|
const _contentDom = document.getElementById('main-content')
|
|
56
82
|
if (_contentDom) {
|
|
57
83
|
_contentDom.innerHTML = data
|
|
58
|
-
|
|
59
|
-
_aDom.href = e.target.attributes[0].value
|
|
60
|
-
_aDom.click()
|
|
84
|
+
gotoTop()
|
|
61
85
|
}
|
|
62
86
|
})
|
|
63
87
|
.catch(error => console.error('Error:', error))
|
|
@@ -76,9 +100,7 @@ function getBaseUrl(url) {
|
|
|
76
100
|
const _contentDom = document.getElementById('main-content')
|
|
77
101
|
if (_contentDom) {
|
|
78
102
|
_contentDom.innerHTML = data
|
|
79
|
-
|
|
80
|
-
_aDom.href = e.target.attributes[0].value
|
|
81
|
-
_aDom.click()
|
|
103
|
+
gotoTop()
|
|
82
104
|
}
|
|
83
105
|
})
|
|
84
106
|
.catch(error => console.error('Error:', error))
|