@mapgis/webclient-cesium-plugin 17.0.2 → 17.0.5

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 (33) hide show
  1. package/README.md +27 -1
  2. package/dist/es5/webclient-cesium-plugin.min.js +3 -3
  3. package/dist/es5/webclient-common.min.js +2 -2
  4. package/dist/webclient-cesium-plugin-es6.min.js +3 -3
  5. package/documention/ArcGISMapServerImageryProvider.html +158 -35
  6. package/documention/ArcGISTileServerImageryProvider.html +90 -25
  7. package/documention/CustomTilingScheme.html +304 -111
  8. package/documention/DynamicEntityVisualizer.html +21 -6
  9. package/documention/DynamicLabelLayer.html +208 -53
  10. package/documention/GeoJSONLayerUtil.html +25 -6
  11. package/documention/GraphicsLayerUtil.html +25 -6
  12. package/documention/HashMap.html +107 -27
  13. package/documention/IGSFeatureLayerUtil.html +25 -6
  14. package/documention/IGSSceneLayerUtil.html +217 -64
  15. package/documention/MapGISMapServerImageryProvider.html +408 -105
  16. package/documention/MapGISTerrainProvider.html +418 -102
  17. package/documention/MapGISTileServerImageryProvider.html +379 -96
  18. package/documention/MapGISVectorTileImageryProvider.html +506 -127
  19. package/documention/Popup.html +148 -39
  20. package/documention/SceneViewCesium.html +698 -205
  21. package/documention/Screenshot.html +43 -18
  22. package/documention/SketchEditorCesium.html +161 -48
  23. package/documention/UrlTemplateImageryProvider.html +26 -7
  24. package/documention/WFSLayerUtil.html +25 -6
  25. package/documention/WebMapServiceImageryProvider.html +27 -7
  26. package/documention/WebMapTileServiceImageryProvider.html +27 -7
  27. package/documention/global.html +20 -5
  28. package/documention/index.html +4 -4
  29. package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +13 -8
  30. package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +104 -39
  31. package/documention/module.exports_module.exports.html +42 -12
  32. package/documention/scripts/sideBar.js +133 -6
  33. package/package.json +1 -1
@@ -73,13 +73,18 @@
73
73
 
74
74
  <tr class="deep-level-0">
75
75
 
76
- <td class="name" id="map"><code>map</code></td>
76
+ <td class="name"><code>map</code></td>
77
77
 
78
78
 
79
79
  <td class="type">
80
80
 
81
81
 
82
- <span class="param-type">Object</span>
82
+ <span class="param-type">
83
+
84
+ Object
85
+
86
+ </span>
87
+
83
88
 
84
89
 
85
90
 
@@ -101,13 +106,18 @@
101
106
 
102
107
  <tr class="deep-level-0">
103
108
 
104
- <td class="name" id="dataset"><code>dataset</code></td>
109
+ <td class="name"><code>dataset</code></td>
105
110
 
106
111
 
107
112
  <td class="type">
108
113
 
109
114
 
110
- <span class="param-type">MapvDataSet</span>
115
+ <span class="param-type">
116
+
117
+ MapvDataSet
118
+
119
+ </span>
120
+
111
121
 
112
122
 
113
123
 
@@ -129,13 +139,18 @@
129
139
 
130
140
  <tr class="deep-level-0">
131
141
 
132
- <td class="name" id="mapVOptions"><code>mapVOptions</code></td>
142
+ <td class="name"><code>mapVOptions</code></td>
133
143
 
134
144
 
135
145
  <td class="type">
136
146
 
137
147
 
138
- <span class="param-type">MapvOption</span>
148
+ <span class="param-type">
149
+
150
+ MapvOption
151
+
152
+ </span>
153
+
139
154
 
140
155
 
141
156
 
@@ -155,13 +170,18 @@
155
170
 
156
171
  <tr class="deep-level-1">
157
172
 
158
- <td class="name" id="cesium"><code>cesium</code></td>
173
+ <td class="name"><code>cesium</code></td>
159
174
 
160
175
 
161
176
  <td class="type">
162
177
 
163
178
 
164
- <span class="param-type">Object</span>
179
+ <span class="param-type">
180
+
181
+ Object
182
+
183
+ </span>
184
+
165
185
 
166
186
 
