@mapgis/webclient-mapboxgl-plugin 17.2.8 → 17.4.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.
@@ -1,10 +1,140 @@
1
- <header id="page-title" class="page-title">
2
-
3
- <span class="page-title-main">类名</span>
4
- <span class="page-title-sub">Popup</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>Client for JavaScript Popup</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="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>二维场景视图(mapboxgl引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
108
+ 参考示例:
109
+ <a href='#MapView'>[初始化二维场景视图]</a>
110
+ <br>[ES5引入方式]:<br/>
111
+ zondy.mapboxgl.MapView() <br/>
112
+ [ES6引入方式]:<br/>
113
+ import { MapView } from '@mapgis/webclient-mapboxgl-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>二维场景信息弹窗(mapboxgl引擎)
114
+ 参考示例:
115
+ <a href='#MapView'>[初始化二维场景视图]</a>
116
+ [ES6引入方式]:<br/>
117
+ import { Popup } from '@mapgis/webclient-mapboxgl-plugin' <br/>
118
+ 自定义样式说明:<br/>
119
+ zondy-popup__content 弹窗容器样式<br/>
120
+ zondy-popup__tip 弹窗对话框箭头样式<br/>
121
+ zondy-popup__header 弹窗头部样式<br/>
122
+ 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="SketchEditorMapboxgl"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorMapboxgl.html">SketchEditorMapboxgl</a><span style="display: none;"><p>二维Mapboxgl引擎草图编辑类<br/>
124
+ <br>[ES5引入方式]:<br/>
125
+ const { SketchEditor } = zondy.mapboxgl.tool.sketch <br/>
126
+ [ES6引入方式]:<br/>
127
+ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/></p></span></li></ul></div>
128
+
129
+ </nav>
130
+ </div>
131
+ <div class="core" id="main-content-wrapper">
132
+ <div class="content">
133
+ <header id="page-title" class="page-title">
134
+ <span class="page-title-main">类名</span>
135
+ <span class="page-title-sub">Popup</span>
136
+ </header>
137
+
8
138
 
9
139
 
10
140
 
@@ -25,7 +155,7 @@
25
155
  <h4 class="name" id="Popup">
26
156
  <a class="href-link" href="#Popup">#</a>
27
157
 
28
- <span class="code-name" id="Popup" style="font-size:30px">
158
+ <span class="code-name" style="font-size:30px">
29
159
 
30
160
  new Popup<span class="signature">(options)</span>
31
161
 
@@ -57,7 +187,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
57
187
 
58
188
 
59
189
 
60
- <h4>参数</h4>
190
+ <h4>参数:</h4>
61
191
 
62
192
  <div class="table-container">
63
193
  <table class="params table">
@@ -87,12 +217,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
87
217
  <td class="type">
88
218
 
89
219
 
90
- <span class="param-type">
91
-
92
- Object
93
-
94
- </span>
95
-
220
+ <span class="param-type">Object</span>
96
221
 
97
222
 
98
223
 
@@ -114,12 +239,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
114
239
  <td class="type">
115
240
 
116
241
 
117
- <span class="param-type">
118
-
119
- MapView
120
-
121
- </span>
122
-
242
+ <span class="param-type"><a href="MapView.html">MapView</a></span>
123
243
 
124
244
 
125
245
 
@@ -141,12 +261,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
141
261
  <td class="type">
142
262
 
143
263
 
144
- <span class="param-type">
145
-
146
- String
147
-
148
- </span>
149
-
264
+ <span class="param-type">String</span>
150
265
 
151
266
 
152
267
 
@@ -168,12 +283,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
168
283
  <td class="type">
169
284
 
170
285
 
171
- <span class="param-type">
172
-
173
- Point
174
-
175
- </span>
176
-
286
+ <span class="param-type">Point</span>
177
287
 
178
288
 
179
289
 
@@ -195,12 +305,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
195
305
  <td class="type">
196
306
 
197
307
 
198
- <span class="param-type">
199
-
200
- String
201
-
202
- </span>
203
-
308
+ <span class="param-type">String</span>
204
309
 
205
310
 
206
311
 
