@mapgis/webclient-mapboxgl-plugin 17.0.0 → 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.
@@ -1,142 +1,10 @@
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 Screenshot</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>
1
+ <header id="page-title" class="page-title">
23
2
 
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">Screenshot</span>
5
+
6
+ </header>
24
7
 
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 onclick="toggleSideBar('ViewModule-sidebar')" id="ViewModule" 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 id="ViewModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapViewMapboxgl" href="MapViewMapboxgl.html">MapViewMapboxgl</a><img id="MapViewMapboxgl-detail-arrow" onclick="toggleLinkDetail('MapViewMapboxgl-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维场景视图(mapboxgl引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
108
- 参考示例:
109
- <a href='#MapViewMapboxgl'>[初始化二维场景视图]</a>
110
- <br>[ES5引入方式]:<br/>
111
- Zondy.MapViewMapboxgl() <br/>
112
- [ES6引入方式]:<br/>
113
- import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p></span></li><div class="mapgis-link-detail" id="MapViewMapboxgl-detail"><div><a href="MapViewMapboxgl.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="MapViewMapboxgl.html#function">方法</a></div><div><ul><li><a title="fromJSON" class="mapgis-link-name" href="MapViewMapboxgl.html#fromJSON">fromJSON</a></li><li><a title="flyTo" class="mapgis-link-name" href="MapViewMapboxgl.html#flyTo">flyTo</a></li><li><a title="getCenter" class="mapgis-link-name" href="MapViewMapboxgl.html#getCenter">getCenter</a></li><li><a title="getExtent" class="mapgis-link-name" href="MapViewMapboxgl.html#getExtent">getExtent</a></li><li><a title="getScale" class="mapgis-link-name" href="MapViewMapboxgl.html#getScale">getScale</a></li><li><a title="getSize" class="mapgis-link-name" href="MapViewMapboxgl.html#getSize">getSize</a></li><li><a title="getZoom" class="mapgis-link-name" href="MapViewMapboxgl.html#getZoom">getZoom</a></li><li><a title="goTo" class="mapgis-link-name" href="MapViewMapboxgl.html#goTo">goTo</a></li><li><a title="hitTest" class="mapgis-link-name" href="MapViewMapboxgl.html#hitTest">hitTest</a></li><li><a title="takeScreenshot" class="mapgis-link-name" href="MapViewMapboxgl.html#takeScreenshot">takeScreenshot</a></li><li><a title="toJSON" class="mapgis-link-name" href="MapViewMapboxgl.html#toJSON">toJSON</a></li><li><a title="toMap" class="mapgis-link-name" href="MapViewMapboxgl.html#toMap">toMap</a></li><li><a title="toScreen" class="mapgis-link-name" href="MapViewMapboxgl.html#toScreen">toScreen</a></li></ul></div><div><a class="mapgis-link-name" href="MapViewMapboxgl.html#member">成员变量</a></div><div><ul><li><a title="engineType" class="mapgis-link-name" href="MapViewMapboxgl.html#engineType">engineType</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" href="Popup.html">Popup</a><img id="Popup-detail-arrow" onclick="toggleLinkDetail('Popup-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><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><div class="mapgis-link-detail" id="Popup-detail"><div><a href="Popup.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Popup.html#function">方法</a></div><div><ul><li><a title="close" class="mapgis-link-name" href="Popup.html#close">close</a></li><li><a title="open" class="mapgis-link-name" href="Popup.html#open">open</a></li><li><a title="openPopup" class="mapgis-link-name" href="Popup.html#openPopup">openPopup</a></li></ul></div><div><a class="mapgis-link-name" href="Popup.html#member">成员变量</a></div><div><ul><li><a title="alignment" class="mapgis-link-name" href="Popup.html#alignment">alignment</a></li><li><a title="content" class="mapgis-link-name" href="Popup.html#content">content</a></li><li><a title="defaultButtons" class="mapgis-link-name" href="Popup.html#defaultButtons">defaultButtons</a></li><li><a title="location" class="mapgis-link-name" href="Popup.html#location">location</a></li><li><a title="title" class="mapgis-link-name" href="Popup.html#title">title</a></li><li><a title="view" class="mapgis-link-name" href="Popup.html#view">view</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Screenshot" href="Screenshot.html">Screenshot</a><img id="Screenshot-detail-arrow" onclick="toggleLinkDetail('Screenshot-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>打印工具</p></span></li><div class="mapgis-link-detail" id="Screenshot-detail"><div><a href="Screenshot.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Screenshot.html#member">成员变量</a></div><div><ul><li><a title="filename" class="mapgis-link-name" href="Screenshot.html#filename">filename</a></li><li><a title="format" class="mapgis-link-name" href="Screenshot.html#format">format</a></li><li><a title="height" class="mapgis-link-name" href="Screenshot.html#height">height</a></li><li><a title="isDownload" class="mapgis-link-name" href="Screenshot.html#isDownload">isDownload</a></li><li><a title="view" class="mapgis-link-name" href="Screenshot.html#view">view</a></li><li><a title="width" class="mapgis-link-name" href="Screenshot.html#width">width</a></li><li><a title="x" class="mapgis-link-name" href="Screenshot.html#x">x</a></li><li><a title="y" class="mapgis-link-name" href="Screenshot.html#y">y</a></li></ul></div></div></ul><div onclick="toggleSideBar('SketchEditorModule-sidebar')" id="SketchEditorModule" 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 id="SketchEditorModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SketchEditorMapboxgl" href="SketchEditorMapboxgl.html">SketchEditorMapboxgl</a><img id="SketchEditorMapboxgl-detail-arrow" onclick="toggleLinkDetail('SketchEditorMapboxgl-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维Mapboxgl引擎草图编辑类<br/>
124
- <br>[ES5引入方式]:<br/>
125
- const { SketchEditorMapboxgl } = Zondy <br/>
126
- [ES6引入方式]:<br/>
127
- import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/></p></span></li><div class="mapgis-link-detail" id="SketchEditorMapboxgl-detail"><div><a href="SketchEditorMapboxgl.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="SketchEditorMapboxgl.html#function">方法</a></div><div><ul><li><a title="addVertex" class="mapgis-link-name" href="SketchEditorMapboxgl.html#addVertex">addVertex</a></li><li><a title="canRedo" class="mapgis-link-name" href="SketchEditorMapboxgl.html#canRedo">canRedo</a></li><li><a title="canUndo" class="mapgis-link-name" href="SketchEditorMapboxgl.html#canUndo">canUndo</a></li><li><a title="drawPolylineToPolygon" class="mapgis-link-name" href="SketchEditorMapboxgl.html#drawPolylineToPolygon">drawPolylineToPolygon</a></li><li><a title="getGeometry" class="mapgis-link-name" href="SketchEditorMapboxgl.html#getGeometry">getGeometry</a></li><li><a title="getSketchStyle" class="mapgis-link-name" href="SketchEditorMapboxgl.html#getSketchStyle">getSketchStyle</a></li><li><a title="redo" class="mapgis-link-name" href="SketchEditorMapboxgl.html#redo">redo</a></li><li><a title="remove" class="mapgis-link-name" href="SketchEditorMapboxgl.html#remove">remove</a></li><li><a title="removeVertex" class="mapgis-link-name" href="SketchEditorMapboxgl.html#removeVertex">removeVertex</a></li><li><a title="setSketchStyle" class="mapgis-link-name" href="SketchEditorMapboxgl.html#setSketchStyle">setSketchStyle</a></li><li><a title="split" class="mapgis-link-name" href="SketchEditorMapboxgl.html#split">split</a></li><li><a title="start" class="mapgis-link-name" href="SketchEditorMapboxgl.html#start">start</a></li><li><a title="startCustomDrawTool" class="mapgis-link-name" href="SketchEditorMapboxgl.html#startCustomDrawTool">startCustomDrawTool</a></li><li><a title="stop" class="mapgis-link-name" href="SketchEditorMapboxgl.html#stop">stop</a></li><li><a title="undo" class="mapgis-link-name" href="SketchEditorMapboxgl.html#undo">undo</a></li><li><a title="union" class="mapgis-link-name" href="SketchEditorMapboxgl.html#union">union</a></li><li><a title="updateVertex" class="mapgis-link-name" href="SketchEditorMapboxgl.html#updateVertex">updateVertex</a></li></ul></div></div></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
-
135
- <span class="page-title-main">类名</span>
136
- <span class="page-title-sub">Screenshot</span>
137
-
138
- </header>
139
-
140
8
 