167
187
 
@@ -181,13 +201,18 @@
181
201
 
182
202
  <tr class="deep-level-1">
183
203
 
184
- <td class="name" id="cesium.postRender"><code>cesium.postRender</code></td>
204
+ <td class="name"><code>cesium.postRender</code></td>
185
205
 
186
206
 
187
207
  <td class="type">
188
208
 
189
209
 
190
- <span class="param-type">Boolean</span>
210
+ <span class="param-type">
211
+
212
+ Boolean
213
+
214
+ </span>
215
+
191
216
 
192
217
 
193
218
 
@@ -214,13 +239,18 @@
214
239
 
215
240
  <tr class="deep-level-0">
216
241
 
217
- <td class="name" id="mapVOptionscesium.cesium.postRenderFrame"><code>mapVOptionscesium.cesium.postRenderFrame</code></td>
242
+ <td class="name"><code>mapVOptionscesium.cesium.postRenderFrame</code></td>
218
243
 
219
244
 
220
245
  <td class="type">
221
246
 
222
247
 
223
- <span class="param-type">Boolean</span>
248
+ <span class="param-type">
249
+
250
+ Boolean
251
+
252
+ </span>
253
+
224
254
 
225
255
 
226
256
 
@@ -244,13 +274,18 @@
244
274
 
245
275
  <tr class="deep-level-0">
246
276
 
247
- <td class="name" id="container"><code>container</code></td>
277
+ <td class="name"><code>container</code></td>
248
278
 
249
279
 
250
280
  <td class="type">
251
281
 
252
282
 
253
- <span class="param-type">Element</span>
283
+ <span class="param-type">
284
+
285
+ Element
286
+
287
+ </span>
288
+
254
289
 
255
290
 
256
291
 
@@ -420,7 +455,7 @@
420
455
  <tbody>
421
456
 
422
457
  <tr class="deep-level-0">
423
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#addData">addData</a></code></td>
458
+ <td class="name"><code><a href="#addData">addData</a></code></td>
424
459
  <td class="name">
425
460
  <code>
426
461
 
@@ -430,7 +465,7 @@
430
465
  </tr>
431
466
 
432
467
  <tr class="deep-level-0">
433
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#destroy">destroy</a></code></td>
468
+ <td class="name"><code><a href="#destroy">destroy</a></code></td>
434
469
  <td class="name">
435
470
  <code>
436
471
 
@@ -440,7 +475,7 @@
440
475
  </tr>
441
476
 
442
477
  <tr class="deep-level-0">
443
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#draw">draw</a></code></td>
478
+ <td class="name"><code><a href="#draw">draw</a></code></td>
444
479
  <td class="name">
445
480
  <code>
446
481
 
@@ -450,7 +485,7 @@
450
485
  </tr>
451
486
 
452
487
  <tr class="deep-level-0">
453
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#getData">getData</a></code></td>
488
+ <td class="name"><code><a href="#getData">getData</a></code></td>
454
489
  <td class="name">
455
490
  <code>
456
491
 
@@ -460,7 +495,7 @@
460
495
  </tr>
461
496
 
462
497
  <tr class="deep-level-0">
463
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#hide">hide</a></code></td>
498
+ <td class="name"><code><a href="#hide">hide</a></code></td>
464
499
  <td class="name">
465
500
  <code>
466
501
 
@@ -470,7 +505,7 @@
470
505
  </tr>
471
506
 
472
507
  <tr class="deep-level-0">
473
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#remove">remove</a></code></td>
508
+ <td class="name"><code><a href="#remove">remove</a></code></td>
474
509
  <td class="name">
475
510
  <code>
476
511
 
@@ -480,7 +515,7 @@
480
515
  </tr>
481
516
 
482
517
  <tr class="deep-level-0">
483
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#removeAllData">removeAllData</a></code></td>
518
+ <td class="name"><code><a href="#removeAllData">removeAllData</a></code></td>
484
519
  <td class="name">
485
520
  <code>
486
521
 
@@ -490,7 +525,7 @@
490
525
  </tr>
491
526
 
492
527
  <tr class="deep-level-0">
493
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#show">show</a></code></td>
528
+ <td class="name"><code><a href="#show">show</a></code></td>
494
529
  <td class="name">
495
530
  <code>