@@ -222,19 +327,10 @@ zondy-popup__footer 弹窗底部样式<br/></p>
222
327
  <td class="type">
223
328
 
224
329
 
225
- <span class="param-type">
226
-
227
- String
228
-
229
- </span>
330
+ <span class="param-type">String</span>
230
331
  |
231
332
 
232
- <span class="param-type">
233
-
234
- HTMLElement
235
-
236
- </span>
237
-
333
+ <span class="param-type">HTMLElement</span>
238
334
 
239
335
 
240
336
 
@@ -256,12 +352,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
256
352
  <td class="type">
257
353
 
258
354
 
259
- <span class="param-type">
260
-
261
- String
262
-
263
- </span>
264
-
355
+ <span class="param-type">String</span>
265
356
 
266
357
 
267
358
 
@@ -283,12 +374,7 @@ zondy-popup__footer 弹窗底部样式<br/></p>
283
374
  <td class="type">
284
375
 
285
376
 
286
- <span class="param-type">
287
-
288
- Array
289
-
290
- </span>
291
-
377
+ <span class="param-type">Array</span>
292
378
 
293
379
 
294
380
 
@@ -444,130 +530,6 @@ mapView.popup.close(popupObj)
444
530
 
445
531
  <div class='vertical-section'>
446
532
  <h3 id='member'>成员变量</h3>
447
- <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
448
- <div class="table-container">
449
- <table class="params table">
450
- <thead>
451
- <tr>
452
- <th>名称</th>
453
- <th>类型</th>
454
- <th>描述</th>
455
- </tr>
456
- </thead>
457
- <tbody>
458
-
459
- <tr class="deep-level-0">
460
- <td class="name"><code><a href="#alignment">alignment</a></code></td>
461
- <td class="name">
462
- <code>
463
-
464
- <span class="param-type">
465
-
466
- String
467
-
468
- </span>
469
-
470
-
471
-
472
- </code>
473
- </td>
474
- <td class="name"><code><p>弹框方位,值为&quot;auto&quot;|&quot;bottom-left&quot;|&quot;top-center&quot;|&quot;top-right&quot;|&quot;bottom-left&quot;|&quot;bottom-center&quot;|&quot;bottom-right&quot;</p></code></td>
475
- </tr>
476
-
477
- <tr class="deep-level-0">
478
- <td class="name"><code><a href="#content">content</a></code></td>
479
- <td class="name">
480
- <code>
481
-
482
- <span class="param-type">
483
-
484
- String
485
-
486
- </span>
487
-
488
-
489
-
490
- </code>
491
- </td>
492
- <td class="name"><code><p>弹框内容</p></code></td>
493
- </tr>
494
-
495
- <tr class="deep-level-0">
496
- <td class="name"><code><a href="#defaultButtons">defaultButtons</a></code></td>
497
- <td class="name">
498
- <code>
499
-
500
- <span class="param-type">
501
-
502
- Array
503
-
504
- </span>
505
-
506
-
507
-
508
- </code>
509
- </td>
510
- <td class="name"><code><p>默认按钮 ['toggle','close','zoom']</p></code></td>
511
- </tr>
512
-
513
- <tr class="deep-level-0">
514
- <td class="name"><code><a href="#location">location</a></code></td>
515
- <td class="name">
516
- <code>
517
-
518
- <span class="param-type">
519
-
520
- String
521
-
522
- </span>
523
-
524
-
525
-
526
- </code>
527
- </td>
528
- <td class="name"><code><p>弹框位置</p></code></td>
529
- </tr>
530
-
531
- <tr class="deep-level-0">
532
- <td class="name"><code><a href="#title">title</a></code></td>
533
- <td class="name">
534
- <code>
535
-
536
- <span class="param-type">
537
-
538
- String
539
-
540
- </span>
541
-
542
-
543
-
544
- </code>
545
- </td>
546
- <td class="name"><code><p>弹框标题</p></code></td>
547
- </tr>
548
-
549
- <tr class="deep-level-0">
550
- <td class="name"><code><a href="#view">view</a></code></td>
551
- <td class="name">
552
- <code>
553
-
554
- <span class="param-type">
555
-
556
- MapView
557
-
558
- </span>
559
-
560
-
561
-
562
- </code>
563
- </td>
564
- <td class="name"><code><p>弹框的地图视野</p></code></td>
565
- </tr>
566
-
567
- </tbody>
568
- </table>
569
- </div>
570
- <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
571
533
  <div class="members">