141
9
 
142
10
 
@@ -212,6 +80,7 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
212
80
  <span class="param-type">Object</span>
213
81
 
214
82
 
83
+
215
84
 
216
85
  </td>
217
86
 
@@ -234,6 +103,7 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
234
103
  <span class="param-type">Array.&lt;String></span>
235
104
 
236
105
 
106
+
237
107
 
238
108
  </td>
239
109
 
@@ -256,6 +126,7 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
256
126
  <span class="param-type">String</span>
257
127
 
258
128
 
129
+
259
130
 
260
131
  </td>
261
132
 
@@ -278,6 +149,7 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
278
149
  <span class="param-type">Boolean</span>
279
150
 
280
151
 
152
+
281
153
 
282
154
  </td>
283
155
 
@@ -300,6 +172,7 @@ import { SketchEditorMapboxgl } from &quot;@mapgis/webclient-leaflet-plugin&quot
300
172
  <span class="param-type">Boolean</span>
301
173
 
302
174
 
175
+
303
176
 
304
177
  </td>
305
178
 
@@ -455,7 +328,7 @@ mapView.ui.add(screenshot)</code></pre>
455
328
  <tbody>
456
329
 
457
330
  <tr class="deep-level-0">
458
- <td class="name"><code><a href="Screenshot.html#filename">filename</a></code></td>
331
+ <td class="name"><code><a href="#filename">filename</a></code></td>
459
332
  <td class="name">