496
531
 
@@ -500,7 +535,7 @@
500
535
  </tr>
501
536
 
502
537
  <tr class="deep-level-0">
503
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#update">update</a></code></td>
538
+ <td class="name"><code><a href="#update">update</a></code></td>
504
539
  <td class="name">
505
540
  <code>
506
541
 
@@ -510,7 +545,7 @@
510
545
  </tr>
511
546
 
512
547
  <tr class="deep-level-0">
513
- <td class="name"><code><a href="module:客户端可视化.MapVLayer.html#updateData">updateData</a></code></td>
548
+ <td class="name"><code><a href="#updateData">updateData</a></code></td>
514
549
  <td class="name">
515
550
  <code>
516
551
 
@@ -577,13 +612,18 @@
577
612
 
578
613
  <tr class="deep-level-0">
579
614
 
580
- <td class="name" id="data"><code>data</code></td>
615
+ <td class="name"><code>data</code></td>
581
616
 
582
617
 
583
618
  <td class="type">
584
619
 
585
620
 
586
- <span class="param-type">Array</span>
621
+ <span class="param-type">
622
+
623
+ Array
624
+
625
+ </span>
626
+
587
627
 
588
628
 
589
629
 
@@ -601,13 +641,18 @@
601
641
 
602
642
  <tr class="deep-level-0">
603
643
 
604
- <td class="name" id="options"><code>options</code></td>
644
+ <td class="name"><code>options</code></td>
605
645
 
606
646
 
607
647
  <td class="type">
608
648
 
609
649
 
610
- <span class="param-type">Object</span>
650
+ <span class="param-type">
651
+
652
+ Object
653
+
654
+ </span>
655
+
611
656
 
612
657
 
613
658
 
@@ -661,7 +706,7 @@
661
706
  <dt class="tag-see">See:</dt>
662
707
  <dd class="tag-see">
663
708
  <ul>
664
- <li><a class="mapgis-link-name" title="https://github.com/huiyan-fe/mapv/blob/master/API.md" https://github.com/huiyan-fe/mapv/blob/master/API.md>https://github.com/huiyan-fe/mapv/blob/master/API.md</a></li>
709
+ <li>https://github.com/huiyan-fe/mapv/blob/master/API.md</li>
665
710
  </ul>
666
711
  </dd>
667
712
 
@@ -930,13 +975,18 @@
930
975
 
931
976
  <tr class="deep-level-0">
932
977
 
933
- <td class="name" id="data"><code>data</code></td>
978
+ <td class="name"><code>data</code></td>
934
979
 
935
980
 
936
981
  <td class="type">
937
982
 
938
983
 
939
- <span class="param-type">Array</span>
984
+ <span class="param-type">
985
+
986
+ Array
987
+
988
+ </span>
989
+
940
990
 
941
991
 
942
992
 
@@ -954,13 +1004,18 @@
954
1004
 
955
1005
  <tr class="deep-level-0">
956
1006
 
957
- <td class="name" id="options"><code>options</code></td>
1007
+ <td class="name"><code>options</code></td>
958
1008
 
959
1009
 
960
1010
  <td class="type">
961
1011
 
962
1012
 
963
- <span class="param-type">Object</span>
1013
+ <span class="param-type">
1014
+
1015
+ Object
1016
+
1017
+ </span>
1018
+
964
1019
 
965
1020
 
966
1021
 
@@ -1014,7 +1069,7 @@
1014
1069
  <dt class="tag-see">See:</dt>
1015
1070
  <dd class="tag-see">
1016
1071
  <ul>
1017
- <li><a class="mapgis-link-name" title="https://github.com/huiyan-fe/mapv/blob/master/API.md" https://github.com/huiyan-fe/mapv/blob/master/API.md>https://github.com/huiyan-fe/mapv/blob/master/API.md</a></li>
1072
+ <li>https://github.com/huiyan-fe/mapv/blob/master/API.md</li>
1018
1073
  </ul>
1019
1074
  </dd>
1020
1075
 
@@ -1556,13 +1611,18 @@
1556
1611
 
1557
1612
  <tr class="deep-level-0">
1558
1613
 
1559
- <td class="name" id="data"><code>data</code></td>
1614
+ <td class="name"><code>data</code></td>
1560
1615
 