572
534
 
573
535
  <div class="member">
@@ -575,12 +537,7 @@ mapView.popup.close(popupObj)
575
537
  <span class="method-parameter is-pulled-right">
576
538
  <label>类型:</label>
577
539
 
578
- <span class="param-type">
579
-
580
- String
581
-
582
- </span>
583
-
540
+ <span class="param-type">String</span>
584
541
 
585
542
 
586
543
  </span>
@@ -650,12 +607,7 @@ mapView.popup.close(popupObj)
650
607
  <span class="method-parameter is-pulled-right">
651
608
  <label>类型:</label>
652
609
 
653
- <span class="param-type">
654
-
655
- String
656
-
657
- </span>
658
-
610
+ <span class="param-type">String</span>
659
611
 
660
612
 
661
613
  </span>
@@ -725,12 +677,7 @@ mapView.popup.close(popupObj)
725
677
  <span class="method-parameter is-pulled-right">
726
678
  <label>类型:</label>
727
679
 
728
- <span class="param-type">
729
-
730
- Array
731
-
732
- </span>
733
-
680
+ <span class="param-type">Array</span>
734
681
 
735
682
 
736
683
  </span>
@@ -800,12 +747,7 @@ mapView.popup.close(popupObj)
800
747
  <span class="method-parameter is-pulled-right">
801
748
  <label>类型:</label>
802
749
 
803
- <span class="param-type">
804
-
805
- String
806
-
807
- </span>
808
-
750
+ <span class="param-type">String</span>
809
751
 
810
752
 
811
753
  </span>
@@ -875,12 +817,7 @@ mapView.popup.close(popupObj)
875
817
  <span class="method-parameter is-pulled-right">
876
818
  <label>类型:</label>
877
819
 
878
- <span class="param-type">
879
-
880
- String
881
-
882
- </span>
883
-
820
+ <span class="param-type">String</span>
884
821
 
885
822
 
886
823
  </span>
@@ -950,12 +887,7 @@ mapView.popup.close(popupObj)
950
887
  <span class="method-parameter is-pulled-right">
951
888
  <label>类型:</label>
952
889
 
953
- <span class="param-type">
954
-
955
- MapView
956
-
957
- </span>
958
-
890
+ <span class="param-type"><a href="MapView.html">MapView</a></span>
959
891
 
960
892
 
961
893
  </span>
@@ -1027,53 +959,7 @@ mapView.popup.close(popupObj)
1027
959
 
1028
960
  <div class='vertical-section'>
1029
961
  <h3 id='function'>方法</h3>
1030
- <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
1031
962
  <div class="members">
1032
- <div class="table-container">
1033
- <table class="params table">
1034
- <thead>
1035
- <tr>
1036
- <th>名称</th>
1037
- <th>返回值类型</th>
1038
- <th>描述</th>
1039
- </tr>
1040
- </thead>
1041
- <tbody>
1042
-
1043
- <tr class="deep-level-0">
1044
- <td class="name"><code><a href="#close">close</a></code></td>
1045
- <td class="name">
1046
- <code>
1047
-
1048
- </code>
1049
- </td>
1050
- <td class="name"><code><p>关闭popup弹窗</p></code></td>
1051
- </tr>
1052
-
1053
- <tr class="deep-level-0">
1054
- <td class="name"><code><a href="#open">open</a></code></td>
1055
- <td class="name">
1056
- <code>
1057
-
1058
- </code>
1059
- </td>
1060
- <td class="name"><code><p>打开popup弹窗</p></code></td>
1061
- </tr>
1062
-
1063
- <tr class="deep-level-0">
1064
- <td class="name"><code><a href="#openPopup">openPopup</a></code></td>
1065
- <td class="name">
1066
- <code>
1067
-
1068
- </code>
1069
- </td>
1070
- <td class="name"><code><p>打开popup弹窗</p></code></td>
1071
- </tr>
1072
-
1073
- </tbody>
1074
- </table>
1075
- </div>
1076
- <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
1077
963
 