460
333
  <code>
461
334
 
@@ -465,7 +338,7 @@ mapView.ui.add(screenshot)</code></pre>
465
338
  </tr>
466
339
 
467
340
  <tr class="deep-level-0">
468
- <td class="name"><code><a href="Screenshot.html#format">format</a></code></td>
341
+ <td class="name"><code><a href="#format">format</a></code></td>
469
342
  <td class="name">
470
343
  <code>
471
344
 
@@ -475,7 +348,7 @@ mapView.ui.add(screenshot)</code></pre>
475
348
  </tr>
476
349
 
477
350
  <tr class="deep-level-0">
478
- <td class="name"><code><a href="Screenshot.html#height">height</a></code></td>
351
+ <td class="name"><code><a href="#height">height</a></code></td>
479
352
  <td class="name">
480
353
  <code>
481
354
 
@@ -485,7 +358,7 @@ mapView.ui.add(screenshot)</code></pre>
485
358
  </tr>
486
359
 
487
360
  <tr class="deep-level-0">
488
- <td class="name"><code><a href="Screenshot.html#isDownload">isDownload</a></code></td>
361
+ <td class="name"><code><a href="#isDownload">isDownload</a></code></td>
489
362
  <td class="name">
490
363
  <code>
491
364
 
@@ -495,7 +368,7 @@ mapView.ui.add(screenshot)</code></pre>
495
368
  </tr>
496
369
 
497
370
  <tr class="deep-level-0">
498
- <td class="name"><code><a href="Screenshot.html#view">view</a></code></td>
371
+ <td class="name"><code><a href="#view">view</a></code></td>
499
372
  <td class="name">
500
373
  <code>
501
374
 
@@ -505,7 +378,7 @@ mapView.ui.add(screenshot)</code></pre>
505
378
  </tr>
506
379
 
507
380
  <tr class="deep-level-0">
508
- <td class="name"><code><a href="Screenshot.html#width">width</a></code></td>
381
+ <td class="name"><code><a href="#width">width</a></code></td>
509
382
  <td class="name">
510
383
  <code>
511
384
 
@@ -515,7 +388,7 @@ mapView.ui.add(screenshot)</code></pre>
515
388
  </tr>
516
389
 
517
390
  <tr class="deep-level-0">
518
- <td class="name"><code><a href="Screenshot.html#x">x</a></code></td>
391
+ <td class="name"><code><a href="#x">x</a></code></td>
519
392
  <td class="name">
520
393
  <code>
521
394
 
@@ -525,7 +398,7 @@ mapView.ui.add(screenshot)</code></pre>
525
398
  </tr>
526
399
 
527
400
  <tr class="deep-level-0">
528
- <td class="name"><code><a href="Screenshot.html#y">y</a></code></td>
401
+ <td class="name"><code><a href="#y">y</a></code></td>
529
402
  <td class="name">
530
403
  <code>
531
404
 
@@ -1047,43 +920,4 @@ mapView.ui.add(screenshot)</code></pre>
1047
920
 
1048
921
  </article>
1049
922
 
1050
- </section>
1051
-
1052
-
1053
-
1054
-
1055
- </div>
1056
-
1057
- <footer class="footer">
1058
- <div class="content has-text-centered">
1059
- <p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.0.0</a></p>
1060
- <p class="sidebar-created-by">
1061
- <a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
1062
- <a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
1063
- </p>
1064
- </div>
1065
- </footer>
1066
-
1067
- </div>
1068
- <div id="side-nav" class="side-nav">
1069
- <div style="margin-bottom: 10px;">
1070
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
1071
- </div>
1072
- <div style="margin-bottom: 10px;">
1073
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
1074
- </div>
1075
- <div style="margin-bottom: 10px;">
1076
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
1077
- </div>
1078
- <div>
1079
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
1080
- </div>
1081
- </div>
1082
- </div>
1083
- <script src="scripts/linenumber.js"> </script>
1084
-
1085
- <script src="scripts/search.js"> </script>
1086
-
1087
- <script src="scripts/sideBar.js"> </script>
1088
- </body>
1089
- </html>
923
+ </section>