1561
1616
 
1562
1617
  <td class="type">
1563
1618
 
1564
1619
 
1565
- <span class="param-type">Array</span>
1620
+ <span class="param-type">
1621
+
1622
+ Array
1623
+
1624
+ </span>
1625
+
1566
1626
 
1567
1627
 
1568
1628
 
@@ -1580,13 +1640,18 @@
1580
1640
 
1581
1641
  <tr class="deep-level-0">
1582
1642
 
1583
- <td class="name" id="options"><code>options</code></td>
1643
+ <td class="name"><code>options</code></td>
1584
1644
 
1585
1645
 
1586
1646
  <td class="type">
1587
1647
 
1588
1648
 
1589
- <span class="param-type">Object</span>
1649
+ <span class="param-type">
1650
+
1651
+ Object
1652
+
1653
+ </span>
1654
+
1590
1655
 
1591
1656
 
1592
1657
 
@@ -1640,7 +1705,7 @@
1640
1705
  <dt class="tag-see">See:</dt>
1641
1706
  <dd class="tag-see">
1642
1707
  <ul>
1643
- <li><a class="mapgis-link-name" title="https://github.com/huiyan-fe/mapv/blob/master/API.md" https://github.com/huiyan-fe/mapv/blob/master/API.md>https://github.com/huiyan-fe/mapv/blob/master/API.md</a></li>
1708
+ <li>https://github.com/huiyan-fe/mapv/blob/master/API.md</li>
1644
1709
  </ul>
1645
1710
  </dd>
1646
1711
 
@@ -69,13 +69,18 @@
69
69
 
70
70
  <tr class="deep-level-0">
71
71
 
72
- <td class="name" id="map"><code>map</code></td>
72
+ <td class="name"><code>map</code></td>
73
73
 
74
74
 
75
75
  <td class="type">
76
76
 
77
77
 
78
- <span class="param-type">Cesium.Viewer</span>
78
+ <span class="param-type">
79
+
80
+ Cesium.Viewer
81
+
82
+ </span>
83
+
79
84
 
80
85
 
81
86
 
@@ -97,13 +102,18 @@
97
102
 
98
103
  <tr class="deep-level-0">
99
104
 
100
- <td class="name" id="options"><code>options</code></td>
105
+ <td class="name"><code>options</code></td>
101
106
 
102
107
 
103
108
  <td class="type">
104
109
 
105
110
 
106
- <span class="param-type">*</span>
111
+ <span class="param-type">
112
+
113
+ *
114
+
115
+ </span>
116
+
107
117
 
108
118
 
109
119
 
@@ -123,13 +133,18 @@
123
133
 
124
134
  <tr class="deep-level-1">
125
135
 
126
- <td class="name" id="postRender"><code>postRender</code></td>
136
+ <td class="name"><code>postRender</code></td>
127
137
 
128
138
 
129
139
  <td class="type">
130
140
 
131
141
 
132
- <span class="param-type">Boolean</span>
142
+ <span class="param-type">
143
+
144
+ Boolean
145
+
146
+ </span>
147
+
133
148
 
134
149
 
135
150
 
@@ -151,13 +166,18 @@
151
166
 
152
167
  <tr class="deep-level-1">
153
168
 
154
- <td class="name" id="visible"><code>visible</code></td>
169
+ <td class="name"><code>visible</code></td>
155
170
 
156
171
 
157
172
  <td class="type">
158
173
 
159
174
 
160
- <span class="param-type">Boolean</span>
175
+ <span class="param-type">
176
+
177
+ Boolean
178
+
179
+ </span>
180
+
161
181
 
162
182
 
163
183
 
@@ -179,13 +199,18 @@
179
199
 
180
200
  <tr class="deep-level-1">
181
201
 
182
- <td class="name" id="opacity"><code>opacity</code></td>
202
+ <td class="name"><code>opacity</code></td>
183
203
 
184
204
 
185
205
  <td class="type">
186
206
 
187
207
 
188
- <span class="param-type">Number</span>
208
+ <span class="param-type">
209
+
210
+ Number
211
+
212
+ </span>
213
+
189
214
 
190
215
 
191
216
 
@@ -212,13 +237,18 @@
212
237
 
213
238
  <tr class="deep-level-0">
214
239
 
