@mapgis/webclient-cesium-plugin 17.0.5 → 17.2.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.
@@ -1,2150 +0,0 @@
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> MapGISTileServerImageProvider</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>
23
-
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="/docs/cesium/index.html"
46
- >
47
- Cesium
48
- </a>
49
-
50
- <a
51
- class="link user-link "
52
- href="/docs/mapboxgl/index.html"
53
- >
54
- MapboxGL
55
- </a>
56
-
57
- <a
58
- class="link user-link "
59
- href="/docs/leaflet/index.html"
60
- >
61
- Leaflet
62
- </a>
63
-
64
- <a
65
- class="link user-link "
66
- href="/docs/openlayers/index.html"
67
- >
68
- OpenLayers
69
- </a>
70
-
71
-
72
-
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
-
78
- <div id="main">
79
- <div
80
- class="sidebar "
81
- id="sidebarNav"
82
- >
83
- <div>
84
- <span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
85
- </div>
86
-
87
- <div class="search-wrapper">
88
- <input id="search" type="text" placeholder="搜索文档..." class="input">
89
- </div>
90
-
91
- <nav>
92
-
93
- <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="CustomTilingScheme.html">CustomTilingScheme</a><span style="display: none;"><p>几何图形自定义瓦片平铺方案</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISMapServerImageryProvider.html">MapGISMapServerImageryProvider</a><span style="display: none;"><p>MapGIS地图服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileServerImageProvider.html">MapGISTileServerImageProvider</a><span style="display: none;"><p>MapGIS瓦片服务</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="Popup.html">Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
94
- 参考示例:
95
- <a href='#SceneView'>[初始化三维场景视图]</a>
96
- <br>[ES5引入方式]:<br/>
97
- Zondy.SceneView() <br/>
98
- [ES6引入方式]:<br/>
99
- import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
100
- 自定义样式说明:<br/>
101
- zondy-popup__content 弹窗容器样式<br/>
102
- zondy-popup__tip 弹窗对话框箭头样式<br/>
103
- zondy-popup__header 弹窗头部样式<br/>
104
- zondy-popup__content 弹窗主体样式<br/>
105
- 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="SceneView.html">SceneView</a><span style="display: none;"><p>视图类</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>
106
-
107
- </nav>
108
- </div>
109
- <div class="core" id="main-content-wrapper">
110
- <div class="content">
111
- <header id="page-title" class="page-title">
112
- <span class="page-title-main">类名</span>
113
- <span class="page-title-sub">MapGISTileServerImageProvider</span>
114
- </header>
115
-
116
-
117
-
118
-
119
-
120
- <section>
121
-
122
- <article>
123
- <div class="container-overview">
124
-
125
-
126
- <div class='vertical-section'>
127
- <div class="members">
128
- <div class="member">
129
-
130
-
131
-
132
-
133
- <h4 class="name" id="MapGISTileServerImageProvider">
134
- <a class="href-link" href="#MapGISTileServerImageProvider">#</a>
135
-
136
- <span class="code-name" style="font-size:30px">
137
-
138
- new MapGISTileServerImageProvider<span class="signature">(options)</span>
139
-
140
- </span>
141
- </h4>
142
-
143
-
144
-
145
- <div class="description">
146
- <p>MapGIS瓦片服务</p>
147
- </div>
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
- <h4>参数:</h4>
159
-
160
- <div class="table-container">
161
- <table class="params table">
162
- <thead>
163
- <tr>
164
-
165
- <th>名称</th>
166
-
167
-
168
- <th>类型</th>
169
-
170
-
171
- <th style="min-width: 100px;">默认值</th>
172
-
173
-
174
- <th class="last">描述</th>
175
- </tr>
176
- </thead>
177
-
178
- <tbody>
179
-
180
-
181
-
182
- <tr class="deep-level-0">
183
-
184
- <td class="name"><code>options</code></td>
185
-
186
-
187
- <td class="type">
188
-
189
-
190
- <span class="param-type">Object</span>
191
-
192
-
193
-
194
- </td>
195
-
196
-
197
- <td class="default">
198
-
199
- </td>
200
-
201
-
202
- <td class="description last"></td>
203
- </tr>
204
-
205
-
206
-
207
-
208
- <tr class="deep-level-1">
209
-
210
- <td class="name"><code>url</code></td>
211
-
212
-
213
- <td class="type">
214
-
215
-
216
- <span class="param-type">String</span>
217
-
218
-
219
-
220
- </td>
221
-
222
-
223
- <td class="default">
224
-
225
- </td>
226
-
227
-
228
- <td class="description last"><p>服务地址</p></td>
229
- </tr>
230
-
231
-
232
-
233
-
234
- <tr class="deep-level-1">
235
-
236
- <td class="name"><code>mapStyle</code></td>
237
-
238
-
239
- <td class="type">
240
-
241
-
242
- <span class="param-type">String</span>
243
-
244
-
245
-
246
- </td>
247
-
248
-
249
- <td class="default">
250
-
251
- </td>
252
-
253
-
254
- <td class="description last"><p>瓦片地图样式</p></td>
255
- </tr>
256
-
257
-
258
-
259
-
260
- <tr class="deep-level-1">
261
-
262
- <td class="name"><code>imageVersion</code></td>
263
-
264
-
265
- <td class="type">
266
-
267
-
268
- <span class="param-type">String</span>
269
-
270
-
271
-
272
- </td>
273
-
274
-
275
- <td class="default">
276
-
277
- '0'
278
-
279
- </td>
280
-
281
-
282
- <td class="description last"><p>瓦片影像版本</p></td>
283
- </tr>
284
-
285
-
286
-
287
-
288
- <tr class="deep-level-1">
289
-
290
- <td class="name"><code>tileWidth</code></td>
291
-
292
-
293
- <td class="type">
294
-
295
-
296
- <span class="param-type">Number</span>
297
-
298
-
299
-
300
- </td>
301
-
302
-
303
- <td class="default">
304
-
305
- 256
306
-
307
- </td>
308
-
309
-
310
- <td class="description last"><p>瓦片宽度</p></td>
311
- </tr>
312
-
313
-
314
-
315
-
316
- <tr class="deep-level-1">
317
-
318
- <td class="name"><code>tileHeight</code></td>
319
-
320
-
321
- <td class="type">
322
-
323
-
324
- <span class="param-type">Number</span>
325
-
326
-
327
-
328
- </td>
329
-
330
-
331
- <td class="default">
332
-
333
- 256
334
-
335
- </td>
336
-
337
-
338
- <td class="description last"><p>瓦片高度</p></td>
339
- </tr>
340
-
341
-
342
-
343
-
344
- <tr class="deep-level-1">
345
-
346
- <td class="name"><code>minimumLevel</code></td>
347
-
348
-
349
- <td class="type">
350
-
351
-
352
- <span class="param-type">Number</span>
353
-
354
-
355
-
356
- </td>
357
-
358
-
359
- <td class="default">
360
-
361
- 0
362
-
363
- </td>
364
-
365
-
366
- <td class="description last"><p>瓦片最小级别</p></td>
367
- </tr>
368
-
369
-
370
-
371
-
372
- <tr class="deep-level-1">
373
-
374
- <td class="name"><code>maximumLevel</code></td>
375
-
376
-
377
- <td class="type">
378
-
379
-
380
- <span class="param-type">Number</span>
381
-
382
-
383
-
384
- </td>
385
-
386
-
387
- <td class="default">
388
-
389
- 20
390
-
391
- </td>
392
-
393
-
394
- <td class="description last"><p>瓦片最大级别</p></td>
395
- </tr>
396
-
397
-
398
-
399
-
400
- <tr class="deep-level-1">
401
-
402
- <td class="name"><code>tilingScheme</code></td>
403
-
404
-
405
- <td class="type">
406
-
407
-
408
- <span class="param-type">Object</span>
409
-
410
-
411
-
412
- </td>
413
-
414
-
415
- <td class="default">
416
-
417
- </td>
418
-
419
-
420
- <td class="description last"><p>瓦片服务的平铺方案</p></td>
421
- </tr>
422
-
423
-
424
-
425
-
426
- <tr class="deep-level-1">
427
-
428
- <td class="name"><code>rectangle</code></td>
429
-
430
-
431
- <td class="type">
432
-
433
-
434
- <span class="param-type">Object</span>
435
-
436
-
437
-
438
- </td>
439
-
440
-
441
- <td class="default">
442
-
443
- Cesium.Rectangle.MAX_VALUE
444
-
445
- </td>
446
-
447
-
448
- <td class="description last"><p>地图加载范围</p></td>
449
- </tr>
450
-
451
-
452
-
453
-
454
- <tr class="deep-level-1">
455
-
456
- <td class="name"><code>mapgisOffset</code></td>
457
-
458
-
459
- <td class="type">
460
-
461
-
462
- <span class="param-type">Number</span>
463
-
464
-
465
-
466
- </td>
467
-
468
-
469
- <td class="default">
470
-
471
- 0
472
-
473
- </td>
474
-
475
-
476
- <td class="description last"><p>瓦片错级参数,默认为0</p></td>
477
- </tr>
478
-
479
-
480
-
481
-
482
- <tr class="deep-level-1">
483
-
484
- <td class="name"><code>proxy</code></td>
485
-
486
-
487
- <td class="type">
488
-
489
-
490
- <span class="param-type">String</span>
491
-
492
-
493
-
494
- </td>
495
-
496
-
497
- <td class="default">
498
-
499
- </td>
500
-
501
-
502
- <td class="description last"><p>转发代理</p></td>
503
- </tr>
504
-
505
-
506
-
507
-
508
- <tr class="deep-level-1">
509
-
510
- <td class="name"><code>extensions</code></td>
511
-
512
-
513
- <td class="type">
514
-
515
-
516
- <span class="param-type">Array</span>
517
-
518
-
519
-
520
- </td>
521
-
522
-
523
- <td class="default">
524
-
525
- </td>
526
-
527
-
528
- <td class="description last"><p>扩展参数,需要确保服务端支持</p></td>
529
- </tr>
530
-
531
-
532
-
533
-
534
- <tr class="deep-level-1">
535
-
536
- <td class="name"><code>buildImageResource</code></td>
537
-
538
-
539
- <td class="type">
540
-
541
-
542
- <span class="param-type">function</span>
543
-
544
-
545
-
546
- </td>
547
-
548
-
549
- <td class="default">
550
-
551
- </td>
552
-
553
-
554
- <td class="description last"><p>重载buildImageResource方法,来重载瓦片的请求逻辑</p></td>
555
- </tr>
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
- </tbody>
564
- </table>
565
- </div>
566
-
567
-
568
-
569
-
570
-
571
-
572
- <dl class="details">
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
- </dl>
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
- <p class="summary"><h5>支持如下方法:</h5>
627
- <a href='#pickFeatures'>[1、获取瓦片的要素]</a><br/>
628
- <a href='#requestImage'>[2、请求给定贴图的图像]</a><br/></p>
629
-
630
-
631
-
632
- <h5>示例</h5>
633
-
634
- <p class="code-caption"><h7>构造瓦片图层并添加到影像图层集合中</h7></p>
635
-
636
-
637
- <pre class="prettyprint"><code>// ES5引入方式
638
  .then((response) => response.json())
