@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.
- package/README.md +243 -89
- package/dist/es5/webclient-common.min.js +4 -4
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -1
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -1
- package/documention/EchartsLayer.html +8 -177
- package/documention/MapViewMapboxgl.html +77 -193
- package/documention/Popup.html +40 -189
- package/documention/Screenshot.html +19 -185
- package/documention/SketchEditorMapboxgl.html +57 -195
- package/documention/global.html +7 -178
- package/documention/index.html +6 -6
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapvLayer.html +10 -178
- package/documention/scripts/sideBar.js +98 -0
- package/documention/styles/app.min.css +1 -1
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +7 -155
- package/package.json +1 -1
|
@@ -1,142 +1,10 @@
|
|
|
1
|
-
|
|
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 MapViewMapboxgl</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">MapViewMapboxgl</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 "@mapgis/webclient-leaflet-plugin" <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">MapViewMapboxgl</span>
|
|
137
|
-
|
|
138
|
-
</header>
|
|
139
|
-
|
|
140
8
|
|
|
141
9
|
|
|
142
10
|
|
|
@@ -220,6 +88,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
220
88
|
<span class="param-type">Object</span>
|
|
221
89
|
|
|
222
90
|
|
|
91
|
+
|
|
223
92
|
|
|
224
93
|
</td>
|
|
225
94
|
|
|
@@ -246,6 +115,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
246
115
|
<span class="param-type">Map</span>
|
|
247
116
|
|
|
248
117
|
|
|
118
|
+
|
|
249
119
|
|
|
250
120
|
</td>
|
|
251
121
|
|
|
@@ -272,6 +142,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
272
142
|
<span class="param-type">String</span>
|
|
273
143
|
|
|
274
144
|
|
|
145
|
+
|
|
275
146
|
|
|
276
147
|
</td>
|
|
277
148
|
|
|
@@ -298,6 +169,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
298
169
|
<span class="param-type">Number</span>
|
|
299
170
|
|
|
300
171
|
|
|
172
|
+
|
|
301
173
|
|
|
302
174
|
</td>
|
|
303
175
|
|
|
@@ -326,6 +198,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
326
198
|
<span class="param-type">Point</span>
|
|
327
199
|
|
|
328
200
|
|
|
201
|
+
|
|
329
202
|
|
|
330
203
|
</td>
|
|
331
204
|
|
|
@@ -352,6 +225,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
352
225
|
<span class="param-type">Extent</span>
|
|
353
226
|
|
|
354
227
|
|
|
228
|
+
|
|
355
229
|
|
|
356
230
|
</td>
|
|
357
231
|
|
|
@@ -378,6 +252,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
378
252
|
<span class="param-type">Number</span>
|
|
379
253
|
|
|
380
254
|
|
|
255
|
+
|
|
381
256
|
|
|
382
257
|
</td>
|
|
383
258
|
|
|
@@ -404,6 +279,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
404
279
|
<span class="param-type">Number</span>
|
|
405
280
|
|
|
406
281
|
|
|
282
|
+
|
|
407
283
|
|
|
408
284
|
</td>
|
|
409
285
|
|
|
@@ -430,6 +306,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
430
306
|
<span class="param-type">Number</span>
|
|
431
307
|
|
|
432
308
|
|
|
309
|
+
|
|
433
310
|
|
|
434
311
|
</td>
|
|
435
312
|
|
|
@@ -456,6 +333,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
456
333
|
<span class="param-type">Object</span>
|
|
457
334
|
|
|
458
335
|
|
|
336
|
+
|
|
459
337
|
|
|
460
338
|
</td>
|
|
461
339
|
|
|
@@ -664,13 +542,14 @@ const mapView = new MapViewMapboxgl({
|
|
|
664
542
|
<tbody>
|
|
665
543
|
|
|
666
544
|
<tr class="deep-level-0">
|
|
667
|
-
<td class="name"><code><a href="
|
|
545
|
+
<td class="name"><code><a href="#engineType">engineType</a></code></td>
|
|
668
546
|
<td class="name">
|
|
669
547
|
<code>
|
|
670
548
|
|
|
671
549
|
<span class="param-type">Object</span>
|
|
672
550
|
|
|
673
551
|
|
|
552
|
+
|
|
674
553
|
</code>
|
|
675
554
|
</td>
|
|
676
555
|
<td class="name"><code><p>引擎类型,为'mapboxgl'</p></code></td>
|
|
@@ -690,6 +569,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
690
569
|
<span class="param-type">Object</span>
|
|
691
570
|
|
|
692
571
|
|
|
572
|
+
|
|
693
573
|
</span>
|
|
694
574
|
|
|
695
575
|
<h4 class="name" id="engineType">
|
|
@@ -777,12 +657,13 @@ const mapView = new MapViewMapboxgl({
|
|
|
777
657
|
<tbody>
|
|
778
658
|
|
|
779
659
|
<tr class="deep-level-0">
|
|
780
|
-
<td class="name"><code><a href="
|
|
660
|
+
<td class="name"><code><a href="#fromJSON">fromJSON</a></code></td>
|
|
781
661
|
<td class="name">
|
|
782
662
|
<code>
|
|
783
663
|
|
|
784
664
|
|
|
785
|
-
<span class="param-type"><a class="mapgis-link-name" title="MapView"
|
|
665
|
+
<span class="param-type"><a link="MapView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapView" MapView.html>MapView</a></span>
|
|
666
|
+
|
|
786
667
|
|
|
787
668
|
|
|
788
669
|
|
|
@@ -793,7 +674,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
793
674
|
</tr>
|
|
794
675
|
|
|
795
676
|
<tr class="deep-level-0">
|
|
796
|
-
<td class="name"><code><a href="
|
|
677
|
+
<td class="name"><code><a href="#flyTo">flyTo</a></code></td>
|
|
797
678
|
<td class="name">
|
|
798
679
|
<code>
|
|
799
680
|
|
|
@@ -803,7 +684,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
803
684
|
</tr>
|
|
804
685
|
|
|
805
686
|
<tr class="deep-level-0">
|
|
806
|
-
<td class="name"><code><a href="
|
|
687
|
+
<td class="name"><code><a href="#getCenter">getCenter</a></code></td>
|
|
807
688
|
<td class="name">
|
|
808
689
|
<code>
|
|
809
690
|
|
|
@@ -811,6 +692,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
811
692
|
<span class="param-type">Object</span>
|
|
812
693
|
|
|
813
694
|
|
|
695
|
+
|
|
814
696
|
|
|
815
697
|
</code>
|
|
816
698
|
</td>
|
|
@@ -818,7 +700,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
818
700
|
</tr>
|
|
819
701
|
|
|
820
702
|
<tr class="deep-level-0">
|
|
821
|
-
<td class="name"><code><a href="
|
|
703
|
+
<td class="name"><code><a href="#getExtent">getExtent</a></code></td>
|
|
822
704
|
<td class="name">
|
|
823
705
|
<code>
|
|
824
706
|
|
|
@@ -826,6 +708,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
826
708
|
<span class="param-type">Extent</span>
|
|
827
709
|
|
|
828
710
|
|
|
711
|
+
|
|
829
712
|
|
|
830
713
|
</code>
|
|
831
714
|
</td>
|
|
@@ -833,7 +716,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
833
716
|
</tr>
|
|
834
717
|
|
|
835
718
|
<tr class="deep-level-0">
|
|
836
|
-
<td class="name"><code><a href="
|
|
719
|
+
<td class="name"><code><a href="#getScale">getScale</a></code></td>
|
|
837
720
|
<td class="name">
|
|
838
721
|
<code>
|
|
839
722
|
|
|
@@ -841,6 +724,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
841
724
|
<span class="param-type">Number</span>
|
|
842
725
|
|
|
843
726
|
|
|
727
|
+
|
|
844
728
|
|
|
845
729
|
</code>
|
|
846
730
|
</td>
|
|
@@ -849,7 +733,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
849
733
|
</tr>
|
|
850
734
|
|
|
851
735
|
<tr class="deep-level-0">
|
|
852
|
-
<td class="name"><code><a href="
|
|
736
|
+
<td class="name"><code><a href="#getSize">getSize</a></code></td>
|
|
853
737
|
<td class="name">
|
|
854
738
|
<code>
|
|
855
739
|
|
|
@@ -857,6 +741,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
857
741
|
<span class="param-type">Object</span>
|
|
858
742
|
|
|
859
743
|
|
|
744
|
+
|
|
860
745
|
|
|
861
746
|
</code>
|
|
862
747
|
</td>
|
|
@@ -864,7 +749,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
864
749
|
</tr>
|
|
865
750
|
|
|
866
751
|
<tr class="deep-level-0">
|
|
867
|
-
<td class="name"><code><a href="
|
|
752
|
+
<td class="name"><code><a href="#getZoom">getZoom</a></code></td>
|
|
868
753
|
<td class="name">
|
|
869
754
|
<code>
|
|
870
755
|
|
|
@@ -872,6 +757,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
872
757
|
<span class="param-type">Number</span>
|
|
873
758
|
|
|
874
759
|
|
|
760
|
+
|
|
875
761
|
|
|
876
762
|
</code>
|
|
877
763
|
</td>
|
|
@@ -879,7 +765,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
879
765
|
</tr>
|
|
880
766
|
|
|
881
767
|
<tr class="deep-level-0">
|
|
882
|
-
<td class="name"><code><a href="
|
|
768
|
+
<td class="name"><code><a href="#goTo">goTo</a></code></td>
|
|
883
769
|
<td class="name">
|
|
884
770
|
<code>
|
|
885
771
|
|
|
@@ -889,7 +775,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
889
775
|
</tr>
|
|
890
776
|
|
|
891
777
|
<tr class="deep-level-0">
|
|
892
|
-
<td class="name"><code><a href="
|
|
778
|
+
<td class="name"><code><a href="#hitTest">hitTest</a></code></td>
|
|
893
779
|
<td class="name">
|
|
894
780
|
<code>
|
|
895
781
|
|
|
@@ -897,6 +783,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
897
783
|
<span class="param-type">Array</span>
|
|
898
784
|
|
|
899
785
|
|
|
786
|
+
|
|
900
787
|
|
|
901
788
|
</code>
|
|
902
789
|
</td>
|
|
@@ -904,7 +791,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
904
791
|
</tr>
|
|
905
792
|
|
|
906
793
|
<tr class="deep-level-0">
|
|
907
|
-
<td class="name"><code><a href="
|
|
794
|
+
<td class="name"><code><a href="#takeScreenshot">takeScreenshot</a></code></td>
|
|
908
795
|
<td class="name">
|
|
909
796
|
<code>
|
|
910
797
|
|
|
@@ -912,6 +799,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
912
799
|
<span class="param-type">Object</span>
|
|
913
800
|
|
|
914
801
|
|
|
802
|
+
|
|
915
803
|
|
|
916
804
|
</code>
|
|
917
805
|
</td>
|
|
@@ -919,7 +807,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
919
807
|
</tr>
|
|
920
808
|
|
|
921
809
|
<tr class="deep-level-0">
|
|
922
|
-
<td class="name"><code><a href="
|
|
810
|
+
<td class="name"><code><a href="#toJSON">toJSON</a></code></td>
|
|
923
811
|
<td class="name">
|
|
924
812
|
<code>
|
|
925
813
|
|
|
@@ -927,6 +815,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
927
815
|
<span class="param-type">Object</span>
|
|
928
816
|
|
|
929
817
|
|
|
818
|
+
|
|
930
819
|
|
|
931
820
|
</code>
|
|
932
821
|
</td>
|
|
@@ -935,7 +824,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
935
824
|
</tr>
|
|
936
825
|
|
|
937
826
|
<tr class="deep-level-0">
|
|
938
|
-
<td class="name"><code><a href="
|
|
827
|
+
<td class="name"><code><a href="#toMap">toMap</a></code></td>
|
|
939
828
|
<td class="name">
|
|
940
829
|
<code>
|
|
941
830
|
|
|
@@ -943,6 +832,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
943
832
|
<span class="param-type">Point</span>
|
|
944
833
|
|
|
945
834
|
|
|
835
|
+
|
|
946
836
|
|
|
947
837
|
</code>
|
|
948
838
|
</td>
|
|
@@ -951,7 +841,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
951
841
|
</tr>
|
|
952
842
|
|
|
953
843
|
<tr class="deep-level-0">
|
|
954
|
-
<td class="name"><code><a href="
|
|
844
|
+
<td class="name"><code><a href="#toScreen">toScreen</a></code></td>
|
|
955
845
|
<td class="name">
|
|
956
846
|
<code>
|
|
957
847
|
|
|
@@ -959,6 +849,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
959
849
|
<span class="param-type">Object</span>
|
|
960
850
|
|
|
961
851
|
|
|
852
|
+
|
|
962
853
|
|
|
963
854
|
</code>
|
|
964
855
|
</td>
|
|
@@ -1038,6 +929,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1038
929
|
<span class="param-type">Object</span>
|
|
1039
930
|
|
|
1040
931
|
|
|
932
|
+
|
|
1041
933
|
|
|
1042
934
|
</td>
|
|
1043
935
|
|
|
@@ -1121,7 +1013,8 @@ const mapView = new MapViewMapboxgl({
|
|
|
1121
1013
|
<div class='column is-5 has-text-left'>
|
|
1122
1014
|
<label>类型: </label>
|
|
1123
1015
|
|
|
1124
|
-
<span class="param-type"><a class="mapgis-link-name" title="MapView"
|
|
1016
|
+
<span class="param-type"><a link="MapView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapView" MapView.html>MapView</a></span>
|
|
1017
|
+
|
|
1125
1018
|
|
|
1126
1019
|
|
|
1127
1020
|
</div>
|
|
@@ -1218,6 +1111,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1218
1111
|
<span class="param-type">Array</span>
|
|
1219
1112
|
|
|
1220
1113
|
|
|
1114
|
+
|
|
1221
1115
|
|
|
1222
1116
|
</td>
|
|
1223
1117
|
|
|
@@ -1240,6 +1134,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1240
1134
|
<span class="param-type">Number</span>
|
|
1241
1135
|
|
|
1242
1136
|
|
|
1137
|
+
|
|
1243
1138
|
|
|
1244
1139
|
</td>
|
|
1245
1140
|
|
|
@@ -1262,6 +1157,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1262
1157
|
<span class="param-type">Extent</span>
|
|
1263
1158
|
|
|
1264
1159
|
|
|
1160
|
+
|
|
1265
1161
|
|
|
1266
1162
|
</td>
|
|
1267
1163
|
|
|
@@ -1521,6 +1417,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1521
1417
|
<span class="param-type">Object</span>
|
|
1522
1418
|
|
|
1523
1419
|
|
|
1420
|
+
|
|
1524
1421
|
</div>
|
|
1525
1422
|
|
|
1526
1423
|
</div>
|
|
@@ -1637,6 +1534,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1637
1534
|
<span class="param-type">Extent</span>
|
|
1638
1535
|
|
|
1639
1536
|
|
|
1537
|
+
|
|
1640
1538
|
</div>
|
|
1641
1539
|
|
|
1642
1540
|
</div>
|
|
@@ -1754,6 +1652,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1754
1652
|
<span class="param-type">Number</span>
|
|
1755
1653
|
|
|
1756
1654
|
|
|
1655
|
+
|
|
1757
1656
|
</div>
|
|
1758
1657
|
|
|
1759
1658
|
</div>
|
|
@@ -1870,6 +1769,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1870
1769
|
<span class="param-type">Object</span>
|
|
1871
1770
|
|
|
1872
1771
|
|
|
1772
|
+
|
|
1873
1773
|
</div>
|
|
1874
1774
|
|
|
1875
1775
|
</div>
|
|
@@ -1986,6 +1886,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1986
1886
|
<span class="param-type">Number</span>
|
|
1987
1887
|
|
|
1988
1888
|
|
|
1889
|
+
|
|
1989
1890
|
</div>
|
|
1990
1891
|
|
|
1991
1892
|
</div>
|
|
@@ -2089,6 +1990,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2089
1990
|
<span class="param-type">Array</span>
|
|
2090
1991
|
|
|
2091
1992
|
|
|
1993
|
+
|
|
2092
1994
|
|
|
2093
1995
|
</td>
|
|
2094
1996
|
|
|
@@ -2115,6 +2017,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2115
2017
|
<span class="param-type">Number</span>
|
|
2116
2018
|
|
|
2117
2019
|
|
|
2020
|
+
|
|
2118
2021
|
|
|
2119
2022
|
</td>
|
|
2120
2023
|
|
|
@@ -2141,6 +2044,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2141
2044
|
<span class="param-type">Number</span>
|
|
2142
2045
|
|
|
2143
2046
|
|
|
2047
|
+
|
|
2144
2048
|
|
|
2145
2049
|
</td>
|
|
2146
2050
|
|
|
@@ -2173,6 +2077,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2173
2077
|
<span class="param-type">Collection.<Geometry></span>
|
|
2174
2078
|
|
|
2175
2079
|
|
|
2080
|
+
|
|
2176
2081
|
|
|
2177
2082
|
</td>
|
|
2178
2083
|
|
|
@@ -2225,6 +2130,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2225
2130
|
<span class="param-type">Boolean</span>
|
|
2226
2131
|
|
|
2227
2132
|
|
|
2133
|
+
|
|
2228
2134
|
|
|
2229
2135
|
</td>
|
|
2230
2136
|
|
|
@@ -2253,6 +2159,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2253
2159
|
<span class="param-type">Number</span>
|
|
2254
2160
|
|
|
2255
2161
|
|
|
2162
|
+
|
|
2256
2163
|
|
|
2257
2164
|
</td>
|
|
2258
2165
|
|
|
@@ -2467,6 +2374,7 @@ mapView
|
|
|
2467
2374
|
<span class="param-type">Object</span>
|
|
2468
2375
|
|
|
2469
2376
|
|
|
2377
|
+
|
|
2470
2378
|
|
|
2471
2379
|
</td>
|
|
2472
2380
|
|
|
@@ -2555,6 +2463,7 @@ mapView
|
|
|
2555
2463
|
<span class="param-type">Array</span>
|
|
2556
2464
|
|
|
2557
2465
|
|
|
2466
|
+
|
|
2558
2467
|
</div>
|
|
2559
2468
|
|
|
2560
2469
|
</div>
|
|
@@ -2711,6 +2620,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2711
2620
|
<span class="param-type">Object</span>
|
|
2712
2621
|
|
|
2713
2622
|
|
|
2623
|
+
|
|
2714
2624
|
|
|
2715
2625
|
</td>
|
|
2716
2626
|
|
|
@@ -2739,6 +2649,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2739
2649
|
<span class="param-type">PictureFormat</span>
|
|
2740
2650
|
|
|
2741
2651
|
|
|
2652
|
+
|
|
2742
2653
|
|
|
2743
2654
|
</td>
|
|
2744
2655
|
|
|
@@ -2767,6 +2678,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2767
2678
|
<span class="param-type">String</span>
|
|
2768
2679
|
|
|
2769
2680
|
|
|
2681
|
+
|
|
2770
2682
|
|
|
2771
2683
|
</td>
|
|
2772
2684
|
|
|
@@ -2795,6 +2707,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2795
2707
|
<span class="param-type">Number</span>
|
|
2796
2708
|
|
|
2797
2709
|
|
|
2710
|
+
|
|
2798
2711
|
|
|
2799
2712
|
</td>
|
|
2800
2713
|
|
|
@@ -2821,6 +2734,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2821
2734
|
<span class="param-type">Number</span>
|
|
2822
2735
|
|
|
2823
2736
|
|
|
2737
|
+
|
|
2824
2738
|
|
|
2825
2739
|
</td>
|
|
2826
2740
|
|
|
@@ -2847,6 +2761,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2847
2761
|
<span class="param-type">Number</span>
|
|
2848
2762
|
|
|
2849
2763
|
|
|
2764
|
+
|
|
2850
2765
|
|
|
2851
2766
|
</td>
|
|
2852
2767
|
|
|
@@ -2873,6 +2788,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2873
2788
|
<span class="param-type">Number</span>
|
|
2874
2789
|
|
|
2875
2790
|
|
|
2791
|
+
|
|
2876
2792
|
|
|
2877
2793
|
</td>
|
|
2878
2794
|
|
|
@@ -2899,6 +2815,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2899
2815
|
<span class="param-type">Boolean</span>
|
|
2900
2816
|
|
|
2901
2817
|
|
|
2818
|
+
|
|
2902
2819
|
|
|
2903
2820
|
</td>
|
|
2904
2821
|
|
|
@@ -2996,6 +2913,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2996
2913
|
<span class="param-type">Object</span>
|
|
2997
2914
|
|
|
2998
2915
|
|
|
2916
|
+
|
|
2999
2917
|
</div>
|
|
3000
2918
|
|
|
3001
2919
|
</div>
|
|
@@ -3145,6 +3063,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3145
3063
|
<span class="param-type">Object</span>
|
|
3146
3064
|
|
|
3147
3065
|
|
|
3066
|
+
|
|
3148
3067
|
</div>
|
|
3149
3068
|
|
|
3150
3069
|
</div>
|
|
@@ -3223,6 +3142,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3223
3142
|
<span class="param-type">Object</span>
|
|
3224
3143
|
|
|
3225
3144
|
|
|
3145
|
+
|
|
3226
3146
|
|
|
3227
3147
|
</td>
|
|
3228
3148
|
|
|
@@ -3311,6 +3231,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3311
3231
|
<span class="param-type">Point</span>
|
|
3312
3232
|
|
|
3313
3233
|
|
|
3234
|
+
|
|
3314
3235
|
</div>
|
|
3315
3236
|
|
|
3316
3237
|
</div>
|
|
@@ -3411,6 +3332,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
3411
3332
|
<span class="param-type">Point</span>
|
|
3412
3333
|
|
|
3413
3334
|
|
|
3335
|
+
|
|
3414
3336
|
|
|
3415
3337
|
</td>
|
|
3416
3338
|
|
|
@@ -3499,6 +3421,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
3499
3421
|
<span class="param-type">Object</span>
|
|
3500
3422
|
|
|
3501
3423
|
|
|
3424
|
+
|
|
3502
3425
|
</div>
|
|
3503
3426
|
|
|
3504
3427
|
</div>
|
|
@@ -3545,43 +3468,4 @@ mapView.toScreen(geoPoint)</code></pre>
|
|
|
3545
3468
|
|
|
3546
3469
|
</article>
|
|
3547
3470
|
|
|
3548
|
-
</section>
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
</div>
|
|
3554
|
-
|
|
3555
|
-
<footer class="footer">
|
|
3556
|
-
<div class="content has-text-centered">
|
|
3557
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.0.0</a></p>
|
|
3558
|
-
<p class="sidebar-created-by">
|
|
3559
|
-
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
3560
|
-
<a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
3561
|
-
</p>
|
|
3562
|
-
</div>
|
|
3563
|
-
</footer>
|
|
3564
|
-
|
|
3565
|
-
</div>
|
|
3566
|
-
<div id="side-nav" class="side-nav">
|
|
3567
|
-
<div style="margin-bottom: 10px;">
|
|
3568
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
3569
|
-
</div>
|
|
3570
|
-
<div style="margin-bottom: 10px;">
|
|
3571
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
3572
|
-
</div>
|
|
3573
|
-
<div style="margin-bottom: 10px;">
|
|
3574
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
3575
|
-
</div>
|
|
3576
|
-
<div>
|
|
3577
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
3578
|
-
</div>
|
|
3579
|
-
</div>
|
|
3580
|
-
</div>
|
|
3581
|
-
<script src="scripts/linenumber.js"> </script>
|
|
3582
|
-
|
|
3583
|
-
<script src="scripts/search.js"> </script>
|
|
3584
|
-
|
|
3585
|
-
<script src="scripts/sideBar.js"> </script>
|
|
3586
|
-
</body>
|
|
3587
|
-
</html>
|
|
3471
|
+
</section>
|