215
- <td class="name" id="container"><code>container</code></td>
240
+ <td class="name"><code>container</code></td>
216
241
 
217
242
 
218
243
  <td class="type">
219
244
 
220
245
 
221
- <span class="param-type">HTMLElement</span>
246
+ <span class="param-type">
247
+
248
+ HTMLElement
249
+
250
+ </span>
251
+
222
252
 
223
253
 
224
254
 
@@ -3,11 +3,87 @@ function toggleSideBar(id) {
3
3
  _dom.style.display = _dom.style.display === 'block' ? 'none' : 'block'
4
4
  }
5
5
 
6
+ function showSideBar(id) {
7
+ var _dom = document.getElementById(id)
8
+ _dom.style.display = 'block'
9
+ }
10
+
11
+ var lastClickClassId
12
+ function highLightClickClass(currentId) {
13
+ var _dom2 = document.getElementById(currentId)
14
+ _dom2.style.color = '#ffa83df5'
15
+ _dom2.style.fontWeight="900"
16
+ if (lastClickClassId && lastClickClassId !== currentId) {
17
+ var _dom3 = document.getElementById(lastClickClassId)
18
+ _dom3.style.color = '#798897'
19
+ _dom3.style.fontWeight="400"
20
+ }
21
+ lastClickClassId = currentId
22
+ }
23
+
24
+ var lastClickClassTarget
25
+ function highLightClickClassByTarget(target) {
26
+ target.style.color = '#ffa83df5'
27
+ target.style.fontWeight="900"
28
+ if (lastClickClassTarget && lastClickClassTarget.getAttribute('title') !== target.getAttribute('title')) {
29
+ lastClickClassTarget.style.color = '#798897'
30
+ lastClickClassTarget.style.fontWeight="400"
31
+ }
32
+ lastClickClassTarget = target
33
+ }
34
+
6
35
  function toggleLinkDetail(id) {
7
36
  var _dom = document.getElementById(id)
8
37
  var _arrow = document.getElementById(id + '-arrow')
9
38
  _arrow.style.transform = _dom.style.display === 'block' ? 'rotate(360deg)' : 'rotate(180deg)'
10
39
  _dom.style.display = _dom.style.display === 'block' ? 'none' : 'block'
40
+ if (_dom.style.display === 'block') {
41
+ highLightClickClass(id.split('-')[0])
42
+ }
43
+ }
44
+
45
+ function showLinkDetail(id) {
46
+ var _dom = document.getElementById(id)
47
+ var _arrow = document.getElementById(id + '-arrow')
48
+ _arrow.style.transform = 'rotate(360deg)'
49
+ _dom.style.display = 'block'
50
+ }
51
+
52
+ function getTypeHTML(e) {
53
+ var link = e.target.getAttribute('link')
54
+ var goto = e.target.getAttribute('goto')
55
+ const attributes = e.target.attributes
56
+ for (let i = 0; i < attributes.length; i++) {
57
+ const { name } = attributes[i]
58
+ if (name.indexOf('global.html') > -1) {
59
+ goto = link.split('.')[0]
60
+ link = 'global.html'
61
+ break
62
+ }
63
+ }
64
+ const _baseUrl = window.location.href.split('/index.html')[0]
65
+ fetch(_baseUrl + '/' + link, {
66
+ method: 'GET',
67
+ })
68
+ .then(response => response.text())
69
+ .then(data => {
70
+ const _contentDom = document.getElementById('main-content')
71
+ if (_contentDom) {
72
+ _contentDom.innerHTML = data
73
+ gotoTop(goto, getLinkName(link))
74
+ }
75
+ })
76
+ .catch(error => console.error('Error:', error))
77
+ }
78
+
79
+ function gotoTop(id, linkName) {
80
+ id = id || 'main-content'
81
+ const _aDom = document.createElement('a');
82
+ _aDom.href = '#' + id
83
+ _aDom.click()
84
+ if (linkName) {
85
+ window.location.hash = id + '?' + linkName
86
+ }
11
87
  }
12
88
 