639
1
  .then((metadata) => {
640
2
  // 获取空间参考系信息与地图范围
641
3
  const { spatialReference, extent, tileInfo } = metadata
642
4
  // 构造自定义裁图方案
643
5
  const tilingScheme = new CustomTilingScheme({
644
6
  wkid: spatialReference.wkid,
645
7
  wkt: spatialReference.wkt,
646
8
  tileInfo,
647
9
  rectangleSouthwest: new Cesium.Cartesian2(extent.xmin, extent.ymin),
648
10
  rectangleNortheast: new Cesium.Cartesian2(extent.xmax, extent.ymax)
649
11
  })
650
12
  // 构造影像图层并添加到影像图层集合中
651
13
  viewer.imageryLayers.addImageryProvider(
652
14
  new MapGISMapServerImageryProvider({
653
15
  url,
654
16
  tilingScheme
655
17
  })
656
18
  )
657
19
  })</code></pre>
658
-
659
-
660
-
661
-
662
- </div>
663
- </div>
664
- </div>
665
-
666
-
667
- </div>
668
-
669
-
670
-
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
- <div class='vertical-section'>
683
- <h3 id='member'>成员变量</h3>
684
- <div class="members">
685
-
686
- <div class="member">
687
-
688
- <span class="method-parameter is-pulled-right">
689
- <label>类型:</label>
690
-
691
- <span class="param-type">Credit</span>
692
-
693
-
694
- </span>
695
-
696
- <h4 class="name" id="credit">
697
- <a class="href-link" href="#credit">#</a>
698
-
699
-
700
- <span class='tag'>readonly</span>
701
-
702
-
703
- <span class="code-name">
704
- credit
705
- </span>
706
-
707
- </h4>
708
-
709
-
710
-
711
-
712
- <div class="description">
713
- <p>获取此图像提供程序处于活动状态时要显示的凭证</p>
714
- </div>
715
-
716
-
717
-
718
-
719
-
720
- <dl class="details">
721
-
722
-
723
-
724
-
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
-
742
-
743
-
744
-
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
- </dl>
753
-
754
-
755
-
756
-
757
-
758
- </div>
759
-
760
- <div class="member">
761
-
762
- <span class="method-parameter is-pulled-right">
763
- <label>类型:</label>
764
-
765
- <span class="param-type">Boolean</span>
766
-
767
-
768
- </span>
769
-
770
- <h4 class="name" id="hasAlphaChannel">
771
- <a class="href-link" href="#hasAlphaChannel">#</a>
772
-
773
-
774
- <span class='tag'>readonly</span>
775
-
776
-
777
- <span class="code-name">
778
- hasAlphaChannel
779
- </span>
780
-
781
- </h4>
782
-
783
-
784
-
785
-
786
- <div class="description">
787
- <p>是否包含alpha通道,如果此属性为false,则alpha通道(如果存在)将被忽略。如果此属性为真,任何没有alpha
788
- 通道的图像将被视为它们的alpha在任何地方都是1.0。当此属性为false时,内存使用和纹理上传时间会减少</p>
789
- </div>
790
-
791
-
792
-
793
-
794
-
795
- <dl class="details">
796
-
797
-
798
-
799
-
800
-
801
-
802
-
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
-
811
-
812
-
813
-
814
-
815
-
816
-
817
-
818
-
819
-
820
- <dt class="tag-default">Default Value:</dt>
821
- <dd class="tag-default"><ul class="dummy">
822
- <li>true</li>
823
- </ul></dd>
824
-
825
-
826
-
827
-
828
-
829
-
830
-
831
-
832
- </dl>
833
-
834
-
835
-
836
-
837
-
838
- </div>
839
-
840
- <div class="member">
841
-
842
- <span class="method-parameter is-pulled-right">
843
- <label>类型:</label>
844
-
845
- <span class="param-type">Boolean</span>
846
-
847
-
848
- </span>
849
-
850
- <h4 class="name" id="hasAlphaChannel">
851
- <a class="href-link" href="#hasAlphaChannel">#</a>
852
-
853
-
854
- <span class='tag'>readonly</span>
855
-
856
-
857
- <span class="code-name">
858
- hasAlphaChannel
859
- </span>
860
-
861
- </h4>
862
-
863
-
864
-
865
-
866
- <div class="description">
867
- <p>是否包含alpha通道,如果此属性为false,则alpha通道(如果存在)将被忽略。如果此属性为真,任何没有alpha
868
- 通道的图像将被视为它们的alpha在任何地方都是1.0。当此属性为false时,内存使用和纹理上传时间会减少</p>
869
- </div>
870
-
871
-
872
-
873
-
874
-
875
- <dl class="details">
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
-
887
-
888
-
889
-
890
-
891
-
892
-
893
-
894
-
895
-
896
-
897
-
898
-
899
-
900
- <dt class="tag-default">Default Value:</dt>
901
- <dd class="tag-default"><ul class="dummy">
902
- <li>true</li>
903
- </ul></dd>
904
-
905
-
906
-
907
-
908
-
909
-
910
-
911
-
912
- </dl>
913
-
914
-
915
-
916
-
917
-
918
- </div>
919
-
920
- <div class="member">
921
-
922
- <span class="method-parameter is-pulled-right">
923
- <label>类型:</label>
924
-
925
- <span class="param-type">Number</span>
926
-
927
-
928
- </span>
929
-
930
- <h4 class="name" id="mapgisOffset">
931
- <a class="href-link" href="#mapgisOffset">#</a>
932
-
933
-
934
- <span class='tag'>readonly</span>
935
-
936
-
937
- <span class="code-name">
938
- mapgisOffset
939
- </span>
940
-
941
- </h4>
942
-
943
-
944
-
945
-
946
- <div class="description">
947
- <p>瓦片错级参数</p>
948
- </div>
949
-
950
-
951
-
952
-
953
-
954
- <dl class="details">
955
-
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
-
970
-
971
-
972
-
973
-
974
-
975
-
976
-
977
-
978
-
979
-
980
-
981
-
982
-
983
-
984
-
985
-
986
- </dl>
987
-
988
-
989
-
990
-
991
-
992
- </div>
993
-
994
- <div class="member">
995
-
996
- <span class="method-parameter is-pulled-right">
997
- <label>类型:</label>
998
-
999
- <span class="param-type">Number</span>
1000
-
1001
-
1002
- </span>
1003
-
1004
- <h4 class="name" id="maximumLevel">
1005
- <a class="href-link" href="#maximumLevel">#</a>
1006
-
1007
-
1008
- <span class='tag'>readonly</span>
1009
-
1010
-
1011
- <span class="code-name">
1012
- maximumLevel
1013
- </span>
1014
-
1015
- </h4>
1016
-
1017
-
1018
-
1019
-
1020
- <div class="description">
1021
- <p>瓦片最大级别</p>
1022
- </div>
1023
-
1024
-
1025
-
1026
-
1027
-
1028
- <dl class="details">
1029
-
1030
-
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
-
1038
-
1039
-
1040
-
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
-
1054
-
1055
-
1056
-
1057
-
1058
-
1059
-
1060
- </dl>
1061
-
1062
-
1063
-
1064
-
1065
-
1066
- </div>
1067
-
1068
- <div class="member">
1069
-
1070
- <span class="method-parameter is-pulled-right">
1071
- <label>类型:</label>
1072
-
1073
- <span class="param-type">Number</span>
1074
-
1075
-
1076
- </span>
1077
-
1078
- <h4 class="name" id="minimumLevel">
1079
- <a class="href-link" href="#minimumLevel">#</a>
1080
-
1081
-
1082
- <span class='tag'>readonly</span>
1083
-
1084
-
1085
- <span class="code-name">
1086
- minimumLevel
1087
- </span>
1088
-
1089
- </h4>
1090
-
1091
-
1092
-
1093
-
1094
- <div class="description">
1095
- <p>瓦片最小级别</p>
1096
- </div>
1097
-
1098
-
1099
-
1100
-
1101
-
1102
- <dl class="details">
1103
-
1104
-
1105
-
1106
-
1107
-
1108
-
1109
-
1110
-
1111
-
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
- </dl>
1135
-
1136
-
1137
-
1138
-
1139
-
1140
- </div>
1141
-
1142
- <div class="member">
1143
-
1144
- <span class="method-parameter is-pulled-right">
1145
- <label>类型:</label>
1146
-
1147
- <span class="param-type">Proxy</span>
1148
-
1149
-
1150
- </span>
1151
-
1152
- <h4 class="name" id="proxy">
1153
- <a class="href-link" href="#proxy">#</a>
1154
-
1155
-
1156
- <span class='tag'>readonly</span>
1157
-
1158
-
1159
- <span class="code-name">
1160
- proxy
1161
- </span>
1162
-
1163
- </h4>
1164
-
1165
-
1166
-
1167
-
1168
- <div class="description">
1169
- <p>获取代理</p>
1170
- </div>
1171
-
1172
-
1173
-
1174
-
1175
-
1176
- <dl class="details">
1177
-
1178
-
1179
-
1180
-
1181
-
1182
-
1183
-
1184
-
1185
-
1186
-
1187
-
1188
-
1189
-
1190
-
1191
-
1192
-
1193
-
1194
-
1195
-
1196
-
1197
-
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
-
1208
- </dl>
1209
-
1210
-
1211
-
1212
-
1213
-
1214
- </div>
1215
-
1216
- <div class="member">
1217
-
1218
- <span class="method-parameter is-pulled-right">
1219
- <label>类型:</label>
1220
-
1221
- <span class="param-type">Boolean</span>
1222
-
1223
-
1224
- </span>
1225
-
1226
- <h4 class="name" id="ready">
1227
- <a class="href-link" href="#ready">#</a>
1228
-
1229
-
1230
- <span class='tag'>readonly</span>
1231
-
1232
-
1233
- <span class="code-name">
1234
- ready
1235
- </span>
1236
-
1237
- </h4>
1238
-
1239
-
1240
-
1241
-
1242
- <div class="description">
1243
- <p>获取当前图层是否创建完成</p>
1244
- </div>
1245
-
1246
-
1247
-
1248
-
1249
-
1250
- <dl class="details">
1251
-
1252
-
1253
-
1254
-
1255
-
1256
-
1257
-
1258
-
1259
-
1260
-
1261
-
1262
-
1263
-
1264
-
1265
-
1266
-
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
-
1274
-
1275
-
1276
-
1277
-
1278
-
1279
-
1280
-
1281
-
1282
- </dl>
1283
-
1284
-
1285
-
1286
-
1287
-
1288
- </div>
1289
-
1290
- <div class="member">
1291
-
1292
- <span class="method-parameter is-pulled-right">
1293
- <label>类型:</label>
1294
-
1295
- <span class="param-type">Rectangle</span>
1296
-
1297
-
1298
- </span>
1299
-
1300
- <h4 class="name" id="rectangle">
1301
- <a class="href-link" href="#rectangle">#</a>
1302
-
1303
-
1304
- <span class='tag'>readonly</span>
1305
-
1306
-
1307
- <span class="code-name">
1308
- rectangle
1309
- </span>
1310
-
1311
- </h4>
1312
-
1313
-
1314
-
1315
-
1316
- <div class="description">
1317
- <p>地图加载范围</p>
1318
- </div>
1319
-
1320
-
1321
-
1322
-
1323
-
1324
- <dl class="details">
1325
-
1326
-
1327
-
1328
-
1329
-
1330
-
1331
-
1332
-
1333
-
1334
-
1335
-
1336
-
1337
-
1338
-
1339
-
1340
-
1341
-
1342
-
1343
-
1344
-
1345
-
1346
-
1347
-
1348
-
1349
-
1350
-
1351
-
1352
-
1353
-
1354
-
1355
-
1356
- </dl>
1357
-
1358
-
1359
-
1360
-
1361
-
1362
- </div>
1363
-
1364
- <div class="member">
1365
-
1366
- <span class="method-parameter is-pulled-right">
1367
- <label>类型:</label>
1368
-
1369
- <span class="param-type">Number</span>
1370
-
1371
-
1372
- </span>
1373
-
1374
- <h4 class="name" id="tileHeight">
1375
- <a class="href-link" href="#tileHeight">#</a>
1376
-
1377
-
1378
- <span class='tag'>readonly</span>
1379
-
1380
-
1381
- <span class="code-name">
1382
- tileHeight
1383
- </span>
1384
-
1385
- </h4>
1386
-
1387
-
1388
-
1389
-
1390
- <div class="description">
1391
- <p>瓦片高度</p>
1392
- </div>
1393
-
1394
-
1395
-
1396
-
1397
-
1398
- <dl class="details">
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
-
1407
-
1408
-
1409
-
1410
-
1411
-
1412
-
1413
-
1414
-
1415
-
1416
-
1417
-
1418
-
1419
-
1420
-
1421
-
1422
-
1423
-
1424
-
1425
-
1426
-
1427
-
1428
-
1429
-
1430
- </dl>
1431
-
1432
-
1433
-
1434
-
1435
-
1436
- </div>
1437
-
1438
- <div class="member">
1439
-
1440
- <span class="method-parameter is-pulled-right">
1441
- <label>类型:</label>
1442
-
1443
- <span class="param-type">Number</span>
1444
-
1445
-
1446
- </span>
1447
-
1448
- <h4 class="name" id="tileWidth">
1449
- <a class="href-link" href="#tileWidth">#</a>
1450
-
1451
-
1452
- <span class='tag'>readonly</span>
1453
-
1454
-
1455
- <span class="code-name">
1456
- tileWidth
1457
- </span>
1458
-
1459
- </h4>
1460
-
1461
-
1462
-
1463
-
1464
- <div class="description">
1465
- <p>瓦片宽度</p>
1466
- </div>
1467
-
1468
-
1469
-
1470
-
1471
-
1472
- <dl class="details">
1473
-
1474
-
1475
-
1476
-
1477
-
1478
-
1479
-
1480
-
1481
-
1482
-
1483
-
1484
-
1485
-
1486
-
1487
-
1488
-
1489
-
1490
-
1491
-
1492
-
1493
-
1494
-
1495
-
1496
-
1497
-
1498
-
1499
-
1500
-
1501
-
1502
-
1503
-
1504
- </dl>
1505
-
1506
-
1507
-
1508
-
1509
-
1510
- </div>
1511
-
1512
- <div class="member">
1513
-
1514
- <span class="method-parameter is-pulled-right">
1515
- <label>类型:</label>
1516
-
1517
- <span class="param-type">TilingScheme</span>
1518
-
1519
-
1520
- </span>
1521
-
1522
- <h4 class="name" id="tilingScheme">
1523
- <a class="href-link" href="#tilingScheme">#</a>
1524
-
1525
-
1526
- <span class='tag'>readonly</span>
1527
-
1528
-
1529
- <span class="code-name">
1530
- tilingScheme
1531
- </span>
1532
-
1533
- </h4>
1534
-
1535
-
1536
-
1537
-
1538
- <div class="description">
1539
- <p>瓦片平铺方案</p>
1540
- </div>
1541
-
1542
-
1543
-
1544
-
1545
-
1546
- <dl class="details">
1547
-
1548
-
1549
-
1550
-
1551
-
1552
-
1553
-
1554
-
1555
-
1556
-
1557
-
1558
-
1559
-
1560
-
1561
-
1562
-
1563
-
1564
-
1565
-
1566
-
1567
-
1568
-
1569
-
1570
-
1571
-
1572
-
1573
-
1574
-
1575
-
1576
-
1577
-
1578
- </dl>
1579
-
1580
-
1581
-
1582
-
1583
-
1584
- </div>
1585
-
1586
- <div class="member">
1587
-
1588
- <span class="method-parameter is-pulled-right">
1589
- <label>类型:</label>
1590
-
1591
- <span class="param-type">String</span>
1592
-
1593
-
1594
- </span>
1595
-
1596
- <h4 class="name" id="url">
1597
- <a class="href-link" href="#url">#</a>
1598
-
1599
-
1600
- <span class='tag'>readonly</span>
1601
-
1602
-
1603
- <span class="code-name">
1604
- url
1605
- </span>
1606
-
1607
- </h4>
1608
-
1609
-
1610
-
1611
-
1612
- <div class="description">
1613
- <p>服务地址</p>
1614
- </div>
1615
-
1616
-
1617
-
1618
-
1619
-
1620
- <dl class="details">
1621
-
1622
-
1623
-
1624
-
1625
-
1626
-
1627
-
1628
-
1629
-
1630
-
1631
-
1632
-
1633
-
1634
-
1635
-
1636
-
1637
-
1638
-
1639
-
1640
-
1641
-
1642
-
1643
-
1644
-
1645
-
1646
-
1647
-
1648
-
1649
-
1650
-
1651
-
1652
- </dl>
1653
-
1654
-
1655
-
1656
-
1657
-
1658
- </div>
1659
-
1660
- </div>
1661
- </div>
1662
-
1663
-
1664
-
1665
- <div class='vertical-section'>
1666
- <h3 id='function'>方法</h3>
1667
- <div class="members">
1668
-
1669
- <div class="member">
1670
-
1671
-
1672
-
1673
- <h4 class="name" id="pickFeatures">
1674
- <a class="href-link" href="#pickFeatures">#</a>
1675
-
1676
- <span class="code-name" style="font-size:30px">
1677
-
1678
- pickFeatures<span class="signature">(x, y, level)</span>
1679
-
1680
- </span>
1681
- </h4>
1682
-
1683
-
1684
-
1685
- <div class="description">
1686
- <p>获取瓦片内要素</p>
1687
- </div>
1688
-
1689
-
1690
-
1691
-
1692
-
1693
-
1694
-
1695
-
1696
-
1697
-
1698
- <h4>参数:</h4>
1699
-
1700
- <div class="table-container">
1701
- <table class="params table">
1702
- <thead>
1703
- <tr>
1704
-
1705
- <th>名称</th>
1706
-
1707
-
1708
- <th>类型</th>
1709
-
1710
-
1711
-
1712
- <th class="last">描述</th>
1713
- </tr>
1714
- </thead>
1715
-
1716
- <tbody>
1717
-
1718
-
1719
-
1720
- <tr class="deep-level-0">
1721
-
1722
- <td class="name"><code>x</code></td>
1723
-
1724
-
1725
- <td class="type">
1726
-
1727
-
1728
- <span class="param-type">Number</span>
1729
-
1730
-
1731
-
1732
- </td>
1733
-
1734
-
1735
-
1736
- <td class="description last"><p>瓦片的X坐标</p></td>
1737
- </tr>
1738
-
1739
-
1740
-
1741
-
1742
-
1743
-
1744
- <tr class="deep-level-0">
1745
-
1746
- <td class="name"><code>y</code></td>
1747
-
1748
-
1749
- <td class="type">
1750
-
1751
-
1752
- <span class="param-type">Number</span>
1753
-
1754
-
1755
-
1756
- </td>
1757
-
1758
-
1759
-
1760
- <td class="description last"><p>瓦片的Y坐标</p></td>
1761
- </tr>
1762
-
1763
-
1764
-
1765
-
1766
-
1767
-
1768
- <tr class="deep-level-0">
1769
-
1770
- <td class="name"><code>level</code></td>
1771
-
1772
-
1773
- <td class="type">
1774
-
1775
-
1776
- <span class="param-type">Number</span>
1777
-
1778
-
1779
-
1780
- </td>
1781
-
1782
-
1783
-
1784
- <td class="description last"><p>瓦片的详细级别</p></td>
1785
- </tr>
1786
-
1787
-
1788
-
1789
-
1790
- </tbody>
1791
- </table>
1792
- </div>
1793
-
1794
-
1795
-
1796
-
1797
-
1798
-
1799
- <dl class="details">
1800
-
1801
-
1802
-
1803
-
1804
-
1805
-
1806
-
1807
-
1808
-
1809
-
1810
-
1811
-
1812
-
1813
-
1814
-
1815
-
1816
-
1817
-
1818
-
1819
-
1820
-
1821
-
1822
-
1823
-
1824
-
1825
-
1826
-
1827
-
1828
-
1829
-
1830
-
1831
- </dl>
1832
-
1833
-
1834
-
1835
-
1836
-
1837
-
1838
-
1839
-
1840
-
1841
-
1842
-
1843
-
1844
-
1845
-
1846
-
1847
-
1848
-
1849
-
1850
- <div class='columns method-parameter'>
1851
- <div class="column is-2"><label>返回值:</label></div>
1852
- <div class="column is-10">
1853
-
1854
-
1855
-
1856
- <div class="columns">
1857
-
1858
- <div class='param-desc column is-7'><p>所选要素的Promise,将在异步选择完成后resolve
1859
- 解析后的值是ImageryLayerFeatureInfo的实例数组。如果在给定位置没有找到要素,则数组可能为空</p></div>
1860
-
1861
-
1862
- <div class='column is-5 has-text-left'>
1863
- <label>类型: </label>
1864
-
1865
- <span class="param-type">Promise.&lt;Array.&lt;ImageryLayerFeatureInfo>></span>
1866
- |
1867
-
1868
- <span class="param-type">undefined</span>
1869
-
1870
-
1871
- </div>
1872
-
1873
- </div>
1874
-
1875
-
1876
- </div>
1877
- </div>
1878
-
1879
-
1880
-
1881
-
1882
-
1883
-
1884
- </div>
1885
-
1886
- <div class="member">
1887
-
1888
-
1889
-
1890
- <h4 class="name" id="requestImage">
1891
- <a class="href-link" href="#requestImage">#</a>
1892
-
1893
- <span class="code-name" style="font-size:30px">
1894
-
1895
- requestImage<span class="signature">(x, y, level, request)</span>
1896
-
1897
- </span>
1898
- </h4>
1899
-
1900
-
1901
-
1902
- <div class="description">
1903
- <p>请求给定瓦片的图像</p>
1904
- </div>
1905
-
1906
-
1907
-
1908
-
1909
-
1910
-
1911
-
1912
-
1913
-
1914
-
1915
- <h4>参数:</h4>
1916
-
1917
- <div class="table-container">
1918
- <table class="params table">
1919
- <thead>
1920
- <tr>
1921
-
1922
- <th>名称</th>
1923
-
1924
-
1925
- <th>类型</th>
1926
-
1927
-
1928
-
1929
- <th class="last">描述</th>
1930
- </tr>
1931
- </thead>
1932
-
1933
- <tbody>
1934
-
1935
-
1936
-
1937
- <tr class="deep-level-0">
1938
-
1939
- <td class="name"><code>x</code></td>
1940
-
1941
-
1942
- <td class="type">
1943
-
1944
-
1945
- <span class="param-type">Number</span>
1946
-
1947
-
1948
-
1949
- </td>
1950
-
1951
-
1952
-
1953
- <td class="description last"><p>瓦片的X坐标</p></td>
1954
- </tr>
1955
-
1956
-
1957
-
1958
-
1959
-
1960
-
1961
- <tr class="deep-level-0">
1962
-
1963
- <td class="name"><code>y</code></td>
1964
-
1965
-
1966
- <td class="type">
1967
-
1968
-
1969
- <span class="param-type">Number</span>
1970
-
1971
-
1972
-
1973
- </td>
1974
-
1975
-
1976
-
1977
- <td class="description last"><p>瓦片的Y坐标</p></td>
1978
- </tr>
1979
-
1980
-
1981
-
1982
-
1983
-
1984
-
1985
- <tr class="deep-level-0">
1986
-
1987
- <td class="name"><code>level</code></td>
1988
-
1989
-
1990
- <td class="type">
1991
-
1992
-
1993
- <span class="param-type">Number</span>
1994
-
1995
-
1996
-
1997
- </td>
1998
-
1999
-
2000
-
2001
- <td class="description last"><p>瓦片的详细级别</p></td>
2002
- </tr>
2003
-
2004
-
2005
-
2006
-
2007
-
2008
-
2009
- <tr class="deep-level-0">
2010
-
2011
- <td class="name"><code>request</code></td>
2012
-
2013
-
2014
- <td class="type">
2015
-
2016
-
2017
- <span class="param-type">Object</span>
2018
-
2019
-
2020
-
2021
- </td>
2022
-
2023
-
2024
-
2025
- <td class="description last"><p>请求对象</p></td>
2026
- </tr>
2027
-
2028
-
2029
-
2030
-
2031
- </tbody>
2032
- </table>
2033
- </div>
2034
-
2035
-
2036
-
2037
-
2038
-
2039
-
2040
- <dl class="details">
2041
-
2042
-
2043
-
2044
-
2045
-
2046
-
2047
-
2048
-
2049
-
2050
-
2051
-
2052
-
2053
-
2054
-
2055
-
2056
-
2057
-
2058
-
2059
-
2060
-
2061
-
2062
-
2063
-
2064
-
2065
-
2066
-
2067
-
2068
-
2069
-
2070
-
2071
-
2072
- </dl>
2073
-
2074
-
2075
-
2076
-
2077
-
2078
-
2079
-
2080
-
2081
-
2082
-
2083
-
2084
-
2085
-
2086
-
2087
-
2088
-
2089
-
2090
-
2091
- <div class='columns method-parameter'>
2092
- <div class="column is-2"><label>返回值:</label></div>
2093
- <div class="column is-10">
2094
-
2095
-
2096
-
2097
- <div class="columns">
2098
-
2099
- <div class='param-desc column is-7'><p>瓦片的Resource对象</p></div>
2100
-
2101
-
2102
- <div class='column is-5 has-text-left'>
2103
- <label>类型: </label>
2104
-
2105
- <span class="param-type">Object</span>
2106
-
2107
-
2108
- </div>
2109
-
2110
- </div>
2111
-
2112
-
2113
- </div>
2114
- </div>
2115
-
2116
-
2117
-
2118
-
2119
-
2120
-
2121
- </div>
2122
-
2123
- </div>
2124
- </div>
2125
-
2126
-
2127
-
2128
-
2129
-
2130
- </article>
2131
-
2132
- </section>
2133
-
2134
-
2135
-
2136
-
2137
- </div>
2138
-
2139
- <footer class="footer">
2140
- <div class="content has-text-centered">
2141
- <p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
2142
- <p class="sidebar-created-by">
2143
- <a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
2144
- <a href="http://192.168.82.89:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
2145
- </p>
2146
- </div>
2147
- </footer>
2148
-
2149
- </div>
2150
- <div id="side-nav" class="side-nav">
2151
- <div style="margin-bottom: 10px;">
2152
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
2153
- </div>
2154
- <div style="margin-bottom: 10px;">
2155
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
2156
- </div>
2157
- <div style="margin-bottom: 10px;">
2158
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
2159
- </div>
2160
- <div>
2161
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
2162
- </div>
2163
- </div>
2164
- </div>
2165
- <script src="scripts/linenumber.js"> </script>
2166
-
2167
- <script src="scripts/search.js"> </script>
2168
-
2169
- </body>
2170
- </html>