@mapgis/webclient-mapboxgl-plugin 17.0.4 → 17.0.6
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 +24 -0
- package/dist/es5/webclient-common.min.js +1 -1
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -1
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -1
- package/documention/EchartsLayer.html +12 -4
- package/documention/MapViewMapboxgl.html +350 -123
- package/documention/Popup.html +125 -33
- package/documention/Screenshot.html +30 -10
- package/documention/SketchEditorMapboxgl.html +211 -71
- package/documention/index.html +4 -4
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapvLayer.html +19 -7
- package/documention/scripts/sideBar.js +111 -6
- package/package.json +1 -1
|
@@ -79,13 +79,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
79
79
|
|
|
80
80
|
<tr class="deep-level-0">
|
|
81
81
|
|
|
82
|
-
<td class="name"
|
|
82
|
+
<td class="name"><code>options</code></td>
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
<td class="type">
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
<span class="param-type">
|
|
88
|
+
<span class="param-type">
|
|
89
|
+
|
|
90
|
+
Object
|
|
91
|
+
|
|
92
|
+
</span>
|
|
89
93
|
|
|
90
94
|
|
|
91
95
|
|
|
@@ -106,13 +110,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
106
110
|
|
|
107
111
|
<tr class="deep-level-1">
|
|
108
112
|
|
|
109
|
-
<td class="name"
|
|
113
|
+
<td class="name"><code>map</code></td>
|
|
110
114
|
|
|
111
115
|
|
|
112
116
|
<td class="type">
|
|
113
117
|
|
|
114
118
|
|
|
115
|
-
<span class="param-type">
|
|
119
|
+
<span class="param-type">
|
|
120
|
+
|
|
121
|
+
Map
|
|
122
|
+
|
|
123
|
+
</span>
|
|
116
124
|
|
|
117
125
|
|
|
118
126
|
|
|
@@ -133,13 +141,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
133
141
|
|
|
134
142
|
<tr class="deep-level-1">
|
|
135
143
|
|
|
136
|
-
<td class="name"
|
|
144
|
+
<td class="name"><code>viewId</code></td>
|
|
137
145
|
|
|
138
146
|
|
|
139
147
|
<td class="type">
|
|
140
148
|
|
|
141
149
|
|
|
142
|
-
<span class="param-type">
|
|
150
|
+
<span class="param-type">
|
|
151
|
+
|
|
152
|
+
String
|
|
153
|
+
|
|
154
|
+
</span>
|
|
143
155
|
|
|
144
156
|
|
|
145
157
|
|
|
@@ -160,13 +172,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
160
172
|
|
|
161
173
|
<tr class="deep-level-1">
|
|
162
174
|
|
|
163
|
-
<td class="name"
|
|
175
|
+
<td class="name"><code>zoom</code></td>
|
|
164
176
|
|
|
165
177
|
|
|
166
178
|
<td class="type">
|
|
167
179
|
|
|
168
180
|
|
|
169
|
-
<span class="param-type">
|
|
181
|
+
<span class="param-type">
|
|
182
|
+
|
|
183
|
+
Number
|
|
184
|
+
|
|
185
|
+
</span>
|
|
170
186
|
|
|
171
187
|
|
|
172
188
|
|
|
@@ -189,13 +205,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
189
205
|
|
|
190
206
|
<tr class="deep-level-1">
|
|
191
207
|
|
|
192
|
-
<td class="name"
|
|
208
|
+
<td class="name"><code>center</code></td>
|
|
193
209
|
|
|
194
210
|
|
|
195
211
|
<td class="type">
|
|
196
212
|
|
|
197
213
|
|
|
198
|
-
<span class="param-type">
|
|
214
|
+
<span class="param-type">
|
|
215
|
+
|
|
216
|
+
Point
|
|
217
|
+
|
|
218
|
+
</span>
|
|
199
219
|
|
|
200
220
|
|
|
201
221
|
|
|
@@ -216,13 +236,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
216
236
|
|
|
217
237
|
<tr class="deep-level-1">
|
|
218
238
|
|
|
219
|
-
<td class="name"
|
|
239
|
+
<td class="name"><code>extent</code></td>
|
|
220
240
|
|
|
221
241
|
|
|
222
242
|
<td class="type">
|
|
223
243
|
|
|
224
244
|
|
|
225
|
-
<span class="param-type">
|
|
245
|
+
<span class="param-type">
|
|
246
|
+
|
|
247
|
+
Extent
|
|
248
|
+
|
|
249
|
+
</span>
|
|
226
250
|
|
|
227
251
|
|
|
228
252
|
|
|
@@ -243,13 +267,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
243
267
|
|
|
244
268
|
<tr class="deep-level-1">
|
|
245
269
|
|
|
246
|
-
<td class="name"
|
|
270
|
+
<td class="name"><code>scale</code></td>
|
|
247
271
|
|
|
248
272
|
|
|
249
273
|
<td class="type">
|
|
250
274
|
|
|
251
275
|
|
|
252
|
-
<span class="param-type">
|
|
276
|
+
<span class="param-type">
|
|
277
|
+
|
|
278
|
+
Number
|
|
279
|
+
|
|
280
|
+
</span>
|
|
253
281
|
|
|
254
282
|
|
|
255
283
|
|
|
@@ -270,13 +298,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
270
298
|
|
|
271
299
|
<tr class="deep-level-1">
|
|
272
300
|
|
|
273
|
-
<td class="name"
|
|
301
|
+
<td class="name"><code>maxScale</code></td>
|
|
274
302
|
|
|
275
303
|
|
|
276
304
|
<td class="type">
|
|
277
305
|
|
|
278
306
|
|
|
279
|
-
<span class="param-type">
|
|
307
|
+
<span class="param-type">
|
|
308
|
+
|
|
309
|
+
Number
|
|
310
|
+
|
|
311
|
+
</span>
|
|
280
312
|
|
|
281
313
|
|
|
282
314
|
|
|
@@ -297,13 +329,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
297
329
|
|
|
298
330
|
<tr class="deep-level-1">
|
|
299
331
|
|
|
300
|
-
<td class="name"
|
|
332
|
+
<td class="name"><code>minScale</code></td>
|
|
301
333
|
|
|
302
334
|
|
|
303
335
|
<td class="type">
|
|
304
336
|
|
|
305
337
|
|
|
306
|
-
<span class="param-type">
|
|
338
|
+
<span class="param-type">
|
|
339
|
+
|
|
340
|
+
Number
|
|
341
|
+
|
|
342
|
+
</span>
|
|
307
343
|
|
|
308
344
|
|
|
309
345
|
|
|
@@ -324,13 +360,17 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
324
360
|
|
|
325
361
|
<tr class="deep-level-1">
|
|
326
362
|
|
|
327
|
-
<td class="name"
|
|
363
|
+
<td class="name"><code>popup</code></td>
|
|
328
364
|
|
|
329
365
|
|
|
330
366
|
<td class="type">
|
|
331
367
|
|
|
332
368
|
|
|
333
|
-
<span class="param-type">
|
|
369
|
+
<span class="param-type">
|
|
370
|
+
|
|
371
|
+
Object
|
|
372
|
+
|
|
373
|
+
</span>
|
|
334
374
|
|
|
335
375
|
|
|
336
376
|
|
|
@@ -403,37 +443,37 @@ import { MapViewMapboxgl } from '@mapgis/webclient-mapboxgl-plugin' <br/></p>
|
|
|
403
443
|
<div class="column is-2"><label>绑定事件</label></div>
|
|
404
444
|
<div class="column is-10">
|
|
405
445
|
<ul>
|
|
406
|
-
<li
|
|
446
|
+
<li><a href="#地图视图加载完毕事件">地图视图加载完毕事件</a></li>
|
|
407
447
|
|
|
408
|
-
<li
|
|
448
|
+
<li><a href="#鼠标点击事件">鼠标点击事件</a></li>
|
|
409
449
|
|
|
410
|
-
<li
|
|
450
|
+
<li><a href="#鼠标双击事件">鼠标双击事件</a></li>
|
|
411
451
|
|
|
412
|
-
<li
|
|
452
|
+
<li><a href="#鼠标按下事件">鼠标按下事件</a></li>
|
|
413
453
|
|
|
414
|
-
<li
|
|
454
|
+
<li><a href="#鼠标抬起事件">鼠标抬起事件</a></li>
|
|
415
455
|
|
|
416
|
-
<li
|
|
456
|
+
<li><a href="#鼠标右键点击事件">鼠标右键点击事件</a></li>
|
|
417
457
|
|
|
418
|
-
<li
|
|
458
|
+
<li><a href="#鼠标移动事件">鼠标移动事件</a></li>
|
|
419
459
|
|
|
420
|
-
<li
|
|
460
|
+
<li><a href="#鼠标移出视图事件">鼠标移出视图事件</a></li>
|
|
421
461
|
|
|
422
|
-
<li
|
|
462
|
+
<li><a href="#鼠标移入视图事件">鼠标移入视图事件</a></li>
|
|
423
463
|
|
|
424
|
-
<li
|
|
464
|
+
<li><a href="#zoom变化事件">zoom变化事件</a></li>
|
|
425
465
|
|
|
426
|
-
<li
|
|
466
|
+
<li><a href="#地图移动事件">地图移动事件</a></li>
|
|
427
467
|
|
|
428
|
-
<li
|
|
468
|
+
<li><a href="#地图大小变化事件">地图大小变化事件</a></li>
|
|
429
469
|
|
|
430
|
-
<li
|
|
470
|
+
<li><a href="#键盘输入事件">键盘输入事件</a></li>
|
|
431
471
|
|
|
432
|
-
<li
|
|
472
|
+
<li><a href="#键盘按下事件">键盘按下事件</a></li>
|
|
433
473
|
|
|
434
|
-
<li
|
|
474
|
+
<li><a href="#键盘抬起事件">键盘抬起事件</a></li>
|
|
435
475
|
|
|
436
|
-
<li
|
|
476
|
+
<li><a href="#地图视图改变事件">地图视图改变事件</a></li>
|
|
437
477
|
</ul>
|
|
438
478
|
</div>
|
|
439
479
|
</div>
|
|
@@ -546,7 +586,11 @@ const mapView = new MapViewMapboxgl({
|
|
|
546
586
|
<td class="name">
|
|
547
587
|
<code>
|
|
548
588
|
|
|
549
|
-
<span class="param-type">
|
|
589
|
+
<span class="param-type">
|
|
590
|
+
|
|
591
|
+
Object
|
|
592
|
+
|
|
593
|
+
</span>
|
|
550
594
|
|
|
551
595
|
|
|
552
596
|
|
|
@@ -566,7 +610,11 @@ const mapView = new MapViewMapboxgl({
|
|
|
566
610
|
<span class="method-parameter is-pulled-right">
|
|
567
611
|
<label>类型:</label>
|
|
568
612
|
|
|
569
|
-
<span class="param-type">
|
|
613
|
+
<span class="param-type">
|
|
614
|
+
|
|
615
|
+
Object
|
|
616
|
+
|
|
617
|
+
</span>
|
|
570
618
|
|
|
571
619
|
|
|
572
620
|
|
|
@@ -662,15 +710,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
662
710
|
<code>
|
|
663
711
|
|
|
664
712
|
|
|
665
|
-
<span class="param-type"
|
|
713
|
+
<span class="param-type">
|
|
714
|
+
|
|
715
|
+
<a link="MapView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapView" MapView.html>MapView</a>
|
|
716
|
+
|
|
717
|
+
</span>
|
|
666
718
|
|
|
667
719
|
|
|
668
720
|
|
|
669
721
|
|
|
670
722
|
</code>
|
|
671
723
|
</td>
|
|
672
|
-
<td class="name"><code><p
|
|
673
|
-
通过一个配置生成一个场景视图对象</p></code></td>
|
|
724
|
+
<td class="name"><code><p></code></td>
|
|
674
725
|
</tr>
|
|
675
726
|
|
|
676
727
|
<tr class="deep-level-0">
|
|
@@ -689,14 +740,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
689
740
|
<code>
|
|
690
741
|
|
|
691
742
|
|
|
692
|
-
<span class="param-type">
|
|
743
|
+
<span class="param-type">
|
|
744
|
+
|
|
745
|
+
Object
|
|
746
|
+
|
|
747
|
+
</span>
|
|
693
748
|
|
|
694
749
|
|
|
695
750
|
|
|
696
751
|
|
|
697
752
|
</code>
|
|
698
753
|
</td>
|
|
699
|
-
<td class="name"><code><p>获取当前视图的中心点(经纬度中心点)
|
|
754
|
+
<td class="name"><code><p>获取当前视图的中心点(经纬度中心点)</code></td>
|
|
700
755
|
</tr>
|
|
701
756
|
|
|
702
757
|
<tr class="deep-level-0">
|
|
@@ -705,14 +760,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
705
760
|
<code>
|
|
706
761
|
|
|
707
762
|
|
|
708
|
-
<span class="param-type">
|
|
763
|
+
<span class="param-type">
|
|
764
|
+
|
|
765
|
+
Extent
|
|
766
|
+
|
|
767
|
+
</span>
|
|
709
768
|
|
|
710
769
|
|
|
711
770
|
|
|
712
771
|
|
|
713
772
|
</code>
|
|
714
773
|
</td>
|
|
715
|
-
<td class="name"><code><p
|
|
774
|
+
<td class="name"><code><p>获取当前视图的地理范围</code></td>
|
|
716
775
|
</tr>
|
|
717
776
|
|
|
718
777
|
<tr class="deep-level-0">
|
|
@@ -721,15 +780,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
721
780
|
<code>
|
|
722
781
|
|
|
723
782
|
|
|
724
|
-
<span class="param-type">
|
|
783
|
+
<span class="param-type">
|
|
784
|
+
|
|
785
|
+
Number
|
|
786
|
+
|
|
787
|
+
</span>
|
|
725
788
|
|
|
726
789
|
|
|
727
790
|
|
|
728
791
|
|
|
729
792
|
</code>
|
|
730
793
|
</td>
|
|
731
|
-
<td class="name"><code><p
|
|
732
|
-
获取当前比例尺</p></code></td>
|
|
794
|
+
<td class="name"><code><p></code></td>
|
|
733
795
|
</tr>
|
|
734
796
|
|
|
735
797
|
<tr class="deep-level-0">
|
|
@@ -738,14 +800,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
738
800
|
<code>
|
|
739
801
|
|
|
740
802
|
|
|
741
|
-
<span class="param-type">
|
|
803
|
+
<span class="param-type">
|
|
804
|
+
|
|
805
|
+
Object
|
|
806
|
+
|
|
807
|
+
</span>
|
|
742
808
|
|
|
743
809
|
|
|
744
810
|
|
|
745
811
|
|
|
746
812
|
</code>
|
|
747
813
|
</td>
|
|
748
|
-
<td class="name"><code><p
|
|
814
|
+
<td class="name"><code><p>获取当前视图容器的宽高,单位像素</code></td>
|
|
749
815
|
</tr>
|
|
750
816
|
|
|
751
817
|
<tr class="deep-level-0">
|
|
@@ -754,14 +820,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
754
820
|
<code>
|
|
755
821
|
|
|
756
822
|
|
|
757
|
-
<span class="param-type">
|
|
823
|
+
<span class="param-type">
|
|
824
|
+
|
|
825
|
+
Number
|
|
826
|
+
|
|
827
|
+
</span>
|
|
758
828
|
|
|
759
829
|
|
|
760
830
|
|
|
761
831
|
|
|
762
832
|
</code>
|
|
763
833
|
</td>
|
|
764
|
-
<td class="name"><code><p
|
|
834
|
+
<td class="name"><code><p>获取当前缩放级数</code></td>
|
|
765
835
|
</tr>
|
|
766
836
|
|
|
767
837
|
<tr class="deep-level-0">
|
|
@@ -771,7 +841,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
771
841
|
|
|
772
842
|
</code>
|
|
773
843
|
</td>
|
|
774
|
-
<td class="name"><code><p
|
|
844
|
+
<td class="name"><code><p>视点跳转为给定的目标</code></td>
|
|
775
845
|
</tr>
|
|
776
846
|
|
|
777
847
|
<tr class="deep-level-0">
|
|
@@ -780,7 +850,11 @@ const mapView = new MapViewMapboxgl({
|
|
|
780
850
|
<code>
|
|
781
851
|
|
|
782
852
|
|
|
783
|
-
<span class="param-type">
|
|
853
|
+
<span class="param-type">
|
|
854
|
+
|
|
855
|
+
Array
|
|
856
|
+
|
|
857
|
+
</span>
|
|
784
858
|
|
|
785
859
|
|
|
786
860
|
|
|
@@ -796,7 +870,11 @@ const mapView = new MapViewMapboxgl({
|
|
|
796
870
|
<code>
|
|
797
871
|
|
|
798
872
|
|
|
799
|
-
<span class="param-type">
|
|
873
|
+
<span class="param-type">
|
|
874
|
+
|
|
875
|
+
Object
|
|
876
|
+
|
|
877
|
+
</span>
|
|
800
878
|
|
|
801
879
|
|
|
802
880
|
|
|
@@ -812,15 +890,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
812
890
|
<code>
|
|
813
891
|
|
|
814
892
|
|
|
815
|
-
<span class="param-type">
|
|
893
|
+
<span class="param-type">
|
|
894
|
+
|
|
895
|
+
Object
|
|
896
|
+
|
|
897
|
+
</span>
|
|
816
898
|
|
|
817
899
|
|
|
818
900
|
|
|
819
901
|
|
|
820
902
|
</code>
|
|
821
903
|
</td>
|
|
822
|
-
<td class="name"><code><p
|
|
823
|
-
导出场景视图的配置文件</p></code></td>
|
|
904
|
+
<td class="name"><code><p></code></td>
|
|
824
905
|
</tr>
|
|
825
906
|
|
|
826
907
|
<tr class="deep-level-0">
|
|
@@ -829,15 +910,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
829
910
|
<code>
|
|
830
911
|
|
|
831
912
|
|
|
832
|
-
<span class="param-type">
|
|
913
|
+
<span class="param-type">
|
|
914
|
+
|
|
915
|
+
Point
|
|
916
|
+
|
|
917
|
+
</span>
|
|
833
918
|
|
|
834
919
|
|
|
835
920
|
|
|
836
921
|
|
|
837
922
|
</code>
|
|
838
923
|
</td>
|
|
839
|
-
<td class="name"><code><p
|
|
840
|
-
屏幕像素坐标点转地理坐标点</p></code></td>
|
|
924
|
+
<td class="name"><code><p></code></td>
|
|
841
925
|
</tr>
|
|
842
926
|
|
|
843
927
|
<tr class="deep-level-0">
|
|
@@ -846,15 +930,18 @@ const mapView = new MapViewMapboxgl({
|
|
|
846
930
|
<code>
|
|
847
931
|
|
|
848
932
|
|
|
849
|
-
<span class="param-type">
|
|
933
|
+
<span class="param-type">
|
|
934
|
+
|
|
935
|
+
Object
|
|
936
|
+
|
|
937
|
+
</span>
|
|
850
938
|
|
|
851
939
|
|
|
852
940
|
|
|
853
941
|
|
|
854
942
|
</code>
|
|
855
943
|
</td>
|
|
856
|
-
<td class="name"><code><p
|
|
857
|
-
地理坐标点转屏幕像素坐标点</p></code></td>
|
|
944
|
+
<td class="name"><code><p></code></td>
|
|
858
945
|
</tr>
|
|
859
946
|
|
|
860
947
|
</tbody>
|
|
@@ -920,13 +1007,17 @@ const mapView = new MapViewMapboxgl({
|
|
|
920
1007
|
|
|
921
1008
|
<tr class="deep-level-0">
|
|
922
1009
|
|
|
923
|
-
<td class="name"
|
|
1010
|
+
<td class="name"><code>json</code></td>
|
|
924
1011
|
|
|
925
1012
|
|
|
926
1013
|
<td class="type">
|
|
927
1014
|
|
|
928
1015
|
|
|
929
|
-
<span class="param-type">
|
|
1016
|
+
<span class="param-type">
|
|
1017
|
+
|
|
1018
|
+
Object
|
|
1019
|
+
|
|
1020
|
+
</span>
|
|
930
1021
|
|
|
931
1022
|
|
|
932
1023
|
|
|
@@ -1013,7 +1104,11 @@ const mapView = new MapViewMapboxgl({
|
|
|
1013
1104
|
<div class='column is-5 has-text-left'>
|
|
1014
1105
|
<label>类型: </label>
|
|
1015
1106
|
|
|
1016
|
-
<span class="param-type"
|
|
1107
|
+
<span class="param-type">
|
|
1108
|
+
|
|
1109
|
+
<a link="MapView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapView" MapView.html>MapView</a>
|
|
1110
|
+
|
|
1111
|
+
</span>
|
|
1017
1112
|
|
|
1018
1113
|
|
|
1019
1114
|
|
|
@@ -1085,7 +1180,7 @@ const mapView = new MapViewMapboxgl({
|
|
|
1085
1180
|
|
|
1086
1181
|
<tr class="deep-level-0">
|
|
1087
1182
|
|
|
1088
|
-
<td class="name"
|
|
1183
|
+
<td class="name"><code>options</code></td>
|
|
1089
1184
|
|
|
1090
1185
|
|
|
1091
1186
|
<td class="type">
|
|
@@ -1102,13 +1197,17 @@ const mapView = new MapViewMapboxgl({
|
|
|
1102
1197
|
|
|
1103
1198
|
<tr class="deep-level-1">
|
|
1104
1199
|
|
|
1105
|
-
<td class="name"
|
|
1200
|
+
<td class="name"><code>center</code></td>
|
|
1106
1201
|
|
|
1107
1202
|
|
|
1108
1203
|
<td class="type">
|
|
1109
1204
|
|
|
1110
1205
|
|
|
1111
|
-
<span class="param-type">
|
|
1206
|
+
<span class="param-type">
|
|
1207
|
+
|
|
1208
|
+
Array
|
|
1209
|
+
|
|
1210
|
+
</span>
|
|
1112
1211
|
|
|
1113
1212
|
|
|
1114
1213
|
|
|
@@ -1125,13 +1224,17 @@ const mapView = new MapViewMapboxgl({
|
|
|
1125
1224
|
|
|
1126
1225
|
<tr class="deep-level-1">
|
|
1127
1226
|
|
|
1128
|
-
<td class="name"
|
|
1227
|
+
<td class="name"><code>zoom</code></td>
|
|
1129
1228
|
|
|
1130
1229
|
|
|
1131
1230
|
<td class="type">
|
|
1132
1231
|
|
|
1133
1232
|
|
|
1134
|
-
<span class="param-type">
|
|
1233
|
+
<span class="param-type">
|
|
1234
|
+
|
|
1235
|
+
Number
|
|
1236
|
+
|
|
1237
|
+
</span>
|
|
1135
1238
|
|
|
1136
1239
|
|
|
1137
1240
|
|
|
@@ -1148,13 +1251,17 @@ const mapView = new MapViewMapboxgl({
|
|
|
1148
1251
|
|
|
1149
1252
|
<tr class="deep-level-1">
|
|
1150
1253
|
|
|
1151
|
-
<td class="name"
|
|
1254
|
+
<td class="name"><code>extent</code></td>
|
|
1152
1255
|
|
|
1153
1256
|
|
|
1154
1257
|
<td class="type">
|
|
1155
1258
|
|
|
1156
1259
|
|
|
1157
|
-
<span class="param-type">
|
|
1260
|
+
<span class="param-type">
|
|
1261
|
+
|
|
1262
|
+
Extent
|
|
1263
|
+
|
|
1264
|
+
</span>
|
|
1158
1265
|
|
|
1159
1266
|
|
|
1160
1267
|
|
|
@@ -1414,7 +1521,11 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1414
1521
|
<div class='column is-5 has-text-left'>
|
|
1415
1522
|
<label>类型: </label>
|
|
1416
1523
|
|
|
1417
|
-
<span class="param-type">
|
|
1524
|
+
<span class="param-type">
|
|
1525
|
+
|
|
1526
|
+
Object
|
|
1527
|
+
|
|
1528
|
+
</span>
|
|
1418
1529
|
|
|
1419
1530
|
|
|
1420
1531
|
|
|
@@ -1531,7 +1642,11 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1531
1642
|
<div class='column is-5 has-text-left'>
|
|
1532
1643
|
<label>类型: </label>
|
|
1533
1644
|
|
|
1534
|
-
<span class="param-type">
|
|
1645
|
+
<span class="param-type">
|
|
1646
|
+
|
|
1647
|
+
Extent
|
|
1648
|
+
|
|
1649
|
+
</span>
|
|
1535
1650
|
|
|
1536
1651
|
|
|
1537
1652
|
|
|
@@ -1649,7 +1764,11 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1649
1764
|
<div class='column is-5 has-text-left'>
|
|
1650
1765
|
<label>类型: </label>
|
|
1651
1766
|
|
|
1652
|
-
<span class="param-type">
|
|
1767
|
+
<span class="param-type">
|
|
1768
|
+
|
|
1769
|
+
Number
|
|
1770
|
+
|
|
1771
|
+
</span>
|
|
1653
1772
|
|
|
1654
1773
|
|
|
1655
1774
|
|
|
@@ -1766,7 +1885,11 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1766
1885
|
<div class='column is-5 has-text-left'>
|
|
1767
1886
|
<label>类型: </label>
|
|
1768
1887
|
|
|
1769
|
-
<span class="param-type">
|
|
1888
|
+
<span class="param-type">
|
|
1889
|
+
|
|
1890
|
+
Object
|
|
1891
|
+
|
|
1892
|
+
</span>
|
|
1770
1893
|
|
|
1771
1894
|
|
|
1772
1895
|
|
|
@@ -1883,7 +2006,11 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1883
2006
|
<div class='column is-5 has-text-left'>
|
|
1884
2007
|
<label>类型: </label>
|
|
1885
2008
|
|
|
1886
|
-
<span class="param-type">
|
|
2009
|
+
<span class="param-type">
|
|
2010
|
+
|
|
2011
|
+
Number
|
|
2012
|
+
|
|
2013
|
+
</span>
|
|
1887
2014
|
|
|
1888
2015
|
|
|
1889
2016
|
|
|
@@ -1957,7 +2084,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1957
2084
|
|
|
1958
2085
|
<tr class="deep-level-0">
|
|
1959
2086
|
|
|
1960
|
-
<td class="name"
|
|
2087
|
+
<td class="name"><code>goToTarget</code></td>
|
|
1961
2088
|
|
|
1962
2089
|
|
|
1963
2090
|
<td class="type">
|
|
@@ -1978,16 +2105,24 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
1978
2105
|
|
|
1979
2106
|
<tr class="deep-level-1">
|
|
1980
2107
|
|
|
1981
|
-
<td class="name"
|
|
2108
|
+
<td class="name"><code>center</code></td>
|
|
1982
2109
|
|
|
1983
2110
|
|
|
1984
2111
|
<td class="type">
|
|
1985
2112
|
|
|
1986
2113
|
|
|
1987
|
-
<span class="param-type">
|
|
2114
|
+
<span class="param-type">
|
|
2115
|
+
|
|
2116
|
+
Point
|
|
2117
|
+
|
|
2118
|
+
</span>
|
|
1988
2119
|
|
|
|
1989
2120
|
|
|
1990
|
-
<span class="param-type">
|
|
2121
|
+
<span class="param-type">
|
|
2122
|
+
|
|
2123
|
+
Array
|
|
2124
|
+
|
|
2125
|
+
</span>
|
|
1991
2126
|
|
|
1992
2127
|
|
|
1993
2128
|
|
|
@@ -2008,13 +2143,17 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2008
2143
|
|
|
2009
2144
|
<tr class="deep-level-1">
|
|
2010
2145
|
|
|
2011
|
-
<td class="name"
|
|
2146
|
+
<td class="name"><code>zoom</code></td>
|
|
2012
2147
|
|
|
2013
2148
|
|
|
2014
2149
|
<td class="type">
|
|
2015
2150
|
|
|
2016
2151
|
|
|
2017
|
-
<span class="param-type">
|
|
2152
|
+
<span class="param-type">
|
|
2153
|
+
|
|
2154
|
+
Number
|
|
2155
|
+
|
|
2156
|
+
</span>
|
|
2018
2157
|
|
|
2019
2158
|
|
|
2020
2159
|
|
|
@@ -2035,13 +2174,17 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2035
2174
|
|
|
2036
2175
|
<tr class="deep-level-1">
|
|
2037
2176
|
|
|
2038
|
-
<td class="name"
|
|
2177
|
+
<td class="name"><code>scale</code></td>
|
|
2039
2178
|
|
|
2040
2179
|
|
|
2041
2180
|
<td class="type">
|
|
2042
2181
|
|
|
2043
2182
|
|
|
2044
|
-
<span class="param-type">
|
|
2183
|
+
<span class="param-type">
|
|
2184
|
+
|
|
2185
|
+
Number
|
|
2186
|
+
|
|
2187
|
+
</span>
|
|
2045
2188
|
|
|
2046
2189
|
|
|
2047
2190
|
|
|
@@ -2062,19 +2205,31 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2062
2205
|
|
|
2063
2206
|
<tr class="deep-level-1">
|
|
2064
2207
|
|
|
2065
|
-
<td class="name"
|
|
2208
|
+
<td class="name"><code>target</code></td>
|
|
2066
2209
|
|
|
2067
2210
|
|
|
2068
2211
|
<td class="type">
|
|
2069
2212
|
|
|
2070
2213
|
|
|
2071
|
-
<span class="param-type">
|
|
2214
|
+
<span class="param-type">
|
|
2215
|
+
|
|
2216
|
+
Geometry
|
|
2217
|
+
|
|
2218
|
+
</span>
|
|
2072
2219
|
|
|
|
2073
2220
|
|
|
2074
|
-
<span class="param-type">
|
|
2221
|
+
<span class="param-type">
|
|
2222
|
+
|
|
2223
|
+
Array.<Geometry>
|
|
2224
|
+
|
|
2225
|
+
</span>
|
|
2075
2226
|
|
|
|
2076
2227
|
|
|
2077
|
-
<span class="param-type">
|
|
2228
|
+
<span class="param-type">
|
|
2229
|
+
|
|
2230
|
+
Collection.<Geometry>
|
|
2231
|
+
|
|
2232
|
+
</span>
|
|
2078
2233
|
|
|
2079
2234
|
|
|
2080
2235
|
|
|
@@ -2100,7 +2255,7 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2100
2255
|
|
|
2101
2256
|
<tr class="deep-level-0">
|
|
2102
2257
|
|
|
2103
|
-
<td class="name"
|
|
2258
|
+
<td class="name"><code>options</code></td>
|
|
2104
2259
|
|
|
2105
2260
|
|
|
2106
2261
|
<td class="type">
|
|
@@ -2121,13 +2276,17 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2121
2276
|
|
|
2122
2277
|
<tr class="deep-level-1">
|
|
2123
2278
|
|
|
2124
|
-
<td class="name"
|
|
2279
|
+
<td class="name"><code>animate</code></td>
|
|
2125
2280
|
|
|
2126
2281
|
|
|
2127
2282
|
<td class="type">
|
|
2128
2283
|
|
|
2129
2284
|
|
|
2130
|
-
<span class="param-type">
|
|
2285
|
+
<span class="param-type">
|
|
2286
|
+
|
|
2287
|
+
Boolean
|
|
2288
|
+
|
|
2289
|
+
</span>
|
|
2131
2290
|
|
|
2132
2291
|
|
|
2133
2292
|
|
|
@@ -2150,13 +2309,17 @@ igsMapImageLayer.on('layer-view-created', function (result) {
|
|
|
2150
2309
|
|
|
2151
2310
|
<tr class="deep-level-1">
|
|
2152
2311
|
|
|
2153
|
-
<td class="name"
|
|
2312
|
+
<td class="name"><code>duration</code></td>
|
|
2154
2313
|
|
|
2155
2314
|
|
|
2156
2315
|
<td class="type">
|
|
2157
2316
|
|
|
2158
2317
|
|
|
2159
|
-
<span class="param-type">
|
|
2318
|
+
<span class="param-type">
|
|
2319
|
+
|
|
2320
|
+
Number
|
|
2321
|
+
|
|
2322
|
+
</span>
|
|
2160
2323
|
|
|
2161
2324
|
|
|
2162
2325
|
|
|
@@ -2365,13 +2528,17 @@ mapView
|
|
|
2365
2528
|
|
|
2366
2529
|
<tr class="deep-level-0">
|
|
2367
2530
|
|
|
2368
|
-
<td class="name"
|
|
2531
|
+
<td class="name"><code>screenPoint</code></td>
|
|
2369
2532
|
|
|
2370
2533
|
|
|
2371
2534
|
<td class="type">
|
|
2372
2535
|
|
|
2373
2536
|
|
|
2374
|
-
<span class="param-type">
|
|
2537
|
+
<span class="param-type">
|
|
2538
|
+
|
|
2539
|
+
Object
|
|
2540
|
+
|
|
2541
|
+
</span>
|
|
2375
2542
|
|
|
2376
2543
|
|
|
2377
2544
|
|
|
@@ -2460,7 +2627,11 @@ mapView
|
|
|
2460
2627
|
<div class='column is-5 has-text-left'>
|
|
2461
2628
|
<label>类型: </label>
|
|
2462
2629
|
|
|
2463
|
-
<span class="param-type">
|
|
2630
|
+
<span class="param-type">
|
|
2631
|
+
|
|
2632
|
+
Array
|
|
2633
|
+
|
|
2634
|
+
</span>
|
|
2464
2635
|
|
|
2465
2636
|
|
|
2466
2637
|
|
|
@@ -2611,13 +2782,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2611
2782
|
|
|
2612
2783
|
<tr class="deep-level-0">
|
|
2613
2784
|
|
|
2614
|
-
<td class="name"
|
|
2785
|
+
<td class="name"><code>options</code></td>
|
|
2615
2786
|
|
|
2616
2787
|
|
|
2617
2788
|
<td class="type">
|
|
2618
2789
|
|
|
2619
2790
|
|
|
2620
|
-
<span class="param-type">
|
|
2791
|
+
<span class="param-type">
|
|
2792
|
+
|
|
2793
|
+
Object
|
|
2794
|
+
|
|
2795
|
+
</span>
|
|
2621
2796
|
|
|
2622
2797
|
|
|
2623
2798
|
|
|
@@ -2640,13 +2815,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2640
2815
|
|
|
2641
2816
|
<tr class="deep-level-1">
|
|
2642
2817
|
|
|
2643
|
-
<td class="name"
|
|
2818
|
+
<td class="name"><code>format</code></td>
|
|
2644
2819
|
|
|
2645
2820
|
|
|
2646
2821
|
<td class="type">
|
|
2647
2822
|
|
|
2648
2823
|
|
|
2649
|
-
<span class="param-type">
|
|
2824
|
+
<span class="param-type">
|
|
2825
|
+
|
|
2826
|
+
PictureFormat
|
|
2827
|
+
|
|
2828
|
+
</span>
|
|
2650
2829
|
|
|
2651
2830
|
|
|
2652
2831
|
|
|
@@ -2669,13 +2848,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2669
2848
|
|
|
2670
2849
|
<tr class="deep-level-1">
|
|
2671
2850
|
|
|
2672
|
-
<td class="name"
|
|
2851
|
+
<td class="name"><code>filename</code></td>
|
|
2673
2852
|
|
|
2674
2853
|
|
|
2675
2854
|
<td class="type">
|
|
2676
2855
|
|
|
2677
2856
|
|
|
2678
|
-
<span class="param-type">
|
|
2857
|
+
<span class="param-type">
|
|
2858
|
+
|
|
2859
|
+
String
|
|
2860
|
+
|
|
2861
|
+
</span>
|
|
2679
2862
|
|
|
2680
2863
|
|
|
2681
2864
|
|
|
@@ -2698,13 +2881,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2698
2881
|
|
|
2699
2882
|
<tr class="deep-level-1">
|
|
2700
2883
|
|
|
2701
|
-
<td class="name"
|
|
2884
|
+
<td class="name"><code>width</code></td>
|
|
2702
2885
|
|
|
2703
2886
|
|
|
2704
2887
|
<td class="type">
|
|
2705
2888
|
|
|
2706
2889
|
|
|
2707
|
-
<span class="param-type">
|
|
2890
|
+
<span class="param-type">
|
|
2891
|
+
|
|
2892
|
+
Number
|
|
2893
|
+
|
|
2894
|
+
</span>
|
|
2708
2895
|
|
|
2709
2896
|
|
|
2710
2897
|
|
|
@@ -2725,13 +2912,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2725
2912
|
|
|
2726
2913
|
<tr class="deep-level-1">
|
|
2727
2914
|
|
|
2728
|
-
<td class="name"
|
|
2915
|
+
<td class="name"><code>height</code></td>
|
|
2729
2916
|
|
|
2730
2917
|
|
|
2731
2918
|
<td class="type">
|
|
2732
2919
|
|
|
2733
2920
|
|
|
2734
|
-
<span class="param-type">
|
|
2921
|
+
<span class="param-type">
|
|
2922
|
+
|
|
2923
|
+
Number
|
|
2924
|
+
|
|
2925
|
+
</span>
|
|
2735
2926
|
|
|
2736
2927
|
|
|
2737
2928
|
|
|
@@ -2752,13 +2943,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2752
2943
|
|
|
2753
2944
|
<tr class="deep-level-1">
|
|
2754
2945
|
|
|
2755
|
-
<td class="name"
|
|
2946
|
+
<td class="name"><code>x</code></td>
|
|
2756
2947
|
|
|
2757
2948
|
|
|
2758
2949
|
<td class="type">
|
|
2759
2950
|
|
|
2760
2951
|
|
|
2761
|
-
<span class="param-type">
|
|
2952
|
+
<span class="param-type">
|
|
2953
|
+
|
|
2954
|
+
Number
|
|
2955
|
+
|
|
2956
|
+
</span>
|
|
2762
2957
|
|
|
2763
2958
|
|
|
2764
2959
|
|
|
@@ -2779,13 +2974,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2779
2974
|
|
|
2780
2975
|
<tr class="deep-level-1">
|
|
2781
2976
|
|
|
2782
|
-
<td class="name"
|
|
2977
|
+
<td class="name"><code>y</code></td>
|
|
2783
2978
|
|
|
2784
2979
|
|
|
2785
2980
|
<td class="type">
|
|
2786
2981
|
|
|
2787
2982
|
|
|
2788
|
-
<span class="param-type">
|
|
2983
|
+
<span class="param-type">
|
|
2984
|
+
|
|
2985
|
+
Number
|
|
2986
|
+
|
|
2987
|
+
</span>
|
|
2789
2988
|
|
|
2790
2989
|
|
|
2791
2990
|
|
|
@@ -2806,13 +3005,17 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2806
3005
|
|
|
2807
3006
|
<tr class="deep-level-1">
|
|
2808
3007
|
|
|
2809
|
-
<td class="name"
|
|
3008
|
+
<td class="name"><code>isDownload</code></td>
|
|
2810
3009
|
|
|
2811
3010
|
|
|
2812
3011
|
<td class="type">
|
|
2813
3012
|
|
|
2814
3013
|
|
|
2815
|
-
<span class="param-type">
|
|
3014
|
+
<span class="param-type">
|
|
3015
|
+
|
|
3016
|
+
Boolean
|
|
3017
|
+
|
|
3018
|
+
</span>
|
|
2816
3019
|
|
|
2817
3020
|
|
|
2818
3021
|
|
|
@@ -2910,7 +3113,11 @@ const result = this.mapView.hitTest({x:1100,y:600})</code></pre>
|
|
|
2910
3113
|
<div class='column is-5 has-text-left'>
|
|
2911
3114
|
<label>类型: </label>
|
|
2912
3115
|
|
|
2913
|
-
<span class="param-type">
|
|
3116
|
+
<span class="param-type">
|
|
3117
|
+
|
|
3118
|
+
Object
|
|
3119
|
+
|
|
3120
|
+
</span>
|
|
2914
3121
|
|
|
2915
3122
|
|
|
2916
3123
|
|
|
@@ -3060,7 +3267,11 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3060
3267
|
<div class='column is-5 has-text-left'>
|
|
3061
3268
|
<label>类型: </label>
|
|
3062
3269
|
|
|
3063
|
-
<span class="param-type">
|
|
3270
|
+
<span class="param-type">
|
|
3271
|
+
|
|
3272
|
+
Object
|
|
3273
|
+
|
|
3274
|
+
</span>
|
|
3064
3275
|
|
|
3065
3276
|
|
|
3066
3277
|
|
|
@@ -3133,13 +3344,17 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3133
3344
|
|
|
3134
3345
|
<tr class="deep-level-0">
|
|
3135
3346
|
|
|
3136
|
-
<td class="name"
|
|
3347
|
+
<td class="name"><code>screenPoint</code></td>
|
|
3137
3348
|
|
|
3138
3349
|
|
|
3139
3350
|
<td class="type">
|
|
3140
3351
|
|
|
3141
3352
|
|
|
3142
|
-
<span class="param-type">
|
|
3353
|
+
<span class="param-type">
|
|
3354
|
+
|
|
3355
|
+
Object
|
|
3356
|
+
|
|
3357
|
+
</span>
|
|
3143
3358
|
|
|
3144
3359
|
|
|
3145
3360
|
|
|
@@ -3228,7 +3443,11 @@ mapView.takeScreenshot(screenshotOptions).then((result) => {
|
|
|
3228
3443
|
<div class='column is-5 has-text-left'>
|
|
3229
3444
|
<label>类型: </label>
|
|
3230
3445
|
|
|
3231
|
-
<span class="param-type">
|
|
3446
|
+
<span class="param-type">
|
|
3447
|
+
|
|
3448
|
+
Point
|
|
3449
|
+
|
|
3450
|
+
</span>
|
|
3232
3451
|
|
|
3233
3452
|
|
|
3234
3453
|
|
|
@@ -3323,13 +3542,17 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
3323
3542
|
|
|
3324
3543
|
<tr class="deep-level-0">
|
|
3325
3544
|
|
|
3326
|
-
<td class="name"
|
|
3545
|
+
<td class="name"><code>point</code></td>
|
|
3327
3546
|
|
|
3328
3547
|
|
|
3329
3548
|
<td class="type">
|
|
3330
3549
|
|
|
3331
3550
|
|
|
3332
|
-
<span class="param-type">
|
|
3551
|
+
<span class="param-type">
|
|
3552
|
+
|
|
3553
|
+
Point
|
|
3554
|
+
|
|
3555
|
+
</span>
|
|
3333
3556
|
|
|
3334
3557
|
|
|
3335
3558
|
|
|
@@ -3418,7 +3641,11 @@ mapView.toMap(screenPoint)</code></pre>
|
|
|
3418
3641
|
<div class='column is-5 has-text-left'>
|
|
3419
3642
|
<label>类型: </label>
|
|
3420
3643
|
|
|
3421
|
-
<span class="param-type">
|
|
3644
|
+
<span class="param-type">
|
|
3645
|
+
|
|
3646
|
+
Object
|
|
3647
|
+
|
|
3648
|
+
</span>
|
|
3422
3649
|
|
|
3423
3650
|
|
|
3424
3651
|
|