13
89
  function getBaseUrl(url) {
@@ -25,6 +101,11 @@ function getBaseUrl(url) {
25
101
  return ''
26
102
  }
27
103
 
104
+ function getLinkName(url) {
105
+ var urlParts = url.split('/')
106
+ return urlParts[urlParts.length - 1].split('.')[0]
107
+ }
108
+
28
109
  (function() {
29
110
  const targets = [ ...document.querySelectorAll('#sidebarNav li.mapgis-link a')]
30
111
  targets.forEach(function (_target) {
@@ -38,6 +119,9 @@ function getBaseUrl(url) {
38
119
  const _contentDom = document.getElementById('main-content')
39
120
  if (_contentDom) {
40
121
  _contentDom.innerHTML = data
122
+ var linkName = getLinkName(e.target.getAttribute('link'))
123
+ highLightClickClass(linkName)
124
+ gotoTop(undefined, linkName)
41
125
  }
42
126
  })
43
127
  .catch(error => console.error('Error:', error))
@@ -55,9 +139,7 @@ function getBaseUrl(url) {
55
139
  const _contentDom = document.getElementById('main-content')
56
140
  if (_contentDom) {
57
141
  _contentDom.innerHTML = data
58
- const _aDom = document.createElement('a');
59
- _aDom.href = e.target.attributes[0].value
60
- _aDom.click()
142
+ gotoTop(e.target.getAttribute('linkto').split('#')[1], getLinkName(e.target.getAttribute('link')))
61
143
  }
62
144
  })
63
145
  .catch(error => console.error('Error:', error))
@@ -67,6 +149,7 @@ function getBaseUrl(url) {
67
149
  const targets3 = [ ...document.querySelectorAll('#sidebarNav div div ul li a#api-member')]
68
150
  targets3.forEach(function (_target) {
69
151
  _target.addEventListener('click', function (e) {
152
+ highLightClickClassByTarget(e.target)
70
153
  const _baseUrl = getBaseUrl(window.location.href)
71
154
  fetch(_baseUrl + e.target.attributes[1].value, {
72
155
  method: 'GET',
@@ -76,12 +159,56 @@ function getBaseUrl(url) {
76
159
  const _contentDom = document.getElementById('main-content')
77
160
  if (_contentDom) {
78
161
  _contentDom.innerHTML = data
79
- const _aDom = document.createElement('a');
80
- _aDom.href = e.target.attributes[0].value
81
- _aDom.click()
162
+ gotoTop(e.target.getAttribute('title'), getLinkName(e.target.getAttribute('link')))
82
163
  }
83
164
  })
84
165
  .catch(error => console.error('Error:', error))
85
166
  })
86
167
  })
87
168
  })()
169
+
170
+ window.onload = function () {
171
+ var urlParts = window.location.href.split('#')
172
+ if (urlParts.length > 1) {
173
+ var id = urlParts[1].split('?')[0]
174
+ var linkName = urlParts[1].split('?')[1]
175
+ if (id && linkName) {
176
+ const _baseUrl = window.location.href.split('/index.html')[0]
177
+ fetch(_baseUrl + '/' + linkName + '.html', {
178
+ method: 'GET',
179
+ })
180
+ .then(response => response.text())
181
+ .then(data => {
182
+ const _contentDom = document.getElementById('main-content')
183
+ if (_contentDom) {
184
+ _contentDom.innerHTML = data
185
+ var modules = document.getElementsByClassName('mapgis-sidebar-menus')
186
+ for (var i = 0; i < modules.length; i++) {
187
+ if (modules[i].innerHTML.indexOf('"' + linkName + '"') > -1) {
188
+ showSideBar(modules[i].id)
189
+ var classArray = document.getElementsByClassName("mapgis-link-detail")
190
+ for (var j = 0; j < classArray.length; j++) {
191
+ if (
192
+ classArray[j].id === linkName + '-detail'
193
+ ) {
194
+ showLinkDetail(linkName + '-detail')
195
+ highLightClickClass(linkName)
196
+ var members = document.querySelectorAll('#' + linkName + '-detail' + ' a')
197
+ for (var k = 0; k < members.length; k++) {
198
+ if (members[k].title === id) {
199
+ highLightClickClassByTarget(members[k])
200
+ }
201
+ }
202
+ break
203
+ }
204
+ }
205
+ break
206
+ }
207
+ }
208
+ gotoTop(id, linkName)
209
+ }
210
+ })
211
+ .catch(error => console.error('Error:', error))
212
+ }
213
+ }
214
+ }