@mapgis/webclient-mapboxgl-plugin 17.2.8 → 17.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/es5/webclient-common.min.js +5 -5
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -1
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -1
- package/documention/EchartsLayer.html +178 -20
- package/documention/MapView.html +1704 -0
- package/documention/MapViewMapboxgl.html +283 -931
- package/documention/Popup.html +198 -284
- package/documention/Screenshot.html +181 -134
- package/documention/SketchEditorMapboxgl.html +241 -477
- package/documention/global.html +4968 -6
- package/documention/index.html +11 -14
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapvLayer.html +180 -27
- package/documention/scripts/search.js +1 -26
- 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 +152 -7
- package/package.json +4 -5
|
@@ -1,10 +1,140 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<title>Client for JavaScript 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>
|
|
5
23
|
|
|
6
|
-
</header>
|
|
7
24
|
|
|
25
|
+
<div class="top-nav">
|
|
26
|
+
<div class="inner">
|
|
27
|
+
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
28
|
+
<span aria-hidden="true"></span>
|
|
29
|
+
<span aria-hidden="true"></span>
|
|
30
|
+
<span aria-hidden="true"></span>
|
|
31
|
+
</a>
|
|
32
|
+
<div class="logo">
|
|
33
|
+
|
|
34
|
+
<h1> MapGIS Client for JavaScript API</h1>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</div>
|
|
38
|
+
<div class="menu">
|
|
39
|
+
|
|
40
|
+
<div class="navigation">
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<a
|
|
44
|
+
class="link user-link "
|
|
45
|
+
href="/static/modules/common/api/common-mapgis/index.html"
|
|
46
|
+
>
|
|
47
|
+
Common
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a
|
|
51
|
+
class="link user-link "
|
|
52
|
+
href="/static/modules/cesium/api/cesium-mapgis/index.html"
|
|
53
|
+
>
|
|
54
|
+
Cesium-Plugin
|
|
55
|
+
</a>
|
|
56
|
+
|
|
57
|
+
<a
|
|
58
|
+
class="link user-link "
|
|
59
|
+
href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
|
|
60
|
+
>
|
|
61
|
+
MapboxGL-Plugin
|
|
62
|
+
</a>
|
|
63
|
+
|
|
64
|
+
<a
|
|
65
|
+
class="link user-link "
|
|
66
|
+
href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
|
|
67
|
+
>
|
|
68
|
+
Leaflet-Plugin
|
|
69
|
+
</a>
|
|
70
|
+
|
|
71
|
+
<a
|
|
72
|
+
class="link user-link "
|
|
73
|
+
href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
|
|
74
|
+
>
|
|
75
|
+
OpenLayers-Plugin
|
|
76
|
+
</a>
|
|
77
|
+
|
|
78
|
+
<a
|
|
79
|
+
class="link user-link "
|
|
80
|
+
href="/static/modules/video/api/video-mapgis/index.html"
|
|
81
|
+
>
|
|
82
|
+
Video-Plugin
|
|
83
|
+
</a>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="main">
|
|
93
|
+
<div
|
|
94
|
+
class="sidebar "
|
|
95
|
+
id="sidebarNav"
|
|
96
|
+
>
|
|
97
|
+
<div>
|
|
98
|
+
<span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="search-wrapper">
|
|
102
|
+
<input id="search" type="text" placeholder="搜索文档..." class="input">
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<nav>
|
|
106
|
+
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li><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
|
+
|
|
8
138
|
|
|
9
139
|
|
|
10
140
|
|
|
@@ -25,7 +155,7 @@
|
|
|
25
155
|
<h4 class="name" id="MapViewMapboxgl">
|
|
26
156
|
<a class="href-link" href="#MapViewMapboxgl">#</a>
|
|
27
157
|
|
|
28
|
-
<span class="code-name"
|
|
158
|
+
<span class="code-name" style="font-size:30px">
|
|
29
159
|
|
|
30
160
|
new MapViewMapboxgl<span class="signature">(options)</span>
|
|
31
161
|
|
|
@@ -53,7 +183,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
53
183
|
|
|
54
184
|
|
|
55
185
|
|
|
56
|
-
<h4
|
|
186
|
+
<h4>参数:</h4>
|
|
57
187
|
|
|
58
188
|
<div class="table-container">
|
|
59
189
|
<table class="params table">
|
|
@@ -85,12 +215,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
85
215
|
<td class="type">
|
|
86
216
|
|
|
87
217
|
|
|
88
|
-
<span class="param-type">
|
|
89
|
-
|
|
90
|
-
Object
|
|
91
|
-
|
|
92
|
-
</span>
|
|
93
|
-
|
|
218
|
+
<span class="param-type">Object</span>
|
|
94
219
|
|
|
95
220
|
|
|
96
221
|
|
|
@@ -116,12 +241,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
116
241
|
<td class="type">
|
|
117
242
|
|
|
118
243
|
|
|
119
|
-
<span class="param-type">
|
|
120
|
-
|
|
121
|
-
Map
|
|
122
|
-
|
|
123
|
-
</span>
|
|
124
|
-
|
|
244
|
+
<span class="param-type">Map</span>
|
|
125
245
|
|
|
126
246
|
|
|
127
247
|
|
|
@@ -147,12 +267,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
147
267
|
<td class="type">
|
|
148
268
|
|
|
149
269
|
|
|
150
|
-
<span class="param-type">
|
|
151
|
-
|
|
152
|
-
String
|
|
153
|
-
|
|
154
|
-
</span>
|
|
155
|
-
|
|
270
|
+
<span class="param-type">String</span>
|
|
156
271
|
|
|
157
272
|
|
|
158
273
|
|
|
@@ -178,12 +293,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
178
293
|
<td class="type">
|
|
179
294
|
|
|
180
295
|
|
|
181
|
-
<span class="param-type">
|
|
182
|
-
|
|
183
|
-
Number
|
|
184
|
-
|
|
185
|
-
</span>
|
|
186
|
-
|
|
296
|
+
<span class="param-type">Number</span>
|
|
187
297
|
|
|
188
298
|
|
|
189
299
|
|
|
@@ -211,12 +321,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
211
321
|
<td class="type">
|
|
212
322
|
|
|
213
323
|
|
|
214
|
-
<span class="param-type">
|
|
215
|
-
|
|
216
|
-
Point
|
|
217
|
-
|
|
218
|
-
</span>
|
|
219
|
-
|
|
324
|
+
<span class="param-type">Point</span>
|
|
220
325
|
|
|
221
326
|
|
|
222
327
|
|
|
@@ -242,12 +347,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
242
347
|
<td class="type">
|
|
243
348
|
|
|
244
349
|
|
|
245
|
-
<span class="param-type">
|
|
246
|
-
|
|
247
|
-
Extent
|
|
248
|
-
|
|
249
|
-
</span>
|
|
250
|
-
|
|
350
|
+
<span class="param-type">Extent</span>
|
|
251
351
|
|
|
252
352
|
|
|
253
353
|
|
|
@@ -273,12 +373,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
273
373
|
<td class="type">
|
|
274
374
|
|
|
275
375
|
|
|
276
|
-
<span class="param-type">
|
|
277
|
-
|
|
278
|
-
Number
|
|
279
|
-
|
|
280
|
-
</span>
|
|
281
|
-
|
|
376
|
+
<span class="param-type">Number</span>
|
|
282
377
|
|
|
283
378
|
|
|
284
379
|
|
|
@@ -304,12 +399,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
304
399
|
<td class="type">
|
|
305
400
|
|
|
306
401
|
|
|
307
|
-
<span class="param-type">
|
|
308
|
-
|
|
309
|
-
Number
|
|
310
|
-
|
|
311
|
-
</span>
|
|
312
|
-
|
|
402
|
+
<span class="param-type">Number</span>
|
|
313
403
|
|
|
314
404
|
|
|
315
405
|
|
|
@@ -335,12 +425,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
335
425
|
<td class="type">
|
|
336
426
|
|
|
337
427
|
|
|
338
|
-
<span class="param-type">
|
|
339
|
-
|
|
340
|
-
Number
|
|
341
|
-
|
|
342
|
-
</span>
|
|
343
|
-
|
|
428
|
+
<span class="param-type">Number</span>
|
|
344
429
|
|
|
345
430
|
|
|
346
431
|
|
|
@@ -366,12 +451,7 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
366
451
|
<td class="type">
|
|
367
452
|
|
|
368
453
|
|
|
369
|
-
<span class="param-type">
|
|
370
|
-
|
|
371
|
-
Object
|
|
372
|
-
|
|
373
|
-
</span>
|
|
374
|
-
|
|
454
|
+
<span class="param-type">Object</span>
|
|
375
455
|
|
|
376
456
|
|
|
377
457
|
|
|
@@ -440,40 +520,40 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
440
520
|
|
|
441
521
|
|
|
442
522
|
<div class="method-parameter columns">
|
|
443
|
-
<div class="column is-2"><label
|
|
523
|
+
<div class="column is-2"><label>绑定事件:</label></div>
|
|
444
524
|
<div class="column is-10">
|
|
445
525
|
<ul>
|
|
446
|
-
<li
|
|
526
|
+
<li>BaseView#event:地图视图加载完毕事件</li>
|
|
447
527
|
|
|
448
|
-
<li
|
|
528
|
+
<li>BaseView#event:鼠标点击事件</li>
|
|
449
529
|
|
|
450
|
-
<li
|
|
530
|
+
<li>BaseView#event:鼠标双击事件</li>
|
|
451
531
|
|
|
452
|
-
<li
|
|
532
|
+
<li>BaseView#event:鼠标按下事件</li>
|
|
453
533
|
|
|
454
|
-
<li
|
|
534
|
+
<li>BaseView#event:鼠标抬起事件</li>
|
|
455
535
|
|
|
456
|
-
<li
|
|
536
|
+
<li>BaseView#event:鼠标右键点击事件</li>
|
|
457
537
|
|
|
458
|
-
<li
|
|
538
|
+
<li>BaseView#event:鼠标移动事件</li>
|
|
459
539
|
|
|
460
|
-
<li
|
|
540
|
+
<li>BaseView#event:鼠标移出视图事件</li>
|
|
461
541
|
|
|
462
|
-
<li
|
|
542
|
+
<li>BaseView#event:鼠标移入视图事件</li>
|
|
463
543
|
|
|
464
|
-
<li
|
|
544
|
+
<li>BaseView#event:zoom变化事件</li>
|
|
465
545
|
|
|
466
|
-
<li
|
|
546
|
+
<li>BaseView#event:地图移动事件</li>
|
|
467
547
|
|
|
468
|
-
<li
|
|
548
|
+
<li>BaseView#event:地图大小变化事件</li>
|
|
469
549
|
|
|
470
|
-
<li
|
|
550
|
+
<li>BaseView#event:键盘输入事件</li>
|
|
471
551
|
|
|
472
|
-
<li
|
|
552
|
+
<li>BaseView#event:键盘按下事件</li>
|
|
473
553
|
|
|
474
|
-
<li
|
|
554
|
+
<li>BaseView#event:键盘抬起事件</li>
|
|
475
555
|
|
|
476
|
-
<li
|
|
556
|
+
<li>BaseView#event:地图视图改变事件</li>
|
|
477
557
|
</ul>
|
|
478
558
|
</div>
|
|
479
559
|
</div>
|
|
@@ -569,274 +649,6 @@ const mapView = new MapViewMapboxgl({
|
|
|
569
649
|
|
|
570
650
|
<div class='vertical-section'>
|
|
571
651
|
<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>地图视图最大比例尺</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>地图视图最小比例尺</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)" class="mapgis-link-name" title="Popup" 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>
|
|
840
652
|
<div class="members">
|
|
841
653
|
|
|
842
654
|
<div class="member">
|
|
@@ -844,12 +656,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
844
656
|
<span class="method-parameter is-pulled-right">
|
|
845
657
|
<label>类型:</label>
|
|
846
658
|
|
|
847
|
-
<span class="param-type">
|
|
848
|
-
|
|
849
|
-
SpatialReference
|
|
850
|
-
|
|
851
|
-
</span>
|
|
852
|
-
|
|
659
|
+
<span class="param-type">SpatialReference</span>
|
|
853
660
|
|
|
854
661
|
|
|
855
662
|
</span>
|
|
@@ -923,12 +730,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
923
730
|
<span class="method-parameter is-pulled-right">
|
|
924
731
|
<label>类型:</label>
|
|
925
732
|
|
|
926
|
-
<span class="param-type">
|
|
927
|
-
|
|
928
|
-
Point
|
|
929
|
-
|
|
930
|
-
</span>
|
|
931
|
-
|
|
733
|
+
<span class="param-type">Point</span>
|
|
932
734
|
|
|
933
735
|
|
|
934
736
|
</span>
|
|
@@ -998,12 +800,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
998
800
|
<span class="method-parameter is-pulled-right">
|
|
999
801
|
<label>类型:</label>
|
|
1000
802
|
|
|
1001
|
-
<span class="param-type">
|
|
1002
|
-
|
|
1003
|
-
Object
|
|
1004
|
-
|
|
1005
|
-
</span>
|
|
1006
|
-
|
|
803
|
+
<span class="param-type">Object</span>
|
|
1007
804
|
|
|
1008
805
|
|
|
1009
806
|
</span>
|
|
@@ -1077,12 +874,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1077
874
|
<span class="method-parameter is-pulled-right">
|
|
1078
875
|
<label>类型:</label>
|
|
1079
876
|
|
|
1080
|
-
<span class="param-type">
|
|
1081
|
-
|
|
1082
|
-
Extent
|
|
1083
|
-
|
|
1084
|
-
</span>
|
|
1085
|
-
|
|
877
|
+
<span class="param-type">Extent</span>
|
|
1086
878
|
|
|
1087
879
|
|
|
1088
880
|
</span>
|
|
@@ -1152,12 +944,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1152
944
|
<span class="method-parameter is-pulled-right">
|
|
1153
945
|
<label>类型:</label>
|
|
1154
946
|
|
|
1155
|
-
<span class="param-type">
|
|
1156
|
-
|
|
1157
|
-
Extent
|
|
1158
|
-
|
|
1159
|
-
</span>
|
|
1160
|
-
|
|
947
|
+
<span class="param-type">Extent</span>
|
|
1161
948
|
|
|
1162
949
|
|
|
1163
950
|
</span>
|
|
@@ -1227,12 +1014,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1227
1014
|
<span class="method-parameter is-pulled-right">
|
|
1228
1015
|
<label>类型:</label>
|
|
1229
1016
|
|
|
1230
|
-
<span class="param-type">
|
|
1231
|
-
|
|
1232
|
-
Number
|
|
1233
|
-
|
|
1234
|
-
</span>
|
|
1235
|
-
|
|
1017
|
+
<span class="param-type">Number</span>
|
|
1236
1018
|
|
|
1237
1019
|
|
|
1238
1020
|
</span>
|
|
@@ -1306,12 +1088,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1306
1088
|
<span class="method-parameter is-pulled-right">
|
|
1307
1089
|
<label>类型:</label>
|
|
1308
1090
|
|
|
1309
|
-
<span class="param-type">
|
|
1310
|
-
|
|
1311
|
-
Number
|
|
1312
|
-
|
|
1313
|
-
</span>
|
|
1314
|
-
|
|
1091
|
+
<span class="param-type">Number</span>
|
|
1315
1092
|
|
|
1316
1093
|
|
|
1317
1094
|
</span>
|
|
@@ -1381,12 +1158,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1381
1158
|
<span class="method-parameter is-pulled-right">
|
|
1382
1159
|
<label>类型:</label>
|
|
1383
1160
|
|
|
1384
|
-
<span class="param-type">
|
|
1385
|
-
|
|
1386
|
-
Number
|
|
1387
|
-
|
|
1388
|
-
</span>
|
|
1389
|
-
|
|
1161
|
+
<span class="param-type">Number</span>
|
|
1390
1162
|
|
|
1391
1163
|
|
|
1392
1164
|
</span>
|
|
@@ -1456,12 +1228,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1456
1228
|
<span class="method-parameter is-pulled-right">
|
|
1457
1229
|
<label>类型:</label>
|
|
1458
1230
|
|
|
1459
|
-
<span class="param-type">
|
|
1460
|
-
|
|
1461
|
-
<a link="Popup.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Popup" Popup.html>Popup</a>
|
|
1462
|
-
|
|
1463
|
-
</span>
|
|
1464
|
-
|
|
1231
|
+
<span class="param-type"><a href="Popup.html">Popup</a></span>
|
|
1465
1232
|
|
|
1466
1233
|
|
|
1467
1234
|
</span>
|
|
@@ -1531,12 +1298,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1531
1298
|
<span class="method-parameter is-pulled-right">
|
|
1532
1299
|
<label>类型:</label>
|
|
1533
1300
|
|
|
1534
|
-
<span class="param-type">
|
|
1535
|
-
|
|
1536
|
-
Number
|
|
1537
|
-
|
|
1538
|
-
</span>
|
|
1539
|
-
|
|
1301
|
+
<span class="param-type">Number</span>
|
|
1540
1302
|
|
|
1541
1303
|
|
|
1542
1304
|
</span>
|
|
@@ -1606,12 +1368,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1606
1368
|
<span class="method-parameter is-pulled-right">
|
|
1607
1369
|
<label>类型:</label>
|
|
1608
1370
|
|
|
1609
|
-
<span class="param-type">
|
|
1610
|
-
|
|
1611
|
-
Boolean
|
|
1612
|
-
|
|
1613
|
-
</span>
|
|
1614
|
-
|
|
1371
|
+
<span class="param-type">Boolean</span>
|
|
1615
1372
|
|
|
1616
1373
|
|
|
1617
1374
|
</span>
|
|
@@ -1681,12 +1438,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1681
1438
|
<span class="method-parameter is-pulled-right">
|
|
1682
1439
|
<label>类型:</label>
|
|
1683
1440
|
|
|
1684
|
-
<span class="param-type">
|
|
1685
|
-
|
|
1686
|
-
Boolean
|
|
1687
|
-
|
|
1688
|
-
</span>
|
|
1689
|
-
|
|
1441
|
+
<span class="param-type">Boolean</span>
|
|
1690
1442
|
|
|
1691
1443
|
|
|
1692
1444
|
</span>
|
|
@@ -1760,12 +1512,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1760
1512
|
<span class="method-parameter is-pulled-right">
|
|
1761
1513
|
<label>类型:</label>
|
|
1762
1514
|
|
|
1763
|
-
<span class="param-type">
|
|
1764
|
-
|
|
1765
|
-
Number
|
|
1766
|
-
|
|
1767
|
-
</span>
|
|
1768
|
-
|
|
1515
|
+
<span class="param-type">Number</span>
|
|
1769
1516
|
|
|
1770
1517
|
|
|
1771
1518
|
</span>
|
|
@@ -1839,12 +1586,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1839
1586
|
<span class="method-parameter is-pulled-right">
|
|
1840
1587
|
<label>类型:</label>
|
|
1841
1588
|
|
|
1842
|
-
<span class="param-type">
|
|
1843
|
-
|
|
1844
|
-
Number
|
|
1845
|
-
|
|
1846
|
-
</span>
|
|
1847
|
-
|
|
1589
|
+
<span class="param-type">Number</span>
|
|
1848
1590
|
|
|
1849
1591
|
|
|
1850
1592
|
</span>
|
|
@@ -1916,263 +1658,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1916
1658
|
|
|
1917
1659
|
<div class='vertical-section'>
|
|
1918
1660
|
<h3 id='function'>方法</h3>
|
|
1919
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
1920
1661
|
<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>
|
|
2176
1662
|
|
|
2177
1663
|
<div class="member">
|
|
2178
1664
|
|
|
@@ -2185,7 +1671,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2185
1671
|
<span class='tag'>static</span>
|
|
2186
1672
|
|
|
2187
1673
|
|
|
2188
|
-
<span class="code-name"
|
|
1674
|
+
<span class="code-name" style="font-size:30px">
|
|
2189
1675
|
|
|
2190
1676
|
fromJSON<span class="signature">(json)</span>
|
|
2191
1677
|
|
|
@@ -2208,7 +1694,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2208
1694
|
|
|
2209
1695
|
|
|
2210
1696
|
|
|
2211
|
-
<h4
|
|
1697
|
+
<h4>参数:</h4>
|
|
2212
1698
|
|
|
2213
1699
|
<div class="table-container">
|
|
2214
1700
|
<table class="params table">
|
|
@@ -2238,12 +1724,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2238
1724
|
<td class="type">
|
|
2239
1725
|
|
|
2240
1726
|
|
|
2241
|
-
<span class="param-type">
|
|
2242
|
-
|
|
2243
|
-
Object
|
|
2244
|
-
|
|
2245
|
-
</span>
|
|
2246
|
-
|
|
1727
|
+
<span class="param-type">Object</span>
|
|
2247
1728
|
|
|
2248
1729
|
|
|
2249
1730
|
|
|
@@ -2318,7 +1799,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2318
1799
|
|
|
2319
1800
|
|
|
2320
1801
|
<div class='columns method-parameter'>
|
|
2321
|
-
<div class="column is-2"><label
|
|
1802
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2322
1803
|
<div class="column is-10">
|
|
2323
1804
|
|
|
2324
1805
|
|
|
@@ -2329,12 +1810,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2329
1810
|
<div class='column is-5 has-text-left'>
|
|
2330
1811
|
<label>类型: </label>
|
|
2331
1812
|
|
|
2332
|
-
<span class="param-type">
|
|
2333
|
-
|
|
2334
|
-
MapView
|
|
2335
|
-
|
|
2336
|
-
</span>
|
|
2337
|
-
|
|
1813
|
+
<span class="param-type">MapView</span>
|
|
2338
1814
|
|
|
2339
1815
|
|
|
2340
1816
|
</div>
|
|
@@ -2359,7 +1835,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2359
1835
|
<h4 class="name" id="flyTo">
|
|
2360
1836
|
<a class="href-link" href="#flyTo">#</a>
|
|
2361
1837
|
|
|
2362
|
-
<span class="code-name"
|
|
1838
|
+
<span class="code-name" style="font-size:30px">
|
|
2363
1839
|
|
|
2364
1840
|
flyTo<span class="signature">(options)</span>
|
|
2365
1841
|
|
|
@@ -2381,7 +1857,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2381
1857
|
|
|
2382
1858
|
|
|
2383
1859
|
|
|
2384
|
-
<h4
|
|
1860
|
+
<h4>参数:</h4>
|
|
2385
1861
|
|
|
2386
1862
|
<div class="table-container">
|
|
2387
1863
|
<table class="params table">
|
|
@@ -2428,12 +1904,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2428
1904
|
<td class="type">
|
|
2429
1905
|
|
|
2430
1906
|
|
|
2431
|
-
<span class="param-type">
|
|
2432
|
-
|
|
2433
|
-
Array
|
|
2434
|
-
|
|
2435
|
-
</span>
|
|
2436
|
-
|
|
1907
|
+
<span class="param-type">Array</span>
|
|
2437
1908
|
|
|
2438
1909
|
|
|
2439
1910
|
|
|
@@ -2455,12 +1926,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2455
1926
|
<td class="type">
|
|
2456
1927
|
|
|
2457
1928
|
|
|
2458
|
-
<span class="param-type">
|
|
2459
|
-
|
|
2460
|
-
Number
|
|
2461
|
-
|
|
2462
|
-
</span>
|
|
2463
|
-
|
|
1929
|
+
<span class="param-type">Number</span>
|
|
2464
1930
|
|
|
2465
1931
|
|
|
2466
1932
|
|
|
@@ -2482,12 +1948,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
2482
1948
|
<td class="type">
|
|
2483
1949
|
|
|
2484
1950
|
|
|
2485
|
-
<span class="param-type">
|
|
2486
|
-
|
|
2487
|
-
Extent
|
|
2488
|
-
|
|
2489
|
-
</span>
|
|
2490
|
-
|
|
1951
|
+
<span class="param-type">Extent</span>
|
|
2491
1952
|
|
|
2492
1953
|
|
|
2493
1954
|
|
|
@@ -2655,7 +2116,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2655
2116
|
<h4 class="name" id="getCenter">
|
|
2656
2117
|
<a class="href-link" href="#getCenter">#</a>
|
|
2657
2118
|
|
|
2658
|
-
<span class="code-name"
|
|
2119
|
+
<span class="code-name" style="font-size:30px">
|
|
2659
2120
|
|
|
2660
2121
|
getCenter<span class="signature">()</span>
|
|
2661
2122
|
|
|
@@ -2733,7 +2194,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2733
2194
|
|
|
2734
2195
|
|
|
2735
2196
|
<div class='columns method-parameter'>
|
|
2736
|
-
<div class="column is-2"><label
|
|
2197
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2737
2198
|
<div class="column is-10">
|
|
2738
2199
|
|
|
2739
2200
|
|
|
@@ -2746,12 +2207,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2746
2207
|
<div class='column is-5 has-text-left'>
|
|
2747
2208
|
<label>类型: </label>
|
|
2748
2209
|
|
|
2749
|
-
<span class="param-type">
|
|
2750
|
-
|
|
2751
|
-
Object
|
|
2752
|
-
|
|
2753
|
-
</span>
|
|
2754
|
-
|
|
2210
|
+
<span class="param-type">Object</span>
|
|
2755
2211
|
|
|
2756
2212
|
|
|
2757
2213
|
</div>
|
|
@@ -2776,7 +2232,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2776
2232
|
<h4 class="name" id="getExtent">
|
|
2777
2233
|
<a class="href-link" href="#getExtent">#</a>
|
|
2778
2234
|
|
|
2779
|
-
<span class="code-name"
|
|
2235
|
+
<span class="code-name" style="font-size:30px">
|
|
2780
2236
|
|
|
2781
2237
|
getExtent<span class="signature">()</span>
|
|
2782
2238
|
|
|
@@ -2854,7 +2310,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2854
2310
|
|
|
2855
2311
|
|
|
2856
2312
|
<div class='columns method-parameter'>
|
|
2857
|
-
<div class="column is-2"><label
|
|
2313
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2858
2314
|
<div class="column is-10">
|
|
2859
2315
|
|
|
2860
2316
|
|
|
@@ -2867,12 +2323,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2867
2323
|
<div class='column is-5 has-text-left'>
|
|
2868
2324
|
<label>类型: </label>
|
|
2869
2325
|
|
|
2870
|
-
<span class="param-type">
|
|
2871
|
-
|
|
2872
|
-
Extent
|
|
2873
|
-
|
|
2874
|
-
</span>
|
|
2875
|
-
|
|
2326
|
+
<span class="param-type">Extent</span>
|
|
2876
2327
|
|
|
2877
2328
|
|
|
2878
2329
|
</div>
|
|
@@ -2897,7 +2348,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2897
2348
|
<h4 class="name" id="getScale">
|
|
2898
2349
|
<a class="href-link" href="#getScale">#</a>
|
|
2899
2350
|
|
|
2900
|
-
<span class="code-name"
|
|
2351
|
+
<span class="code-name" style="font-size:30px">
|
|
2901
2352
|
|
|
2902
2353
|
getScale<span class="signature">()</span>
|
|
2903
2354
|
|
|
@@ -2976,7 +2427,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2976
2427
|
|
|
2977
2428
|
|
|
2978
2429
|
<div class='columns method-parameter'>
|
|
2979
|
-
<div class="column is-2"><label
|
|
2430
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2980
2431
|
<div class="column is-10">
|
|
2981
2432
|
|
|
2982
2433
|
|
|
@@ -2989,12 +2440,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2989
2440
|
<div class='column is-5 has-text-left'>
|
|
2990
2441
|
<label>类型: </label>
|
|
2991
2442
|
|
|
2992
|
-
<span class="param-type">
|
|
2993
|
-
|
|
2994
|
-
Number
|
|
2995
|
-
|
|
2996
|
-
</span>
|
|
2997
|
-
|
|
2443
|
+
<span class="param-type">Number</span>
|
|
2998
2444
|
|
|
2999
2445
|
|
|
3000
2446
|
</div>
|
|
@@ -3019,7 +2465,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3019
2465
|
<h4 class="name" id="getSize">
|
|
3020
2466
|
<a class="href-link" href="#getSize">#</a>
|
|
3021
2467
|
|
|
3022
|
-
<span class="code-name"
|
|
2468
|
+
<span class="code-name" style="font-size:30px">
|
|
3023
2469
|
|
|
3024
2470
|
getSize<span class="signature">()</span>
|
|
3025
2471
|
|
|
@@ -3097,7 +2543,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3097
2543
|
|
|
3098
2544
|
|
|
3099
2545
|
<div class='columns method-parameter'>
|
|
3100
|
-
<div class="column is-2"><label
|
|
2546
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
3101
2547
|
<div class="column is-10">
|
|
3102
2548
|
|
|
3103
2549
|
|
|
@@ -3110,12 +2556,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3110
2556
|
<div class='column is-5 has-text-left'>
|
|
3111
2557
|
<label>类型: </label>
|
|
3112
2558
|
|
|
3113
|
-
<span class="param-type">
|
|
3114
|
-
|
|
3115
|
-
Object
|
|
3116
|
-
|
|
3117
|
-
</span>
|
|
3118
|
-
|
|
2559
|
+
<span class="param-type">Object</span>
|
|
3119
2560
|
|
|
3120
2561
|
|
|
3121
2562
|
</div>
|
|
@@ -3140,7 +2581,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3140
2581
|
<h4 class="name" id="getZoom">
|
|
3141
2582
|
<a class="href-link" href="#getZoom">#</a>
|
|
3142
2583
|
|
|
3143
|
-
<span class="code-name"
|
|
2584
|
+
<span class="code-name" style="font-size:30px">
|
|
3144
2585
|
|
|
3145
2586
|
getZoom<span class="signature">()</span>
|
|
3146
2587
|
|
|
@@ -3218,7 +2659,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3218
2659
|
|
|
3219
2660
|
|
|
3220
2661
|
<div class='columns method-parameter'>
|
|
3221
|
-
<div class="column is-2"><label
|
|
2662
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
3222
2663
|
<div class="column is-10">
|
|
3223
2664
|
|
|
3224
2665
|
|
|
@@ -3231,12 +2672,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3231
2672
|
<div class='column is-5 has-text-left'>
|
|
3232
2673
|
<label>类型: </label>
|
|
3233
2674
|
|
|
3234
|
-
<span class="param-type">
|
|
3235
|
-
|
|
3236
|
-
Number
|
|
3237
|
-
|
|
3238
|
-
</span>
|
|
3239
|
-
|
|
2675
|
+
<span class="param-type">Number</span>
|
|
3240
2676
|
|
|
3241
2677
|
|
|
3242
2678
|
</div>
|
|
@@ -3261,7 +2697,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3261
2697
|
<h4 class="name" id="goTo">
|
|
3262
2698
|
<a class="href-link" href="#goTo">#</a>
|
|
3263
2699
|
|
|
3264
|
-
<span class="code-name"
|
|
2700
|
+
<span class="code-name" style="font-size:30px">
|
|
3265
2701
|
|
|
3266
2702
|
goTo<span class="signature">(goToTarget, options)</span>
|
|
3267
2703
|
|
|
@@ -3283,7 +2719,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3283
2719
|
|
|
3284
2720
|
|
|
3285
2721
|
|
|
3286
|
-
<h4
|
|
2722
|
+
<h4>参数:</h4>
|
|
3287
2723
|
|
|
3288
2724
|
<div class="table-container">
|
|
3289
2725
|
<table class="params table">
|
|
@@ -3336,19 +2772,10 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3336
2772
|
<td class="type">
|
|
3337
2773
|
|
|
3338
2774
|
|
|
3339
|
-
<span class="param-type">
|
|
3340
|
-
|
|
3341
|
-
Point
|
|
3342
|
-
|
|
3343
|
-
</span>
|
|
2775
|
+
<span class="param-type">Point</span>
|
|
3344
2776
|
|
|
|
3345
2777
|
|
|
3346
|
-
<span class="param-type">
|
|
3347
|
-
|
|
3348
|
-
Array
|
|
3349
|
-
|
|
3350
|
-
</span>
|
|
3351
|
-
|
|
2778
|
+
<span class="param-type">Array</span>
|
|
3352
2779
|
|
|
3353
2780
|
|
|
3354
2781
|
|
|
@@ -3374,12 +2801,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3374
2801
|
<td class="type">
|
|
3375
2802
|
|
|
3376
2803
|
|
|
3377
|
-
<span class="param-type">
|
|
3378
|
-
|
|
3379
|
-
Number
|
|
3380
|
-
|
|
3381
|
-
</span>
|
|
3382
|
-
|
|
2804
|
+
<span class="param-type">Number</span>
|
|
3383
2805
|
|
|
3384
2806
|
|
|
3385
2807
|
|
|
@@ -3405,12 +2827,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3405
2827
|
<td class="type">
|
|
3406
2828
|
|
|
3407
2829
|
|
|
3408
|
-
<span class="param-type">
|
|
3409
|
-
|
|
3410
|
-
Number
|
|
3411
|
-
|
|
3412
|
-
</span>
|
|
3413
|
-
|
|
2830
|
+
<span class="param-type">Number</span>
|
|
3414
2831
|
|
|
3415
2832
|
|
|
3416
2833
|
|
|
@@ -3436,26 +2853,13 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3436
2853
|
<td class="type">
|
|
3437
2854
|
|
|
3438
2855
|
|
|
3439
|
-
<span class="param-type">
|
|
3440
|
-
|
|
3441
|
-
Geometry
|
|
3442
|
-
|
|
3443
|
-
</span>
|
|
2856
|
+
<span class="param-type">Geometry</span>
|
|
3444
2857
|
|
|
|
3445
2858
|
|
|
3446
|
-
<span class="param-type">
|
|
3447
|
-
|
|
3448
|
-
Array.<Geometry>
|
|
3449
|
-
|
|
3450
|
-
</span>
|
|
2859
|
+
<span class="param-type">Array.<Geometry></span>
|
|
3451
2860
|
|
|
|
3452
2861
|
|
|
3453
|
-
<span class="param-type">
|
|
3454
|
-
|
|
3455
|
-
Collection.<Geometry>
|
|
3456
|
-
|
|
3457
|
-
</span>
|
|
3458
|
-
|
|
2862
|
+
<span class="param-type">Collection.<Geometry></span>
|
|
3459
2863
|
|
|
3460
2864
|
|
|
3461
2865
|
|
|
@@ -3507,12 +2911,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3507
2911
|
<td class="type">
|
|
3508
2912
|
|
|
3509
2913
|
|
|
3510
|
-
<span class="param-type">
|
|
3511
|
-
|
|
3512
|
-
Boolean
|
|
3513
|
-
|
|
3514
|
-
</span>
|
|
3515
|
-
|
|
2914
|
+
<span class="param-type">Boolean</span>
|
|
3516
2915
|
|
|
3517
2916
|
|
|
3518
2917
|
|
|
@@ -3540,12 +2939,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
3540
2939
|
<td class="type">
|
|
3541
2940
|
|
|
3542
2941
|
|
|
3543
|
-
<span class="param-type">
|
|
3544
|
-
|
|
3545
|
-
Number
|
|
3546
|
-
|
|
3547
|
-
</span>
|
|
3548
|
-
|
|
2942
|
+
<span class="param-type">Number</span>
|
|
3549
2943
|
|
|
3550
2944
|
|
|
3551
2945
|
|
|
@@ -3707,7 +3101,7 @@ mapView
|
|
|
3707
3101
|
<h4 class="name" id="hitTest">
|
|
3708
3102
|
<a class="href-link" href="#hitTest">#</a>
|
|
3709
3103
|
|
|
3710
|
-
<span class="code-name"
|
|
3104
|
+
<span class="code-name" style="font-size:30px">
|
|
3711
3105
|
|
|
3712
3106
|
hitTest<span class="signature">(screenPoint)</span>
|
|
3713
3107
|
|
|
@@ -3729,7 +3123,7 @@ mapView
|
|
|
3729
3123
|
|
|
3730
3124
|
|
|
3731
3125
|
|
|
3732
|
-
<h4
|
|
3126
|
+
<h4>参数:</h4>
|
|
3733
3127
|
|
|
3734
3128
|
<div class="table-container">
|
|
3735
3129
|
<table class="params table">
|
|
@@ -3759,12 +3153,7 @@ mapView
|
|
|
3759
3153
|
<td class="type">
|
|
3760
3154
|
|
|
3761
3155
|
|
|
3762
|
-
<span class="param-type">
|
|
3763
|
-
|
|
3764
|
-
Object
|
|
3765
|
-
|
|
3766
|
-
</span>
|
|
3767
|
-
|
|
3156
|
+
<span class="param-type">Object</span>
|
|
3768
3157
|
|
|
3769
3158
|
|
|
3770
3159
|
|
|
@@ -3839,7 +3228,7 @@ mapView
|
|
|
3839
3228
|
|
|
3840
3229
|
|
|
3841
3230
|
<div class='columns method-parameter'>
|
|
3842
|
-
<div class="column is-2"><label
|
|
3231
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
3843
3232
|
<div class="column is-10">
|
|
3844
3233
|
|
|
3845
3234
|
|
|
@@ -3852,12 +3241,7 @@ mapView
|
|
|
3852
3241
|
<div class='column is-5 has-text-left'>
|
|
3853
3242
|
<label>类型: </label>
|
|
3854
3243
|
|
|
3855
|
-
<span class="param-type">
|
|
3856
|
-
|
|
3857
|
-
Array
|
|
3858
|
-
|
|
3859
|
-
</span>
|
|
3860
|
-
|
|
3244
|
+
<span class="param-type">Array</span>
|
|
3861
3245
|
|
|
3862
3246
|
|
|
3863
3247
|
</div>
|
|
@@ -3959,7 +3343,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3959
3343
|
<h4 class="name" id="takeScreenshot">
|
|
3960
3344
|
<a class="href-link" href="#takeScreenshot">#</a>
|
|
3961
3345
|
|
|
3962
|
-
<span class="code-name"
|
|
3346
|
+
<span class="code-name" style="font-size:30px">
|
|
3963
3347
|
|
|
3964
3348
|
takeScreenshot<span class="signature">(options<span class="signature-attributes">opt</span>)</span>
|
|
3965
3349
|
|
|
@@ -3981,7 +3365,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
3981
3365
|
|
|
3982
3366
|
|
|
3983
3367
|
|
|
3984
|
-
<h4
|
|
3368
|
+
<h4>参数:</h4>
|
|
3985
3369
|
|
|
3986
3370
|
<div class="table-container">
|
|
3987
3371
|
<table class="params table">
|
|
@@ -4013,12 +3397,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4013
3397
|
<td class="type">
|
|
4014
3398
|
|
|
4015
3399
|
|
|
4016
|
-
<span class="param-type">
|
|
4017
|
-
|
|
4018
|
-
Object
|
|
4019
|
-
|
|
4020
|
-
</span>
|
|
4021
|
-
|
|
3400
|
+
<span class="param-type">Object</span>
|
|
4022
3401
|
|
|
4023
3402
|
|
|
4024
3403
|
|
|
@@ -4046,12 +3425,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4046
3425
|
<td class="type">
|
|
4047
3426
|
|
|
4048
3427
|
|
|
4049
|
-
<span class="param-type">
|
|
4050
|
-
|
|
4051
|
-
PictureFormat
|
|
4052
|
-
|
|
4053
|
-
</span>
|
|
4054
|
-
|
|
3428
|
+
<span class="param-type">PictureFormat</span>
|
|
4055
3429
|
|
|
4056
3430
|
|
|
4057
3431
|
|
|
@@ -4079,12 +3453,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4079
3453
|
<td class="type">
|
|
4080
3454
|
|
|
4081
3455
|
|
|
4082
|
-
<span class="param-type">
|
|
4083
|
-
|
|
4084
|
-
String
|
|
4085
|
-
|
|
4086
|
-
</span>
|
|
4087
|
-
|
|
3456
|
+
<span class="param-type">String</span>
|
|
4088
3457
|
|
|
4089
3458
|
|
|
4090
3459
|
|
|
@@ -4112,12 +3481,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4112
3481
|
<td class="type">
|
|
4113
3482
|
|
|
4114
3483
|
|
|
4115
|
-
<span class="param-type">
|
|
4116
|
-
|
|
4117
|
-
Number
|
|
4118
|
-
|
|
4119
|
-
</span>
|
|
4120
|
-
|
|
3484
|
+
<span class="param-type">Number</span>
|
|
4121
3485
|
|
|
4122
3486
|
|
|
4123
3487
|
|
|
@@ -4143,12 +3507,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4143
3507
|
<td class="type">
|
|
4144
3508
|
|
|
4145
3509
|
|
|
4146
|
-
<span class="param-type">
|
|
4147
|
-
|
|
4148
|
-
Number
|
|
4149
|
-
|
|
4150
|
-
</span>
|
|
4151
|
-
|
|
3510
|
+
<span class="param-type">Number</span>
|
|
4152
3511
|
|
|
4153
3512
|
|
|
4154
3513
|
|
|
@@ -4174,12 +3533,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4174
3533
|
<td class="type">
|
|
4175
3534
|
|
|
4176
3535
|
|
|
4177
|
-
<span class="param-type">
|
|
4178
|
-
|
|
4179
|
-
Number
|
|
4180
|
-
|
|
4181
|
-
</span>
|
|
4182
|
-
|
|
3536
|
+
<span class="param-type">Number</span>
|
|
4183
3537
|
|
|
4184
3538
|
|
|
4185
3539
|
|
|
@@ -4205,12 +3559,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4205
3559
|
<td class="type">
|
|
4206
3560
|
|
|
4207
3561
|
|
|
4208
|
-
<span class="param-type">
|
|
4209
|
-
|
|
4210
|
-
Number
|
|
4211
|
-
|
|
4212
|
-
</span>
|
|
4213
|
-
|
|
3562
|
+
<span class="param-type">Number</span>
|
|
4214
3563
|
|
|
4215
3564
|
|
|
4216
3565
|
|
|
@@ -4236,12 +3585,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4236
3585
|
<td class="type">
|
|
4237
3586
|
|
|
4238
3587
|
|
|
4239
|
-
<span class="param-type">
|
|
4240
|
-
|
|
4241
|
-
Boolean
|
|
4242
|
-
|
|
4243
|
-
</span>
|
|
4244
|
-
|
|
3588
|
+
<span class="param-type">Boolean</span>
|
|
4245
3589
|
|
|
4246
3590
|
|
|
4247
3591
|
|
|
@@ -4325,7 +3669,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4325
3669
|
|
|
4326
3670
|
|
|
4327
3671
|
<div class='columns method-parameter'>
|
|
4328
|
-
<div class="column is-2"><label
|
|
3672
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
4329
3673
|
<div class="column is-10">
|
|
4330
3674
|
|
|
4331
3675
|
|
|
@@ -4338,12 +3682,7 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
4338
3682
|
<div class='column is-5 has-text-left'>
|
|
4339
3683
|
<label>类型: </label>
|
|
4340
3684
|
|
|
4341
|
-
<span class="param-type">
|
|
4342
|
-
|
|
4343
|
-
Object
|
|
4344
|
-
|
|
4345
|
-
</span>
|
|
4346
|
-
|
|
3685
|
+
<span class="param-type">Object</span>
|
|
4347
3686
|
|
|
4348
3687
|
|
|
4349
3688
|
</div>
|
|
@@ -4400,7 +3739,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4400
3739
|
<h4 class="name" id="toJSON">
|
|
4401
3740
|
<a class="href-link" href="#toJSON">#</a>
|
|
4402
3741
|
|
|
4403
|
-
<span class="code-name"
|
|
3742
|
+
<span class="code-name" style="font-size:30px">
|
|
4404
3743
|
|
|
4405
3744
|
toJSON<span class="signature">()</span>
|
|
4406
3745
|
|
|
@@ -4479,7 +3818,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4479
3818
|
|
|
4480
3819
|
|
|
4481
3820
|
<div class='columns method-parameter'>
|
|
4482
|
-
<div class="column is-2"><label
|
|
3821
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
4483
3822
|
<div class="column is-10">
|
|
4484
3823
|
|
|
4485
3824
|
|
|
@@ -4492,12 +3831,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4492
3831
|
<div class='column is-5 has-text-left'>
|
|
4493
3832
|
<label>类型: </label>
|
|
4494
3833
|
|
|
4495
|
-
<span class="param-type">
|
|
4496
|
-
|
|
4497
|
-
Object
|
|
4498
|
-
|
|
4499
|
-
</span>
|
|
4500
|
-
|
|
3834
|
+
<span class="param-type">Object</span>
|
|
4501
3835
|
|
|
4502
3836
|
|
|
4503
3837
|
</div>
|
|
@@ -4522,7 +3856,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4522
3856
|
<h4 class="name" id="toMap">
|
|
4523
3857
|
<a class="href-link" href="#toMap">#</a>
|
|
4524
3858
|
|
|
4525
|
-
<span class="code-name"
|
|
3859
|
+
<span class="code-name" style="font-size:30px">
|
|
4526
3860
|
|
|
4527
3861
|
toMap<span class="signature">(screenPoint)</span>
|
|
4528
3862
|
|
|
@@ -4545,7 +3879,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4545
3879
|
|
|
4546
3880
|
|
|
4547
3881
|
|
|
4548
|
-
<h4
|
|
3882
|
+
<h4>参数:</h4>
|
|
4549
3883
|
|
|
4550
3884
|
<div class="table-container">
|
|
4551
3885
|
<table class="params table">
|
|
@@ -4575,12 +3909,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4575
3909
|
<td class="type">
|
|
4576
3910
|
|
|
4577
3911
|
|
|
4578
|
-
<span class="param-type">
|
|
4579
|
-
|
|
4580
|
-
Object
|
|
4581
|
-
|
|
4582
|
-
</span>
|
|
4583
|
-
|
|
3912
|
+
<span class="param-type">Object</span>
|
|
4584
3913
|
|
|
4585
3914
|
|
|
4586
3915
|
|
|
@@ -4655,7 +3984,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4655
3984
|
|
|
4656
3985
|
|
|
4657
3986
|
<div class='columns method-parameter'>
|
|
4658
|
-
<div class="column is-2"><label
|
|
3987
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
4659
3988
|
<div class="column is-10">
|
|
4660
3989
|
|
|
4661
3990
|
|
|
@@ -4668,12 +3997,7 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
4668
3997
|
<div class='column is-5 has-text-left'>
|
|
4669
3998
|
<label>类型: </label>
|
|
4670
3999
|
|
|
4671
|
-
<span class="param-type">
|
|
4672
|
-
|
|
4673
|
-
Point
|
|
4674
|
-
|
|
4675
|
-
</span>
|
|
4676
|
-
|
|
4000
|
+
<span class="param-type">Point</span>
|
|
4677
4001
|
|
|
4678
4002
|
|
|
4679
4003
|
</div>
|
|
@@ -4720,7 +4044,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4720
4044
|
<h4 class="name" id="toScreen">
|
|
4721
4045
|
<a class="href-link" href="#toScreen">#</a>
|
|
4722
4046
|
|
|
4723
|
-
<span class="code-name"
|
|
4047
|
+
<span class="code-name" style="font-size:30px">
|
|
4724
4048
|
|
|
4725
4049
|
toScreen<span class="signature">(point)</span>
|
|
4726
4050
|
|
|
@@ -4743,7 +4067,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4743
4067
|
|
|
4744
4068
|
|
|
4745
4069
|
|
|
4746
|
-
<h4
|
|
4070
|
+
<h4>参数:</h4>
|
|
4747
4071
|
|
|
4748
4072
|
<div class="table-container">
|
|
4749
4073
|
<table class="params table">
|
|
@@ -4773,12 +4097,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4773
4097
|
<td class="type">
|
|
4774
4098
|
|
|
4775
4099
|
|
|
4776
|
-
<span class="param-type">
|
|
4777
|
-
|
|
4778
|
-
Point
|
|
4779
|
-
|
|
4780
|
-
</span>
|
|
4781
|
-
|
|
4100
|
+
<span class="param-type">Point</span>
|
|
4782
4101
|
|
|
4783
4102
|
|
|
4784
4103
|
|
|
@@ -4853,7 +4172,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4853
4172
|
|
|
4854
4173
|
|
|
4855
4174
|
<div class='columns method-parameter'>
|
|
4856
|
-
<div class="column is-2"><label
|
|
4175
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
4857
4176
|
<div class="column is-10">
|
|
4858
4177
|
|
|
4859
4178
|
|
|
@@ -4866,12 +4185,7 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
4866
4185
|
<div class='column is-5 has-text-left'>
|
|
4867
4186
|
<label>类型: </label>
|
|
4868
4187
|
|
|
4869
|
-
<span class="param-type">
|
|
4870
|
-
|
|
4871
|
-
Object
|
|
4872
|
-
|
|
4873
|
-
</span>
|
|
4874
|
-
|
|
4188
|
+
<span class="param-type">Object</span>
|
|
4875
4189
|
|
|
4876
4190
|
|
|
4877
4191
|
</div>
|
|
@@ -4920,4 +4234,42 @@ mapView.toScreen(geoPoint)</code></pre>
|
|
|
4920
4234
|
|
|
4921
4235
|
</article>
|
|
4922
4236
|
|
|
4923
|
-
</section>
|
|
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>
|