@mapgis/webclient-mapboxgl-plugin 17.4.1 → 17.4.8
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 +52 -0
- package/dist/es5/webclient-common.min.js +6 -6
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -1
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -1
- package/documention/EchartsLayer.html +2 -2
- package/documention/MapView.html +10 -8
- package/documention/MapViewMapboxgl.html +935 -287
- package/documention/Popup.html +3 -3
- package/documention/Screenshot.html +2 -2
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorMapboxgl.html +477 -241
- package/documention/global.html +27 -235
- package/documention/index.html +2 -2
- package/documention/initializeOptions.html +454 -0
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapvLayer.html +6 -2
- package/package.json +1 -1
|
@@ -1,140 +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 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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapViewMapboxgl.html">MapViewMapboxgl</a><span style="display: none;"><p>二维场景视图(mapboxgl引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
|
-
参考示例:
|
|
109
|
-
<a href='#MapViewMapboxgl'>[初始化二维场景视图]</a>
|
|
110
|
-
<br>[ES5引入方式]:<br/>
|
|
111
|
-
zondy.mapboxgl.MapView() <br/>
|
|
112
|
-
[ES6引入方式]:<br/>
|
|
113
|
-
import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p></span></li><li><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><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><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 "@mapgis/webclient-leaflet-plugin" <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">MapViewMapboxgl</span>
|
|
136
|
-
</header>
|
|
137
|
-
|
|
138
8
|
|
|
139
9
|
|
|
140
10
|
|
|
@@ -155,7 +25,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
155
25
|
<h4 class="name" id="MapViewMapboxgl">
|
|
156
26
|
<a class="href-link" href="#MapViewMapboxgl">#</a>
|
|
157
27
|
|
|
158
|
-
<span class="code-name" style="font-size:30px">
|
|
28
|
+
<span class="code-name" id="MapViewMapboxgl" style="font-size:30px">
|
|
159
29
|
|
|
160
30
|
new MapViewMapboxgl<span class="signature">(options)</span>
|
|
161
31
|
|
|
@@ -183,7 +53,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
183
53
|
|
|
184
54
|
|
|
185
55
|
|
|
186
|
-
<h4
|
|
56
|
+
<h4>参数</h4>
|
|
187
57
|
|
|
188
58
|
<div class="table-container">
|
|
189
59
|
<table class="params table">
|
|
@@ -215,7 +85,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
215
85
|
<td class="type">
|
|
216
86
|
|
|
217
87
|
|
|
218
|
-
<span class="param-type">
|
|
88
|
+
<span class="param-type">
|
|
89
|
+
|
|
90
|
+
Object
|
|
91
|
+
|
|
92
|
+
</span>
|
|
93
|
+
|
|
219
94
|
|
|
220
95
|
|
|
221
96
|
|
|
@@ -241,7 +116,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
241
116
|
<td class="type">
|
|
242
117
|
|
|
243
118
|
|
|
244
|
-
<span class="param-type">
|
|
119
|
+
<span class="param-type">
|
|
120
|
+
|
|
121
|
+
Map
|
|
122
|
+
|
|
123
|
+
</span>
|
|
124
|
+
|
|
245
125
|
|
|
246
126
|
|
|
247
127
|
|
|
@@ -267,7 +147,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
267
147
|
<td class="type">
|
|
268
148
|
|
|
269
149
|
|
|
270
|
-
<span class="param-type">
|
|
150
|
+
<span class="param-type">
|
|
151
|
+
|
|
152
|
+
String
|
|
153
|
+
|
|
154
|
+
</span>
|
|
155
|
+
|
|
271
156
|
|
|
272
157
|
|
|
273
158
|
|
|
@@ -293,7 +178,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
293
178
|
<td class="type">
|
|
294
179
|
|
|
295
180
|
|
|
296
|
-
<span class="param-type">
|
|
181
|
+
<span class="param-type">
|
|
182
|
+
|
|
183
|
+
Number
|
|
184
|
+
|
|
185
|
+
</span>
|
|
186
|
+
|
|
297
187
|
|
|
298
188
|
|
|
299
189
|
|
|
@@ -321,7 +211,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
321
211
|
<td class="type">
|
|
322
212
|
|
|
323
213
|
|
|
324
|
-
<span class="param-type">
|
|
214
|
+
<span class="param-type">
|
|
215
|
+
|
|
216
|
+
Point
|
|
217
|
+
|
|
218
|
+
</span>
|
|
219
|
+
|
|
325
220
|
|
|
326
221
|
|
|
327
222
|
|
|
@@ -347,7 +242,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
347
242
|
<td class="type">
|
|
348
243
|
|
|
349
244
|
|
|
350
|
-
<span class="param-type">
|
|
245
|
+
<span class="param-type">
|
|
246
|
+
|
|
247
|
+
Extent
|
|
248
|
+
|
|
249
|
+
</span>
|
|
250
|
+
|
|
351
251
|
|
|
352
252
|
|
|
353
253
|
|
|
@@ -373,7 +273,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
373
273
|
<td class="type">
|
|
374
274
|
|
|
375
275
|
|
|
376
|
-
<span class="param-type">
|
|
276
|
+
<span class="param-type">
|
|
277
|
+
|
|
278
|
+
Number
|
|
279
|
+
|
|
280
|
+
</span>
|
|
281
|
+
|
|
377
282
|
|
|
378
283
|
|
|
379
284
|
|
|
@@ -399,7 +304,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
399
304
|
<td class="type">
|
|
400
305
|
|
|
401
306
|
|
|
402
|
-
<span class="param-type">
|
|
307
|
+
<span class="param-type">
|
|
308
|
+
|
|
309
|
+
Number
|
|
310
|
+
|
|
311
|
+
</span>
|
|
312
|
+
|
|
403
313
|
|
|
404
314
|
|
|
405
315
|
|
|
@@ -411,7 +321,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
411
321
|
</td>
|
|
412
322
|
|
|
413
323
|
|
|
414
|
-
<td class="description last"><p>地图视图的最大比例尺(比例尺的分母,该值越小,比例尺越大)。视图的当前比列尺不会大于地图视图的最大比例尺。默认值为undefined,undefined
|
|
324
|
+
<td class="description last"><p>地图视图的最大比例尺(比例尺的分母,该值越小,比例尺越大)。视图的当前比列尺不会大于地图视图的最大比例尺。默认值为undefined,undefined表示用户未设置,地图视图会根据当前加载的图层,自动计算maxScale、minScale的值。如果用户设置了该值,则地图视图将直接采用用户设置的值。maxScale的值应该始终小于minScale的值。</p></td>
|
|
415
325
|
</tr>
|
|
416
326
|
|
|
417
327
|
|
|
@@ -425,7 +335,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
425
335
|
<td class="type">
|
|
426
336
|
|
|
427
337
|
|
|
428
|
-
<span class="param-type">
|
|
338
|
+
<span class="param-type">
|
|
339
|
+
|
|
340
|
+
Number
|
|
341
|
+
|
|
342
|
+
</span>
|
|
343
|
+
|
|
429
344
|
|
|
430
345
|
|
|
431
346
|
|
|
@@ -437,7 +352,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
437
352
|
</td>
|
|
438
353
|
|
|
439
354
|
|
|
440
|
-
<td class="description last"><p>地图视图的最小比例尺(比例尺的分母,该值越大,比例尺越小)。视图的当前比列尺不会小于地图视图的最小比例尺。默认值为undefined,undefined
|
|
355
|
+
<td class="description last"><p>地图视图的最小比例尺(比例尺的分母,该值越大,比例尺越小)。视图的当前比列尺不会小于地图视图的最小比例尺。默认值为undefined,undefined表示用户未设置,地图视图会根据当前加载的图层,自动计算maxScale、minScale的值。如果用户设置了该值,则地图视图将直接采用用户设置的值。minScale的值应该始终大于maxScale的值。</p></td>
|
|
441
356
|
</tr>
|
|
442
357
|
|
|
443
358
|
|
|
@@ -451,7 +366,12 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
451
366
|
<td class="type">
|
|
452
367
|
|
|
453
368
|
|
|
454
|
-
<span class="param-type">
|
|
369
|
+
<span class="param-type">
|
|
370
|
+
|
|
371
|
+
Object
|
|
372
|
+
|
|
373
|
+
</span>
|
|
374
|
+
|
|
455
375
|
|
|
456
376
|
|
|
457
377
|
|
|
@@ -520,40 +440,40 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
520
440
|
|
|
521
441
|
|
|
522
442
|
<div class="method-parameter columns">
|
|
523
|
-
<div class="column is-2"><label
|
|
443
|
+
<div class="column is-2"><label>绑定事件</label></div>
|
|
524
444
|
<div class="column is-10">
|
|
525
445
|
<ul>
|
|
526
|
-
<li
|
|
446
|
+
<li><a href="#地图视图加载完毕事件">地图视图加载完毕事件</a></li>
|
|
527
447
|
|
|
528
|
-
<li
|
|
448
|
+
<li><a href="#鼠标点击事件">鼠标点击事件</a></li>
|
|
529
449
|
|
|
530
|
-
<li
|
|
450
|
+
<li><a href="#鼠标双击事件">鼠标双击事件</a></li>
|
|
531
451
|
|
|
532
|
-
<li
|
|
452
|
+
<li><a href="#鼠标按下事件">鼠标按下事件</a></li>
|
|
533
453
|
|
|
534
|
-
<li
|
|
454
|
+
<li><a href="#鼠标抬起事件">鼠标抬起事件</a></li>
|
|
535
455
|
|
|
536
|
-
<li
|
|
456
|
+
<li><a href="#鼠标右键点击事件">鼠标右键点击事件</a></li>
|
|
537
457
|
|
|
538
|
-
<li
|
|
458
|
+
<li><a href="#鼠标移动事件">鼠标移动事件</a></li>
|
|
539
459
|
|
|
540
|
-
<li
|
|
460
|
+
<li><a href="#鼠标移出视图事件">鼠标移出视图事件</a></li>
|
|
541
461
|
|
|
542
|
-
<li
|
|
462
|
+
<li><a href="#鼠标移入视图事件">鼠标移入视图事件</a></li>
|
|
543
463
|
|
|
544
|
-
<li
|
|
464
|
+
<li><a href="#zoom变化事件">zoom变化事件</a></li>
|
|
545
465
|
|
|
546
|
-
<li
|
|
466
|
+
<li><a href="#地图移动事件">地图移动事件</a></li>
|
|
547
467
|
|
|
548
|
-
<li
|
|
468
|
+
<li><a href="#地图大小变化事件">地图大小变化事件</a></li>
|
|
549
469
|
|
|
550
|
-
<li
|
|
470
|
+
<li><a href="#键盘输入事件">键盘输入事件</a></li>
|
|
551
471
|
|
|
552
|
-
<li
|
|
472
|
+
<li><a href="#键盘按下事件">键盘按下事件</a></li>
|
|
553
473
|
|
|
554
|
-
<li
|
|
474
|
+
<li><a href="#键盘抬起事件">键盘抬起事件</a></li>
|
|
555
475
|
|
|
556
|
-
<li
|
|
476
|
+
<li><a href="#地图视图改变事件">地图视图改变事件</a></li>
|
|
557
477
|
</ul>
|
|
558
478
|
</div>
|
|
559
479
|
</div>
|
|
@@ -649,6 +569,274 @@ const mapView = new MapViewMapboxgl({
|
|
|
649
569
|
|
|
650
570
|
<div class='vertical-section'>
|
|
651
571
|
<h3 id='member'>成员变量</h3>
|
|
572
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
573
|
+
<div class="table-container">
|
|
574
|
+
<table class="params table">
|
|
575
|
+
<thead>
|
|
576
|
+
<tr>
|
|
577
|
+
<th>名称</th>
|
|
578
|
+
<th>类型</th>
|
|
579
|
+
<th>描述</th>
|
|
580
|
+
</tr>
|
|
581
|
+
</thead>
|
|
582
|
+
<tbody>
|
|
583
|
+
|
|
584
|
+
<tr class="deep-level-0">
|
|
585
|
+
<td class="name"><code><a href="#_spatialReference">_spatialReference</a></code></td>
|
|
586
|
+
<td class="name">
|
|
587
|
+
<code>
|
|
588
|
+
|
|
589
|
+
<span class="param-type">
|
|
590
|
+
|
|
591
|
+
SpatialReference
|
|
592
|
+
|
|
593
|
+
</span>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
</code>
|
|
598
|
+
</td>
|
|
599
|
+
<td class="name"><code><p>视图空间参考系</p></code></td>
|
|
600
|
+
</tr>
|
|
601
|
+
|
|
602
|
+
<tr class="deep-level-0">
|
|
603
|
+
<td class="name"><code><a href="#center">center</a></code></td>
|
|
604
|
+
<td class="name">
|
|
605
|
+
<code>
|
|
606
|
+
|
|
607
|
+
<span class="param-type">
|
|
608
|
+
|
|
609
|
+
Point
|
|
610
|
+
|
|
611
|
+
</span>
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
</code>
|
|
616
|
+
</td>
|
|
617
|
+
<td class="name"><code><p>地图视图中心点</p></code></td>
|
|
618
|
+
</tr>
|
|
619
|
+
|
|
620
|
+
<tr class="deep-level-0">
|
|
621
|
+
<td class="name"><code><a href="#engineType">engineType</a></code></td>
|
|
622
|
+
<td class="name">
|
|
623
|
+
<code>
|
|
624
|
+
|
|
625
|
+
<span class="param-type">
|
|
626
|
+
|
|
627
|
+
Object
|
|
628
|
+
|
|
629
|
+
</span>
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
</code>
|
|
634
|
+
</td>
|
|
635
|
+
<td class="name"><code><p>引擎类型,为'mapboxgl'</p></code></td>
|
|
636
|
+
</tr>
|
|
637
|
+
|
|
638
|
+
<tr class="deep-level-0">
|
|
639
|
+
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
640
|
+
<td class="name">
|
|
641
|
+
<code>
|
|
642
|
+
|
|
643
|
+
<span class="param-type">
|
|
644
|
+
|
|
645
|
+
Extent
|
|
646
|
+
|
|
647
|
+
</span>
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
</code>
|
|
652
|
+
</td>
|
|
653
|
+
<td class="name"><code><p>地图视图可视范围</p></code></td>
|
|
654
|
+
</tr>
|
|
655
|
+
|
|
656
|
+
<tr class="deep-level-0">
|
|
657
|
+
<td class="name"><code><a href="#fullExtent">fullExtent</a></code></td>
|
|
658
|
+
<td class="name">
|
|
659
|
+
<code>
|
|
660
|
+
|
|
661
|
+
<span class="param-type">
|
|
662
|
+
|
|
663
|
+
Extent
|
|
664
|
+
|
|
665
|
+
</span>
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
</code>
|
|
670
|
+
</td>
|
|
671
|
+
<td class="name"><code><p>地图视图最大显示范围。用户不设置时,将地图范围作为地图视图的最大显示范围,用户设置时采用用户设置的。地图视图初始化时,会根据此范围计算地图视图的最小比例尺,当瓦片数据的最大比例尺小于此比例尺时,无法显示。在相同视图大小下,fullExtent越大,地图视图的最小比例尺越小。</p></code></td>
|
|
672
|
+
</tr>
|
|
673
|
+
|
|
674
|
+
<tr class="deep-level-0">
|
|
675
|
+
<td class="name"><code><a href="#height">height</a></code></td>
|
|
676
|
+
<td class="name">
|
|
677
|
+
<code>
|
|
678
|
+
|
|
679
|
+
<span class="param-type">
|
|
680
|
+
|
|
681
|
+
Number
|
|
682
|
+
|
|
683
|
+
</span>
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
</code>
|
|
688
|
+
</td>
|
|
689
|
+
<td class="name"><code><p>地图视图高度</p></code></td>
|
|
690
|
+
</tr>
|
|
691
|
+
|
|
692
|
+
<tr class="deep-level-0">
|
|
693
|
+
<td class="name"><code><a href="#maxScale">maxScale</a></code></td>
|
|
694
|
+
<td class="name">
|
|
695
|
+
<code>
|
|
696
|
+
|
|
697
|
+
<span class="param-type">
|
|
698
|
+
|
|
699
|
+
Number
|
|
700
|
+
|
|
701
|
+
</span>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
</code>
|
|
706
|
+
</td>
|
|
707
|
+
<td class="name"><code><p>地图视图的最大比例尺(比例尺的分母,该值越小,比例尺越大)。视图的当前比列尺不会大于地图视图的最大比例尺。默认值为undefined,undefined表示用户未设置,地图视图会根据当前加载的图层,自动计算maxScale、minScale的值。如果用户设置了该值,则地图视图将直接采用用户设置的值。maxScale的值应该始终小于minScale的值。</p></code></td>
|
|
708
|
+
</tr>
|
|
709
|
+
|
|
710
|
+
<tr class="deep-level-0">
|
|
711
|
+
<td class="name"><code><a href="#minScale">minScale</a></code></td>
|
|
712
|
+
<td class="name">
|
|
713
|
+
<code>
|
|
714
|
+
|
|
715
|
+
<span class="param-type">
|
|
716
|
+
|
|
717
|
+
Number
|
|
718
|
+
|
|
719
|
+
</span>
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
</code>
|
|
724
|
+
</td>
|
|
725
|
+
<td class="name"><code><p>地图视图的最小比例尺(比例尺的分母,该值越大,比例尺越小)。视图的当前比列尺不会小于地图视图的最小比例尺。默认值为undefined,undefined表示用户未设置,地图视图会根据当前加载的图层,自动计算maxScale、minScale的值。如果用户设置了该值,则地图视图将直接采用用户设置的值。minScale的值应该始终大于maxScale的值。</p></code></td>
|
|
726
|
+
</tr>
|
|
727
|
+
|
|
728
|
+
<tr class="deep-level-0">
|
|
729
|
+
<td class="name"><code><a href="#popup">popup</a></code></td>
|
|
730
|
+
<td class="name">
|
|
731
|
+
<code>
|
|
732
|
+
|
|
733
|
+
<span class="param-type">
|
|
734
|
+
|
|
735
|
+
<a link="Popup.html" onclick="getTypeHTML(event)" href="Popup.html">Popup</a>
|
|
736
|
+
|
|
737
|
+
</span>
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
</code>
|
|
742
|
+
</td>
|
|
743
|
+
<td class="name"><code><p>地图弹框popup</p></code></td>
|
|
744
|
+
</tr>
|
|
745
|
+
|
|
746
|
+
<tr class="deep-level-0">
|
|
747
|
+
<td class="name"><code><a href="#scale">scale</a></code></td>
|
|
748
|
+
<td class="name">
|
|
749
|
+
<code>
|
|
750
|
+
|
|
751
|
+
<span class="param-type">
|
|
752
|
+
|
|
753
|
+
Number
|
|
754
|
+
|
|
755
|
+
</span>
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
</code>
|
|
760
|
+
</td>
|
|
761
|
+
<td class="name"><code><p>地图视图比例尺</p></code></td>
|
|
762
|
+
</tr>
|
|
763
|
+
|
|
764
|
+
<tr class="deep-level-0">
|
|
765
|
+
<td class="name"><code><a href="#spatialReferenceLocked">spatialReferenceLocked</a></code></td>
|
|
766
|
+
<td class="name">
|
|
767
|
+
<code>
|
|
768
|
+
|
|
769
|
+
<span class="param-type">
|
|
770
|
+
|
|
771
|
+
Boolean
|
|
772
|
+
|
|
773
|
+
</span>
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
</code>
|
|
778
|
+
</td>
|
|
779
|
+
<td class="name"><code><p>是否锁定视图空间参考系</p></code></td>
|
|
780
|
+
</tr>
|
|
781
|
+
|
|
782
|
+
<tr class="deep-level-0">
|
|
783
|
+
<td class="name"><code><a href="#stationary">stationary</a></code></td>
|
|
784
|
+
<td class="name">
|
|
785
|
+
<code>
|
|
786
|
+
|
|
787
|
+
<span class="param-type">
|
|
788
|
+
|
|
789
|
+
Boolean
|
|
790
|
+
|
|
791
|
+
</span>
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
</code>
|
|
796
|
+
</td>
|
|
797
|
+
<td class="name"><code><p>试图是否静止</p></code></td>
|
|
798
|
+
</tr>
|
|
799
|
+
|
|
800
|
+
<tr class="deep-level-0">
|
|
801
|
+
<td class="name"><code><a href="#width">width</a></code></td>
|
|
802
|
+
<td class="name">
|
|
803
|
+
<code>
|
|
804
|
+
|
|
805
|
+
<span class="param-type">
|
|
806
|
+
|
|
807
|
+
Number
|
|
808
|
+
|
|
809
|
+
</span>
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
</code>
|
|
814
|
+
</td>
|
|
815
|
+
<td class="name"><code><p>地图视图宽度</p></code></td>
|
|
816
|
+
</tr>
|
|
817
|
+
|
|
818
|
+
<tr class="deep-level-0">
|
|
819
|
+
<td class="name"><code><a href="#zoom">zoom</a></code></td>
|
|
820
|
+
<td class="name">
|
|
821
|
+
<code>
|
|
822
|
+
|
|
823
|
+
<span class="param-type">
|
|
824
|
+
|
|
825
|
+
Number
|
|
826
|
+
|
|
827
|
+
</span>
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
</code>
|
|
832
|
+
</td>
|
|
833
|
+
<td class="name"><code><p>地图层级</p></code></td>
|
|
834
|
+
</tr>
|
|
835
|
+
|
|
836
|
+
</tbody>
|
|
837
|
+
</table>
|
|
838
|
+
</div>
|
|
839
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
652
840
|
<div class="members">
|
|
653
841
|
|
|
654
842
|
<div class="member">
|
|
@@ -656,7 +844,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
656
844
|
<span class="method-parameter is-pulled-right">
|
|
657
845
|
<label>类型:</label>
|
|
658
846
|
|
|
659
|
-
<span class="param-type">
|
|
847
|
+
<span class="param-type">
|
|
848
|
+
|
|
849
|
+
SpatialReference
|
|
850
|
+
|
|
851
|
+
</span>
|
|
852
|
+
|
|
660
853
|
|
|
661
854
|
|
|
662
855
|
</span>
|
|
@@ -730,7 +923,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
730
923
|
<span class="method-parameter is-pulled-right">
|
|
731
924
|
<label>类型:</label>
|
|
732
925
|
|
|
733
|
-
<span class="param-type">
|
|
926
|
+
<span class="param-type">
|
|
927
|
+
|
|
928
|
+
Point
|
|
929
|
+
|
|
930
|
+
</span>
|
|
931
|
+
|
|
734
932
|
|
|
735
933
|
|
|
736
934
|
</span>
|
|
@@ -800,7 +998,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
800
998
|
<span class="method-parameter is-pulled-right">
|
|
801
999
|
<label>类型:</label>
|
|
802
1000
|
|
|
803
|
-
<span class="param-type">
|
|
1001
|
+
<span class="param-type">
|
|
1002
|
+
|
|
1003
|
+
Object
|
|
1004
|
+
|
|
1005
|
+
</span>
|
|
1006
|
+
|
|
804
1007
|
|
|
805
1008
|
|
|
806
1009
|
</span>
|
|
@@ -874,7 +1077,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
874
1077
|
<span class="method-parameter is-pulled-right">
|
|
875
1078
|
<label>类型:</label>
|
|
876
1079
|
|
|
877
|
-
<span class="param-type">
|
|
1080
|
+
<span class="param-type">
|
|
1081
|
+
|
|
1082
|
+
Extent
|
|
1083
|
+
|
|
1084
|
+
</span>
|
|
1085
|
+
|
|
878
1086
|
|
|
879
1087
|
|
|
880
1088
|
</span>
|
|
@@ -944,7 +1152,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
944
1152
|
<span class="method-parameter is-pulled-right">
|
|
945
1153
|
<label>类型:</label>
|
|
946
1154
|
|
|
947
|
-
<span class="param-type">
|
|
1155
|
+
<span class="param-type">
|
|
1156
|
+
|
|
1157
|
+
Extent
|
|
1158
|
+
|
|
1159
|
+
</span>
|
|
1160
|
+
|
|
948
1161
|
|
|
949
1162
|
|
|
950
1163
|
</span>
|
|
@@ -1014,7 +1227,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1014
1227
|
<span class="method-parameter is-pulled-right">
|
|
1015
1228
|
<label>类型:</label>
|
|
1016
1229
|
|
|
1017
|
-
<span class="param-type">
|
|
1230
|
+
<span class="param-type">
|
|
1231
|
+
|
|
1232
|
+
Number
|
|
1233
|
+
|
|
1234
|
+
</span>
|
|
1235
|
+
|
|
1018
1236
|
|
|
1019
1237
|
|
|
1020
1238
|
</span>
|
|
@@ -1088,7 +1306,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1088
1306
|
<span class="method-parameter is-pulled-right">
|
|
1089
1307
|
<label>类型:</label>
|
|
1090
1308
|
|
|
1091
|
-
<span class="param-type">
|
|
1309
|
+
<span class="param-type">
|
|
1310
|
+
|
|
1311
|
+
Number
|
|
1312
|
+
|
|
1313
|
+
</span>
|
|
1314
|
+
|
|
1092
1315
|
|
|
1093
1316
|
|
|
1094
1317
|
</span>
|
|
@@ -1106,7 +1329,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1106
1329
|
|
|
1107
1330
|
|
|
1108
1331
|
<div class="description">
|
|
1109
|
-
<p
|
|
1332
|
+
<p>地图视图的最大比例尺(比例尺的分母,该值越小,比例尺越大)。视图的当前比列尺不会大于地图视图的最大比例尺。默认值为undefined,undefined表示用户未设置,地图视图会根据当前加载的图层,自动计算maxScale、minScale的值。如果用户设置了该值,则地图视图将直接采用用户设置的值。maxScale的值应该始终小于minScale的值。</p>
|
|
1110
1333
|
</div>
|
|
1111
1334
|
|
|
1112
1335
|
|
|
@@ -1158,7 +1381,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1158
1381
|
<span class="method-parameter is-pulled-right">
|
|
1159
1382
|
<label>类型:</label>
|
|
1160
1383
|
|
|
1161
|
-
<span class="param-type">
|
|
1384
|
+
<span class="param-type">
|
|
1385
|
+
|
|
1386
|
+
Number
|
|
1387
|
+
|
|
1388
|
+
</span>
|
|
1389
|
+
|
|
1162
1390
|
|
|
1163
1391
|
|
|
1164
1392
|
</span>
|
|
@@ -1176,7 +1404,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1176
1404
|
|
|
1177
1405
|
|
|
1178
1406
|
<div class="description">
|
|
1179
|
-
<p
|
|
1407
|
+
<p>地图视图的最小比例尺(比例尺的分母,该值越大,比例尺越小)。视图的当前比列尺不会小于地图视图的最小比例尺。默认值为undefined,undefined表示用户未设置,地图视图会根据当前加载的图层,自动计算maxScale、minScale的值。如果用户设置了该值,则地图视图将直接采用用户设置的值。minScale的值应该始终大于maxScale的值。</p>
|
|
1180
1408
|
</div>
|
|
1181
1409
|
|
|
1182
1410
|
|
|
@@ -1228,7 +1456,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1228
1456
|
<span class="method-parameter is-pulled-right">
|
|
1229
1457
|
<label>类型:</label>
|
|
1230
1458
|
|
|
1231
|
-
<span class="param-type"
|
|
1459
|
+
<span class="param-type">
|
|
1460
|
+
|
|
1461
|
+
<a link="Popup.html" onclick="getTypeHTML(event)" href="Popup.html">Popup</a>
|
|
1462
|
+
|
|
1463
|
+
</span>
|
|
1464
|
+
|
|
1232
1465
|
|
|
1233
1466
|
|
|
1234
1467
|
</span>
|
|
@@ -1298,7 +1531,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1298
1531
|
<span class="method-parameter is-pulled-right">
|
|
1299
1532
|
<label>类型:</label>
|
|
1300
1533
|
|
|
1301
|
-
<span class="param-type">
|
|
1534
|
+
<span class="param-type">
|
|
1535
|
+
|
|
1536
|
+
Number
|
|
1537
|
+
|
|
1538
|
+
</span>
|
|
1539
|
+
|
|
1302
1540
|
|
|
1303
1541
|
|
|
1304
1542
|
</span>
|
|
@@ -1368,7 +1606,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1368
1606
|
<span class="method-parameter is-pulled-right">
|
|
1369
1607
|
<label>类型:</label>
|
|
1370
1608
|
|
|
1371
|
-
<span class="param-type">
|
|
1609
|
+
<span class="param-type">
|
|
1610
|
+
|
|
1611
|
+
Boolean
|
|
1612
|
+
|
|
1613
|
+
</span>
|
|
1614
|
+
|
|
1372
1615
|
|
|
1373
1616
|
|
|
1374
1617
|
</span>
|
|
@@ -1438,7 +1681,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1438
1681
|
<span class="method-parameter is-pulled-right">
|
|
1439
1682
|
<label>类型:</label>
|
|
1440
1683
|
|
|
1441
|
-
<span class="param-type">
|
|
1684
|
+
<span class="param-type">
|
|
1685
|
+
|
|
1686
|
+
Boolean
|
|
1687
|
+
|
|
1688
|
+
</span>
|
|
1689
|
+
|
|
1442
1690
|
|
|
1443
1691
|
|
|
1444
1692
|
</span>
|
|
@@ -1512,7 +1760,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1512
1760
|
<span class="method-parameter is-pulled-right">
|
|
1513
1761
|
<label>类型:</label>
|
|
1514
1762
|
|
|
1515
|
-
<span class="param-type">
|
|
1763
|
+
<span class="param-type">
|
|
1764
|
+
|
|
1765
|
+
Number
|
|
1766
|
+
|
|
1767
|
+
</span>
|
|
1768
|
+
|
|
1516
1769
|
|
|
1517
1770
|
|
|
1518
1771
|
</span>
|
|
@@ -1586,7 +1839,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1586
1839
|
<span class="method-parameter is-pulled-right">
|
|
1587
1840
|
<label>类型:</label>
|
|
1588
1841
|
|
|
1589
|
-
<span class="param-type">
|
|
1842
|
+
<span class="param-type">
|
|
1843
|
+
|
|
1844
|
+
Number
|
|
1845
|
+
|
|
1846
|
+
</span>
|
|
1847
|
+
|
|
1590
1848
|
|
|
1591
1849
|
|
|
1592
1850
|
</span>
|
|
@@ -1658,7 +1916,263 @@ const mapView = new MapViewMapboxgl({
|
|
|
1658
1916
|
|
|
1659
1917
|
<div class='vertical-section'>
|
|
1660
1918
|
<h3 id='function'>方法</h3>
|
|
1919
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
1661
1920
|
<div class="members">
|
|
1921
|
+
<div class="table-container">
|
|
1922
|
+
<table class="params table">
|
|
1923
|
+
<thead>
|
|
1924
|
+
<tr>
|
|
1925
|
+
<th>名称</th>
|
|
1926
|
+
<th>返回值类型</th>
|
|
1927
|
+
<th>描述</th>
|
|
1928
|
+
</tr>
|
|
1929
|
+
</thead>
|
|
1930
|
+
<tbody>
|
|
1931
|
+
|
|
1932
|
+
<tr class="deep-level-0">
|
|
1933
|
+
<td class="name"><code><a href="#fromJSON">fromJSON</a></code></td>
|
|
1934
|
+
<td class="name">
|
|
1935
|
+
<code>
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
<span class="param-type">
|
|
1939
|
+
|
|
1940
|
+
MapView
|
|
1941
|
+
|
|
1942
|
+
</span>
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
</code>
|
|
1948
|
+
</td>
|
|
1949
|
+
<td class="name"><code><p></code></td>
|
|
1950
|
+
</tr>
|
|
1951
|
+
|
|
1952
|
+
<tr class="deep-level-0">
|
|
1953
|
+
<td class="name"><code><a href="#flyTo">flyTo</a></code></td>
|
|
1954
|
+
<td class="name">
|
|
1955
|
+
<code>
|
|
1956
|
+
|
|
1957
|
+
</code>
|
|
1958
|
+
</td>
|
|
1959
|
+
<td class="name"><code><p>视点跳转</a></p></code></td>
|
|
1960
|
+
</tr>
|
|
1961
|
+
|
|
1962
|
+
<tr class="deep-level-0">
|
|
1963
|
+
<td class="name"><code><a href="#getCenter">getCenter</a></code></td>
|
|
1964
|
+
<td class="name">
|
|
1965
|
+
<code>
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
<span class="param-type">
|
|
1969
|
+
|
|
1970
|
+
Object
|
|
1971
|
+
|
|
1972
|
+
</span>
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
</code>
|
|
1978
|
+
</td>
|
|
1979
|
+
<td class="name"><code><p>获取当前视图的中心点(经纬度中心点)</code></td>
|
|
1980
|
+
</tr>
|
|
1981
|
+
|
|
1982
|
+
<tr class="deep-level-0">
|
|
1983
|
+
<td class="name"><code><a href="#getExtent">getExtent</a></code></td>
|
|
1984
|
+
<td class="name">
|
|
1985
|
+
<code>
|
|
1986
|
+
|
|
1987
|
+
|
|
1988
|
+
<span class="param-type">
|
|
1989
|
+
|
|
1990
|
+
Extent
|
|
1991
|
+
|
|
1992
|
+
</span>
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
</code>
|
|
1998
|
+
</td>
|
|
1999
|
+
<td class="name"><code><p>获取当前视图的地理范围</code></td>
|
|
2000
|
+
</tr>
|
|
2001
|
+
|
|
2002
|
+
<tr class="deep-level-0">
|
|
2003
|
+
<td class="name"><code><a href="#getScale">getScale</a></code></td>
|
|
2004
|
+
<td class="name">
|
|
2005
|
+
<code>
|
|
2006
|
+
|
|
2007
|
+
|
|
2008
|
+
<span class="param-type">
|
|
2009
|
+
|
|
2010
|
+
Number
|
|
2011
|
+
|
|
2012
|
+
</span>
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
</code>
|
|
2018
|
+
</td>
|
|
2019
|
+
<td class="name"><code><p></code></td>
|
|
2020
|
+
</tr>
|
|
2021
|
+
|
|
2022
|
+
<tr class="deep-level-0">
|
|
2023
|
+
<td class="name"><code><a href="#getSize">getSize</a></code></td>
|
|
2024
|
+
<td class="name">
|
|
2025
|
+
<code>
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
<span class="param-type">
|
|
2029
|
+
|
|
2030
|
+
Object
|
|
2031
|
+
|
|
2032
|
+
</span>
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
</code>
|
|
2038
|
+
</td>
|
|
2039
|
+
<td class="name"><code><p>获取当前视图容器的宽高,单位像素</code></td>
|
|
2040
|
+
</tr>
|
|
2041
|
+
|
|
2042
|
+
<tr class="deep-level-0">
|
|
2043
|
+
<td class="name"><code><a href="#getZoom">getZoom</a></code></td>
|
|
2044
|
+
<td class="name">
|
|
2045
|
+
<code>
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
<span class="param-type">
|
|
2049
|
+
|
|
2050
|
+
Number
|
|
2051
|
+
|
|
2052
|
+
</span>
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
</code>
|
|
2058
|
+
</td>
|
|
2059
|
+
<td class="name"><code><p>获取当前缩放级数</code></td>
|
|
2060
|
+
</tr>
|
|
2061
|
+
|
|
2062
|
+
<tr class="deep-level-0">
|
|
2063
|
+
<td class="name"><code><a href="#goTo">goTo</a></code></td>
|
|
2064
|
+
<td class="name">
|
|
2065
|
+
<code>
|
|
2066
|
+
|
|
2067
|
+
</code>
|
|
2068
|
+
</td>
|
|
2069
|
+
<td class="name"><code><p>视点跳转为给定的目标</code></td>
|
|
2070
|
+
</tr>
|
|
2071
|
+
|
|
2072
|
+
<tr class="deep-level-0">
|
|
2073
|
+
<td class="name"><code><a href="#hitTest">hitTest</a></code></td>
|
|
2074
|
+
<td class="name">
|
|
2075
|
+
<code>
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
<span class="param-type">
|
|
2079
|
+
|
|
2080
|
+
Array
|
|
2081
|
+
|
|
2082
|
+
</span>
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
</code>
|
|
2088
|
+
</td>
|
|
2089
|
+
<td class="name"><code><p>穿透检测,图元拾取。目前支持graphic类型拾取结果,支持图层类型GraphicLayer,FeatureLayer。</p></code></td>
|
|
2090
|
+
</tr>
|
|
2091
|
+
|
|
2092
|
+
<tr class="deep-level-0">
|
|
2093
|
+
<td class="name"><code><a href="#takeScreenshot">takeScreenshot</a></code></td>
|
|
2094
|
+
<td class="name">
|
|
2095
|
+
<code>
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
<span class="param-type">
|
|
2099
|
+
|
|
2100
|
+
Object
|
|
2101
|
+
|
|
2102
|
+
</span>
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
</code>
|
|
2108
|
+
</td>
|
|
2109
|
+
<td class="name"><code><p>屏幕快照</p></code></td>
|
|
2110
|
+
</tr>
|
|
2111
|
+
|
|
2112
|
+
<tr class="deep-level-0">
|
|
2113
|
+
<td class="name"><code><a href="#toJSON">toJSON</a></code></td>
|
|
2114
|
+
<td class="name">
|
|
2115
|
+
<code>
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
<span class="param-type">
|
|
2119
|
+
|
|
2120
|
+
Object
|
|
2121
|
+
|
|
2122
|
+
</span>
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
|
|
2126
|
+
|
|
2127
|
+
</code>
|
|
2128
|
+
</td>
|
|
2129
|
+
<td class="name"><code><p></code></td>
|
|
2130
|
+
</tr>
|
|
2131
|
+
|
|
2132
|
+
<tr class="deep-level-0">
|
|
2133
|
+
<td class="name"><code><a href="#toMap">toMap</a></code></td>
|
|
2134
|
+
<td class="name">
|
|
2135
|
+
<code>
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
<span class="param-type">
|
|
2139
|
+
|
|
2140
|
+
Point
|
|
2141
|
+
|
|
2142
|
+
</span>
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
</code>
|
|
2148
|
+
</td>
|
|
2149
|
+
<td class="name"><code><p></code></td>
|
|
2150
|
+
</tr>
|
|
2151
|
+
|
|
2152
|
+
<tr class="deep-level-0">
|
|
2153
|
+
<td class="name"><code><a href="#toScreen">toScreen</a></code></td>
|
|
2154
|
+
<td class="name">
|
|
2155
|
+
<code>
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
<span class="param-type">
|
|
2159
|
+
|
|
2160
|
+
Object
|
|
2161
|
+
|
|
2162
|
+
</span>
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
</code>
|
|
2168
|
+
</td>
|
|
2169
|
+
<td class="name"><code><p></code></td>
|
|
2170
|
+
</tr>
|
|
2171
|
+
|
|
2172
|
+
</tbody>
|
|
2173
|
+
</table>
|
|
2174
|
+
</div>
|
|
2175
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
1662
2176
|
|
|
1663
2177
|
<div class="member">
|
|
1664
2178
|
|
|
@@ -1671,7 +2185,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1671
2185
|
<span class='tag'>static</span>
|
|
1672
2186
|
|
|
1673
2187
|
|
|
1674
|
-
<span class="code-name" style="font-size:30px">
|
|
2188
|
+
<span class="code-name" id="fromJSON" style="font-size:30px">
|
|
1675
2189
|
|
|
1676
2190
|
fromJSON<span class="signature">(json)</span>
|
|
1677
2191
|
|
|
@@ -1694,7 +2208,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1694
2208
|
|
|
1695
2209
|
|
|
1696
2210
|
|
|
1697
|
-
<h4
|
|
2211
|
+
<h4>参数</h4>
|
|
1698
2212
|
|
|
1699
2213
|
<div class="table-container">
|
|
1700
2214
|
<table class="params table">
|
|
@@ -1724,7 +2238,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1724
2238
|
<td class="type">
|
|
1725
2239
|
|
|
1726
2240
|
|
|
1727
|
-
<span class="param-type">
|
|
2241
|
+
<span class="param-type">
|
|
2242
|
+
|
|
2243
|
+
Object
|
|
2244
|
+
|
|
2245
|
+
</span>
|
|
2246
|
+
|
|
1728
2247
|
|
|
1729
2248
|
|
|
1730
2249
|
|
|
@@ -1799,7 +2318,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1799
2318
|
|
|
1800
2319
|
|
|
1801
2320
|
<div class='columns method-parameter'>
|
|
1802
|
-
<div class="column is-2"><label
|
|
2321
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
1803
2322
|
<div class="column is-10">
|
|
1804
2323
|
|
|
1805
2324
|
|
|
@@ -1810,7 +2329,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1810
2329
|
<div class='column is-5 has-text-left'>
|
|
1811
2330
|
<label>类型: </label>
|
|
1812
2331
|
|
|
1813
|
-
<span class="param-type">
|
|
2332
|
+
<span class="param-type">
|
|
2333
|
+
|
|
2334
|
+
MapView
|
|
2335
|
+
|
|
2336
|
+
</span>
|
|
2337
|
+
|
|
1814
2338
|
|
|
1815
2339
|
|
|
1816
2340
|
</div>
|
|
@@ -1835,7 +2359,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1835
2359
|
<h4 class="name" id="flyTo">
|
|
1836
2360
|
<a class="href-link" href="#flyTo">#</a>
|
|
1837
2361
|
|
|
1838
|
-
<span class="code-name" style="font-size:30px">
|
|
2362
|
+
<span class="code-name" id="flyTo" style="font-size:30px">
|
|
1839
2363
|
|
|
1840
2364
|
flyTo<span class="signature">(options)</span>
|
|
1841
2365
|
|
|
@@ -1857,7 +2381,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1857
2381
|
|
|
1858
2382
|
|
|
1859
2383
|
|
|
1860
|
-
<h4
|
|
2384
|
+
<h4>参数</h4>
|
|
1861
2385
|
|
|
1862
2386
|
<div class="table-container">
|
|
1863
2387
|
<table class="params table">
|
|
@@ -1904,7 +2428,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1904
2428
|
<td class="type">
|
|
1905
2429
|
|
|
1906
2430
|
|
|
1907
|
-
<span class="param-type">
|
|
2431
|
+
<span class="param-type">
|
|
2432
|
+
|
|
2433
|
+
Array
|
|
2434
|
+
|
|
2435
|
+
</span>
|
|
2436
|
+
|
|
1908
2437
|
|
|
1909
2438
|
|
|
1910
2439
|
|
|
@@ -1926,7 +2455,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1926
2455
|
<td class="type">
|
|
1927
2456
|
|
|
1928
2457
|
|
|
1929
|
-
<span class="param-type">
|
|
2458
|
+
<span class="param-type">
|
|
2459
|
+
|
|
2460
|
+
Number
|
|
2461
|
+
|
|
2462
|
+
</span>
|
|
2463
|
+
|
|
1930
2464
|
|
|
1931
2465
|
|
|
1932
2466
|
|
|
@@ -1948,7 +2482,12 @@ const mapView = new MapViewMapboxgl({
|
|
|
1948
2482
|
<td class="type">
|
|
1949
2483
|
|
|
1950
2484
|
|
|
1951
|
-
<span class="param-type">
|
|
2485
|
+
<span class="param-type">
|
|
2486
|
+
|
|
2487
|
+
Extent
|
|
2488
|
+
|
|
2489
|
+
</span>
|
|
2490
|
+
|
|
1952
2491
|
|
|
1953
2492
|
|
|
1954
2493
|
|
|
@@ -2116,7 +2655,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2116
2655
|
<h4 class="name" id="getCenter">
|
|
2117
2656
|
<a class="href-link" href="#getCenter">#</a>
|
|
2118
2657
|
|
|
2119
|
-
<span class="code-name" style="font-size:30px">
|
|
2658
|
+
<span class="code-name" id="getCenter" style="font-size:30px">
|
|
2120
2659
|
|
|
2121
2660
|
getCenter<span class="signature">()</span>
|
|
2122
2661
|
|
|
@@ -2194,7 +2733,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2194
2733
|
|
|
2195
2734
|
|
|
2196
2735
|
<div class='columns method-parameter'>
|
|
2197
|
-
<div class="column is-2"><label
|
|
2736
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
2198
2737
|
<div class="column is-10">
|
|
2199
2738
|
|
|
2200
2739
|
|
|
@@ -2207,7 +2746,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2207
2746
|
<div class='column is-5 has-text-left'>
|
|
2208
2747
|
<label>类型: </label>
|
|
2209
2748
|
|
|
2210
|
-
<span class="param-type">
|
|
2749
|
+
<span class="param-type">
|
|
2750
|
+
|
|
2751
|
+
Object
|
|
2752
|
+
|
|
2753
|
+
</span>
|
|
2754
|
+
|
|
2211
2755
|
|
|
2212
2756
|
|
|
2213
2757
|
</div>
|
|
@@ -2232,7 +2776,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2232
2776
|
<h4 class="name" id="getExtent">
|
|
2233
2777
|
<a class="href-link" href="#getExtent">#</a>
|
|
2234
2778
|
|
|
2235
|
-
<span class="code-name" style="font-size:30px">
|
|
2779
|
+
<span class="code-name" id="getExtent" style="font-size:30px">
|
|
2236
2780
|
|
|
2237
2781
|
getExtent<span class="signature">()</span>
|
|
2238
2782
|
|
|
@@ -2310,7 +2854,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2310
2854
|
|
|
2311
2855
|
|
|
2312
2856
|
<div class='columns method-parameter'>
|
|
2313
|
-
<div class="column is-2"><label
|
|
2857
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
2314
2858
|
<div class="column is-10">
|
|
2315
2859
|
|
|
2316
2860
|
|
|
@@ -2323,7 +2867,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2323
2867
|
<div class='column is-5 has-text-left'>
|
|
2324
2868
|
<label>类型: </label>
|
|
2325
2869
|
|
|
2326
|
-
<span class="param-type">
|
|
2870
|
+
<span class="param-type">
|
|
2871
|
+
|
|
2872
|
+
Extent
|
|
2873
|
+
|
|
2874
|
+
</span>
|
|
2875
|
+
|
|
2327
2876
|
|
|
2328
2877
|
|
|
2329
2878
|
</div>
|
|
@@ -2348,7 +2897,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2348
2897
|
<h4 class="name" id="getScale">
|
|
2349
2898
|
<a class="href-link" href="#getScale">#</a>
|
|
2350
2899
|
|
|
2351
|
-
<span class="code-name" style="font-size:30px">
|
|
2900
|
+
<span class="code-name" id="getScale" style="font-size:30px">
|
|
2352
2901
|
|
|
2353
2902
|
getScale<span class="signature">()</span>
|
|
2354
2903
|
|
|
@@ -2427,7 +2976,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2427
2976
|
|
|
2428
2977
|
|
|
2429
2978
|
<div class='columns method-parameter'>
|
|
2430
|
-
<div class="column is-2"><label
|
|
2979
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
2431
2980
|
<div class="column is-10">
|
|
2432
2981
|
|
|
2433
2982
|
|
|
@@ -2440,7 +2989,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2440
2989
|
<div class='column is-5 has-text-left'>
|
|
2441
2990
|
<label>类型: </label>
|
|
2442
2991
|
|
|
2443
|
-
<span class="param-type">
|
|
2992
|
+
<span class="param-type">
|
|
2993
|
+
|
|
2994
|
+
Number
|
|
2995
|
+
|
|
2996
|
+
</span>
|
|
2997
|
+
|
|
2444
2998
|
|
|
2445
2999
|
|
|
2446
3000
|
</div>
|
|
@@ -2465,7 +3019,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2465
3019
|
<h4 class="name" id="getSize">
|
|
2466
3020
|
<a class="href-link" href="#getSize">#</a>
|
|
2467
3021
|
|
|
2468
|
-
<span class="code-name" style="font-size:30px">
|
|
3022
|
+
<span class="code-name" id="getSize" style="font-size:30px">
|
|
2469
3023
|
|
|
2470
3024
|
getSize<span class="signature">()</span>
|
|
2471
3025
|
|
|
@@ -2543,7 +3097,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2543
3097
|
|
|
2544
3098
|
|
|
2545
3099
|
<div class='columns method-parameter'>
|
|
2546
|
-
<div class="column is-2"><label
|
|
3100
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
2547
3101
|
<div class="column is-10">
|
|
2548
3102
|
|
|
2549
3103
|
|
|
@@ -2556,7 +3110,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2556
3110
|
<div class='column is-5 has-text-left'>
|
|
2557
3111
|
<label>类型: </label>
|
|
2558
3112
|
|
|
2559
|
-
<span class="param-type">
|
|
3113
|
+
<span class="param-type">
|
|
3114
|
+
|
|
3115
|
+
Object
|
|
3116
|
+
|
|
3117
|
+
</span>
|
|
3118
|
+
|
|
2560
3119
|
|
|
2561
3120
|
|
|
2562
3121
|
</div>
|
|
@@ -2581,7 +3140,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2581
3140
|
<h4 class="name" id="getZoom">
|
|
2582
3141
|
<a class="href-link" href="#getZoom">#</a>
|
|
2583
3142
|
|
|
2584
|
-
<span class="code-name" style="font-size:30px">
|
|
3143
|
+
<span class="code-name" id="getZoom" style="font-size:30px">
|
|
2585
3144
|
|
|
2586
3145
|
getZoom<span class="signature">()</span>
|
|
2587
3146
|
|
|
@@ -2659,7 +3218,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2659
3218
|
|
|
2660
3219
|
|
|
2661
3220
|
<div class='columns method-parameter'>
|
|
2662
|
-
<div class="column is-2"><label
|
|
3221
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
2663
3222
|
<div class="column is-10">
|
|
2664
3223
|
|
|
2665
3224
|
|
|
@@ -2672,7 +3231,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2672
3231
|
<div class='column is-5 has-text-left'>
|
|
2673
3232
|
<label>类型: </label>
|
|
2674
3233
|
|
|
2675
|
-
<span class="param-type">
|
|
3234
|
+
<span class="param-type">
|
|
3235
|
+
|
|
3236
|
+
Number
|
|
3237
|
+
|
|
3238
|
+
</span>
|
|
3239
|
+
|
|
2676
3240
|
|
|
2677
3241
|
|
|
2678
3242
|
</div>
|
|
@@ -2697,7 +3261,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2697
3261
|
<h4 class="name" id="goTo">
|
|
2698
3262
|
<a class="href-link" href="#goTo">#</a>
|
|
2699
3263
|
|
|
2700
|
-
<span class="code-name" style="font-size:30px">
|
|
3264
|
+
<span class="code-name" id="goTo" style="font-size:30px">
|
|
2701
3265
|
|
|
2702
3266
|
goTo<span class="signature">(goToTarget, options)</span>
|
|
2703
3267
|
|
|
@@ -2719,7 +3283,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2719
3283
|
|
|
2720
3284
|
|
|
2721
3285
|
|
|
2722
|
-
<h4
|
|
3286
|
+
<h4>参数</h4>
|
|
2723
3287
|
|
|
2724
3288
|
<div class="table-container">
|
|
2725
3289
|
<table class="params table">
|
|
@@ -2772,10 +3336,19 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2772
3336
|
<td class="type">
|
|
2773
3337
|
|
|
2774
3338
|
|
|
2775
|
-
<span class="param-type">
|
|
3339
|
+
<span class="param-type">
|
|
3340
|
+
|
|
3341
|
+
Point
|
|
3342
|
+
|
|
3343
|
+
</span>
|
|
2776
3344
|
|
|
|
2777
3345
|
|
|
2778
|
-
<span class="param-type">
|
|
3346
|
+
<span class="param-type">
|
|
3347
|
+
|
|
3348
|
+
Array
|
|
3349
|
+
|
|
3350
|
+
</span>
|
|
3351
|
+
|
|
2779
3352
|
|
|
2780
3353
|
|
|
2781
3354
|
|
|
@@ -2801,7 +3374,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2801
3374
|
<td class="type">
|
|
2802
3375
|
|
|
2803
3376
|
|
|
2804
|
-
<span class="param-type">
|
|
3377
|
+
<span class="param-type">
|
|
3378
|
+
|
|
3379
|
+
Number
|
|
3380
|
+
|
|
3381
|
+
</span>
|
|
3382
|
+
|
|
2805
3383
|
|
|
2806
3384
|
|
|
2807
3385
|
|
|
@@ -2827,7 +3405,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2827
3405
|
<td class="type">
|
|
2828
3406
|
|
|
2829
3407
|
|
|
2830
|
-
<span class="param-type">
|
|
3408
|
+
<span class="param-type">
|
|
3409
|
+
|
|
3410
|
+
Number
|
|
3411
|
+
|
|
3412
|
+
</span>
|
|
3413
|
+
|
|
2831
3414
|
|
|
2832
3415
|
|
|
2833
3416
|
|
|
@@ -2853,13 +3436,26 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2853
3436
|
<td class="type">
|
|
2854
3437
|
|
|
2855
3438
|
|
|
2856
|
-
<span class="param-type">
|
|
3439
|
+
<span class="param-type">
|
|
3440
|
+
|
|
3441
|
+
Geometry
|
|
3442
|
+
|
|
3443
|
+
</span>
|
|
2857
3444
|
|
|
|
2858
3445
|
|
|
2859
|
-
<span class="param-type">
|
|
3446
|
+
<span class="param-type">
|
|
3447
|
+
|
|
3448
|
+
Array.<Geometry>
|
|
3449
|
+
|
|
3450
|
+
</span>
|
|
2860
3451
|
|
|
|
2861
3452
|
|
|
2862
|
-
<span class="param-type">
|
|
3453
|
+
<span class="param-type">
|
|
3454
|
+
|
|
3455
|
+
Collection.<Geometry>
|
|
3456
|
+
|
|
3457
|
+
</span>
|
|
3458
|
+
|
|
2863
3459
|
|
|
2864
3460
|
|
|
2865
3461
|
|
|
@@ -2911,7 +3507,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2911
3507
|
<td class="type">
|
|
2912
3508
|
|
|
2913
3509
|
|
|
2914
|
-
<span class="param-type">
|
|
3510
|
+
<span class="param-type">
|
|
3511
|
+
|
|
3512
|
+
Boolean
|
|
3513
|
+
|
|
3514
|
+
</span>
|
|
3515
|
+
|
|
2915
3516
|
|
|
2916
3517
|
|
|
2917
3518
|
|
|
@@ -2939,7 +3540,12 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2939
3540
|
<td class="type">
|
|
2940
3541
|
|
|
2941
3542
|
|
|
2942
|
-
<span class="param-type">
|
|
3543
|
+
<span class="param-type">
|
|
3544
|
+
|
|
3545
|
+
Number
|
|
3546
|
+
|
|
3547
|
+
</span>
|
|
3548
|
+
|
|
2943
3549
|
|
|
2944
3550
|
|
|
2945
3551
|
|
|
@@ -3101,7 +3707,7 @@ mapView
|
|
|
3101
3707
|
<h4 class="name" id="hitTest">
|
|
3102
3708
|
<a class="href-link" href="#hitTest">#</a>
|
|
3103
3709
|
|
|
3104
|
-
<span class="code-name" style="font-size:30px">
|
|
3710
|
+
<span class="code-name" id="hitTest" style="font-size:30px">
|
|
3105
3711
|
|
|
3106
3712
|
hitTest<span class="signature">(screenPoint)</span>
|
|
3107
3713
|
|
|
@@ -3123,7 +3729,7 @@ mapView
|
|
|
3123
3729
|
|
|
3124
3730
|
|
|
3125
3731
|
|
|
3126
|
-
<h4
|
|
3732
|
+
<h4>参数</h4>
|
|
3127
3733
|
|
|
3128
3734
|
<div class="table-container">
|
|
3129
3735
|
<table class="params table">
|
|
@@ -3153,7 +3759,12 @@ mapView
|
|
|
3153
3759
|
<td class="type">
|
|
3154
3760
|
|
|
3155
3761
|
|
|
3156
|
-
<span class="param-type">
|
|
3762
|
+
<span class="param-type">
|
|
3763
|
+
|
|
3764
|
+
Object
|
|
3765
|
+
|
|
3766
|
+
</span>
|
|
3767
|
+
|
|
3157
3768
|
|
|
3158
3769
|
|
|
3159
3770
|
|
|
@@ -3228,7 +3839,7 @@ mapView
|
|
|
3228
3839
|
|
|
3229
3840
|
|
|
3230
3841
|
<div class='columns method-parameter'>
|
|
3231
|
-
<div class="column is-2"><label
|
|
3842
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
3232
3843
|
<div class="column is-10">
|
|
3233
3844
|
|
|
3234
3845
|
|
|
@@ -3241,7 +3852,12 @@ mapView
|
|
|
3241
3852
|
<div class='column is-5 has-text-left'>
|
|
3242
3853
|
<label>类型: </label>
|
|
3243
3854
|
|
|
3244
|
-
<span class="param-type">
|
|
3855
|
+
<span class="param-type">
|
|
3856
|
+
|
|
3857
|
+
Array
|
|
3858
|
+
|
|
3859
|
+
</span>
|
|
3860
|
+
|
|
3245
3861
|
|
|
3246
3862
|
|
|
3247
3863
|
</div>
|
|
@@ -3343,7 +3959,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3343
3959
|
<h4 class="name" id="takeScreenshot">
|
|
3344
3960
|
<a class="href-link" href="#takeScreenshot">#</a>
|
|
3345
3961
|
|
|
3346
|
-
<span class="code-name" style="font-size:30px">
|
|
3962
|
+
<span class="code-name" id="takeScreenshot" style="font-size:30px">
|
|
3347
3963
|
|
|
3348
3964
|
takeScreenshot<span class="signature">(options<span class="signature-attributes">opt</span>)</span>
|
|
3349
3965
|
|
|
@@ -3365,7 +3981,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3365
3981
|
|
|
3366
3982
|
|
|
3367
3983
|
|
|
3368
|
-
<h4
|
|
3984
|
+
<h4>参数</h4>
|
|
3369
3985
|
|
|
3370
3986
|
<div class="table-container">
|
|
3371
3987
|
<table class="params table">
|
|
@@ -3397,7 +4013,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3397
4013
|
<td class="type">
|
|
3398
4014
|
|
|
3399
4015
|
|
|
3400
|
-
<span class="param-type">
|
|
4016
|
+
<span class="param-type">
|
|
4017
|
+
|
|
4018
|
+
Object
|
|
4019
|
+
|
|
4020
|
+
</span>
|
|
4021
|
+
|
|
3401
4022
|
|
|
3402
4023
|
|
|
3403
4024
|
|
|
@@ -3425,7 +4046,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3425
4046
|
<td class="type">
|
|
3426
4047
|
|
|
3427
4048
|
|
|
3428
|
-
<span class="param-type">
|
|
4049
|
+
<span class="param-type">
|
|
4050
|
+
|
|
4051
|
+
PictureFormat
|
|
4052
|
+
|
|
4053
|
+
</span>
|
|
4054
|
+
|
|
3429
4055
|
|
|
3430
4056
|
|
|
3431
4057
|
|
|
@@ -3453,7 +4079,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3453
4079
|
<td class="type">
|
|
3454
4080
|
|
|
3455
4081
|
|
|
3456
|
-
<span class="param-type">
|
|
4082
|
+
<span class="param-type">
|
|
4083
|
+
|
|
4084
|
+
String
|
|
4085
|
+
|
|
4086
|
+
</span>
|
|
4087
|
+
|
|
3457
4088
|
|
|
3458
4089
|
|
|
3459
4090
|
|
|
@@ -3481,7 +4112,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3481
4112
|
<td class="type">
|
|
3482
4113
|
|
|
3483
4114
|
|
|
3484
|
-
<span class="param-type">
|
|
4115
|
+
<span class="param-type">
|
|
4116
|
+
|
|
4117
|
+
Number
|
|
4118
|
+
|
|
4119
|
+
</span>
|
|
4120
|
+
|
|
3485
4121
|
|
|
3486
4122
|
|
|
3487
4123
|
|
|
@@ -3507,7 +4143,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3507
4143
|
<td class="type">
|
|
3508
4144
|
|
|
3509
4145
|
|
|
3510
|
-
<span class="param-type">
|
|
4146
|
+
<span class="param-type">
|
|
4147
|
+
|
|
4148
|
+
Number
|
|
4149
|
+
|
|
4150
|
+
</span>
|
|
4151
|
+
|
|
3511
4152
|
|
|
3512
4153
|
|
|
3513
4154
|
|
|
@@ -3533,7 +4174,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3533
4174
|
<td class="type">
|
|
3534
4175
|
|
|
3535
4176
|
|
|
3536
|
-
<span class="param-type">
|
|
4177
|
+
<span class="param-type">
|
|
4178
|
+
|
|
4179
|
+
Number
|
|
4180
|
+
|
|
4181
|
+
</span>
|
|
4182
|
+
|
|
3537
4183
|
|
|
3538
4184
|
|
|
3539
4185
|
|
|
@@ -3559,7 +4205,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3559
4205
|
<td class="type">
|
|
3560
4206
|
|
|
3561
4207
|
|
|
3562
|
-
<span class="param-type">
|
|
4208
|
+
<span class="param-type">
|
|
4209
|
+
|
|
4210
|
+
Number
|
|
4211
|
+
|
|
4212
|
+
</span>
|
|
4213
|
+
|
|
3563
4214
|
|
|
3564
4215
|
|
|
3565
4216
|
|
|
@@ -3585,7 +4236,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3585
4236
|
<td class="type">
|
|
3586
4237
|
|
|
3587
4238
|
|
|
3588
|
-
<span class="param-type">
|
|
4239
|
+
<span class="param-type">
|
|
4240
|
+
|
|
4241
|
+
Boolean
|
|
4242
|
+
|
|
4243
|
+
</span>
|
|
4244
|
+
|
|
3589
4245
|
|
|
3590
4246
|
|
|
3591
4247
|
|
|
@@ -3669,7 +4325,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3669
4325
|
|
|
3670
4326
|
|
|
3671
4327
|
<div class='columns method-parameter'>
|
|
3672
|
-
<div class="column is-2"><label
|
|
4328
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
3673
4329
|
<div class="column is-10">
|
|
3674
4330
|
|
|
3675
4331
|
|
|
@@ -3682,7 +4338,12 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3682
4338
|
<div class='column is-5 has-text-left'>
|
|
3683
4339
|
<label>类型: </label>
|
|
3684
4340
|
|
|
3685
|
-
<span class="param-type">
|
|
4341
|
+
<span class="param-type">
|
|
4342
|
+
|
|
4343
|
+
Object
|
|
4344
|
+
|
|
4345
|
+
</span>
|
|
4346
|
+
|
|
3686
4347
|
|
|
3687
4348
|
|
|
3688
4349
|
</div>
|
|
@@ -3739,7 +4400,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3739
4400
|
<h4 class="name" id="toJSON">
|
|
3740
4401
|
<a class="href-link" href="#toJSON">#</a>
|
|
3741
4402
|
|
|
3742
|
-
<span class="code-name" style="font-size:30px">
|
|
4403
|
+
<span class="code-name" id="toJSON" style="font-size:30px">
|
|
3743
4404
|
|
|
3744
4405
|
toJSON<span class="signature">()</span>
|
|
3745
4406
|
|
|
@@ -3818,7 +4479,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3818
4479
|
|
|
3819
4480
|
|
|
3820
4481
|
<div class='columns method-parameter'>
|
|
3821
|
-
<div class="column is-2"><label
|
|
4482
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
3822
4483
|
<div class="column is-10">
|
|
3823
4484
|
|
|
3824
4485
|
|
|
@@ -3831,7 +4492,12 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3831
4492
|
<div class='column is-5 has-text-left'>
|
|
3832
4493
|
<label>类型: </label>
|
|
3833
4494
|
|
|
3834
|
-
<span class="param-type">
|
|
4495
|
+
<span class="param-type">
|
|
4496
|
+
|
|
4497
|
+
Object
|
|
4498
|
+
|
|
4499
|
+
</span>
|
|
4500
|
+
|
|
3835
4501
|
|
|
3836
4502
|
|
|
3837
4503
|
</div>
|
|
@@ -3856,7 +4522,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3856
4522
|
<h4 class="name" id="toMap">
|
|
3857
4523
|
<a class="href-link" href="#toMap">#</a>
|
|
3858
4524
|
|
|
3859
|
-
<span class="code-name" style="font-size:30px">
|
|
4525
|
+
<span class="code-name" id="toMap" style="font-size:30px">
|
|
3860
4526
|
|
|
3861
4527
|
toMap<span class="signature">(screenPoint)</span>
|
|
3862
4528
|
|
|
@@ -3879,7 +4545,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3879
4545
|
|
|
3880
4546
|
|
|
3881
4547
|
|
|
3882
|
-
<h4
|
|
4548
|
+
<h4>参数</h4>
|
|
3883
4549
|
|
|
3884
4550
|
<div class="table-container">
|
|
3885
4551
|
<table class="params table">
|
|
@@ -3909,7 +4575,12 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3909
4575
|
<td class="type">
|
|
3910
4576
|
|
|
3911
4577
|
|
|
3912
|
-
<span class="param-type">
|
|
4578
|
+
<span class="param-type">
|
|
4579
|
+
|
|
4580
|
+
Object
|
|
4581
|
+
|
|
4582
|
+
</span>
|
|
4583
|
+
|
|
3913
4584
|
|
|
3914
4585
|
|
|
3915
4586
|
|
|
@@ -3984,7 +4655,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3984
4655
|
|
|
3985
4656
|
|
|
3986
4657
|
<div class='columns method-parameter'>
|
|
3987
|
-
<div class="column is-2"><label
|
|
4658
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
3988
4659
|
<div class="column is-10">
|
|
3989
4660
|
|
|
3990
4661
|
|
|
@@ -3997,7 +4668,12 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3997
4668
|
<div class='column is-5 has-text-left'>
|
|
3998
4669
|
<label>类型: </label>
|
|
3999
4670
|
|
|
4000
|
-
<span class="param-type">
|
|
4671
|
+
<span class="param-type">
|
|
4672
|
+
|
|
4673
|
+
Point
|
|
4674
|
+
|
|
4675
|
+
</span>
|
|
4676
|
+
|
|
4001
4677
|
|
|
4002
4678
|
|
|
4003
4679
|
</div>
|
|
@@ -4044,7 +4720,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4044
4720
|
<h4 class="name" id="toScreen">
|
|
4045
4721
|
<a class="href-link" href="#toScreen">#</a>
|
|
4046
4722
|
|
|
4047
|
-
<span class="code-name" style="font-size:30px">
|
|
4723
|
+
<span class="code-name" id="toScreen" style="font-size:30px">
|
|
4048
4724
|
|
|
4049
4725
|
toScreen<span class="signature">(point)</span>
|
|
4050
4726
|
|
|
@@ -4067,7 +4743,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4067
4743
|
|
|
4068
4744
|
|
|
4069
4745
|
|
|
4070
|
-
<h4
|
|
4746
|
+
<h4>参数</h4>
|
|
4071
4747
|
|
|
4072
4748
|
<div class="table-container">
|
|
4073
4749
|
<table class="params table">
|
|
@@ -4097,7 +4773,12 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4097
4773
|
<td class="type">
|
|
4098
4774
|
|
|
4099
4775
|
|
|
4100
|
-
<span class="param-type">
|
|
4776
|
+
<span class="param-type">
|
|
4777
|
+
|
|
4778
|
+
Point
|
|
4779
|
+
|
|
4780
|
+
</span>
|
|
4781
|
+
|
|
4101
4782
|
|
|
4102
4783
|
|
|
4103
4784
|
|
|
@@ -4172,7 +4853,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4172
4853
|
|
|
4173
4854
|
|
|
4174
4855
|
<div class='columns method-parameter'>
|
|
4175
|
-
<div class="column is-2"><label
|
|
4856
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
4176
4857
|
<div class="column is-10">
|
|
4177
4858
|
|
|
4178
4859
|
|
|
@@ -4185,7 +4866,12 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4185
4866
|
<div class='column is-5 has-text-left'>
|
|
4186
4867
|
<label>类型: </label>
|
|
4187
4868
|
|
|
4188
|
-
<span class="param-type">
|
|
4869
|
+
<span class="param-type">
|
|
4870
|
+
|
|
4871
|
+
Object
|
|
4872
|
+
|
|
4873
|
+
</span>
|
|
4874
|
+
|
|
4189
4875
|
|
|
4190
4876
|
|
|
4191
4877
|
</div>
|
|
@@ -4234,42 +4920,4 @@ mapView.toScreen(geoPoint)</code></pre>
|
|
|
4234
4920
|
|
|
4235
4921
|
</article>
|
|
4236
4922
|
|
|
4237
|
-
</section>
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
</div>
|
|
4243
|
-
|
|
4244
|
-
<footer class="footer">
|
|
4245
|
-
<div class="content has-text-centered">
|
|
4246
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
4247
|
-
<p class="sidebar-created-by">
|
|
4248
|
-
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
4249
|
-
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
4250
|
-
</p>
|
|
4251
|
-
</div>
|
|
4252
|
-
</footer>
|
|
4253
|
-
|
|
4254
|
-
</div>
|
|
4255
|
-
<div id="side-nav" class="side-nav">
|
|
4256
|
-
<div style="margin-bottom: 10px;">
|
|
4257
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
4258
|
-
</div>
|
|
4259
|
-
<div style="margin-bottom: 10px;">
|
|
4260
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
4261
|
-
</div>
|
|
4262
|
-
<div style="margin-bottom: 10px;">
|
|
4263
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
4264
|
-
</div>
|
|
4265
|
-
<div>
|
|
4266
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
4267
|
-
</div>
|
|
4268
|
-
</div>
|
|
4269
|
-
</div>
|
|
4270
|
-
<script src="scripts/linenumber.js"> </script>
|
|
4271
|
-
|
|
4272
|
-
<script src="scripts/search.js"> </script>
|
|
4273
|
-
|
|
4274
|
-
</body>
|
|
4275
|
-
</html>
|
|
4923
|
+
</section>
|