1078
964
  <div class="member">
1079
965
 
@@ -1082,7 +968,7 @@ mapView.popup.close(popupObj)
1082
968
  <h4 class="name" id="close">
1083
969
  <a class="href-link" href="#close">#</a>
1084
970
 
1085
- <span class="code-name" id="close" style="font-size:30px">
971
+ <span class="code-name" style="font-size:30px">
1086
972
 
1087
973
  close<span class="signature">()</span>
1088
974
 
@@ -1173,7 +1059,7 @@ mapView.popup.close(popupObj)
1173
1059
  <h4 class="name" id="open">
1174
1060
  <a class="href-link" href="#open">#</a>
1175
1061
 
1176
- <span class="code-name" id="open" style="font-size:30px">
1062
+ <span class="code-name" style="font-size:30px">
1177
1063
 
1178
1064
  open<span class="signature">(options)</span>
1179
1065
 
@@ -1195,7 +1081,7 @@ mapView.popup.close(popupObj)
1195
1081
 
1196
1082
 
1197
1083
 
1198
- <h4>参数</h4>
1084
+ <h4>参数:</h4>
1199
1085
 
1200
1086
  <div class="table-container">
1201
1087
  <table class="params table">
@@ -1225,12 +1111,7 @@ mapView.popup.close(popupObj)
1225
1111
  <td class="type">
1226
1112
 
1227
1113
 
1228
- <span class="param-type">
1229
-
1230
- Object
1231
-
1232
- </span>
1233
-
1114
+ <span class="param-type">Object</span>
1234
1115
 
1235
1116
 
1236
1117
 
@@ -1318,7 +1199,7 @@ mapView.popup.close(popupObj)
1318
1199
  <h4 class="name" id="openPopup">
1319
1200
  <a class="href-link" href="#openPopup">#</a>
1320
1201
 
1321
- <span class="code-name" id="openPopup" style="font-size:30px">
1202
+ <span class="code-name" style="font-size:30px">
1322
1203
 
1323
1204
  openPopup<span class="signature">(options)</span>
1324
1205
 
@@ -1340,7 +1221,7 @@ mapView.popup.close(popupObj)
1340
1221
 
1341
1222
 
1342
1223
 
1343
- <h4>参数</h4>
1224
+ <h4>参数:</h4>
1344
1225
 
1345
1226
  <div class="table-container">
1346
1227
  <table class="params table">
@@ -1370,12 +1251,7 @@ mapView.popup.close(popupObj)
1370
1251
  <td class="type">
1371
1252
 
1372
1253
 
1373
- <span class="param-type">
1374
-
1375
- Object
1376
-
1377
- </span>
1378
-
1254
+ <span class="param-type">Object</span>
1379
1255
 
1380
1256
 
1381
1257
 
@@ -1465,4 +1341,42 @@ mapView.popup.close(popupObj)
1465
1341
 
1466
1342
  </article>
1467
1343
 
1468
- </section>
1344
+ </section>
1345
+
1346
+
1347
+
1348
+
1349
+ </div>
1350
+
1351
+ <footer class="footer">
1352
+ <div class="content has-text-centered">
1353
+ <p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
1354
+ <p class="sidebar-created-by">
1355
+ <a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
1356
+ <a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
1357
+ </p>
1358
+ </div>
1359
+ </footer>
1360
+
1361
+ </div>
1362
+ <div id="side-nav" class="side-nav">
1363
+ <div style="margin-bottom: 10px;">
1364
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
1365
+ </div>
1366
+ <div style="margin-bottom: 10px;">
1367
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
1368
+ </div>
1369
+ <div style="margin-bottom: 10px;">
1370
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
1371
+ </div>
1372
+ <div>
1373
+ <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
1374
+ </div>
1375
+ </div>
1376
+ </div>
1377
+ <script src="scripts/linenumber.js"> </script>
1378
+
1379
+ <script src="scripts/search.js"> </script>
1380
+
1381
+ </body>
1382
+ </html>