@mapgis/webclient-cesium-plugin 17.0.0 → 17.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +512 -231
  2. package/dist/es5/webclient-cesium-plugin.min.js +3 -3
  3. package/dist/es5/webclient-common.min.js +4 -4
  4. package/dist/webclient-cesium-plugin-es6.min.js +3 -3
  5. package/documention/ArcGISMapServerImageryProvider.html +56 -180
  6. package/documention/ArcGISTileServerImageryProvider.html +22 -180
  7. package/documention/CustomTilingScheme.html +67 -225
  8. package/documention/DynamicEntityVisualizer.html +9 -177
  9. package/documention/DynamicLabelLayer.html +46 -186
  10. package/documention/GeoJSONLayerUtil.html +10 -178
  11. package/documention/GraphicsLayerUtil.html +10 -178
  12. package/documention/HashMap.html +34 -189
  13. package/documention/IGSFeatureLayerUtil.html +10 -178
  14. package/documention/IGSSceneLayerUtil.html +1648 -242
  15. package/documention/MapGISMapServerImageryProvider.html +82 -194
  16. package/documention/MapGISTerrainProvider.html +102 -213
  17. package/documention/MapGISTileServerImageryProvider.html +79 -195
  18. package/documention/MapGISVectorTileImageryProvider.html +107 -203
  19. package/documention/Popup.html +35 -185
  20. package/documention/SceneViewCesium.html +137 -214
  21. package/documention/Screenshot.html +19 -185
  22. package/documention/SketchEditorCesium.html +33 -183
  23. package/documention/UrlTemplateImageryProvider.html +255 -0
  24. package/documention/WFSLayerUtil.html +10 -178
  25. package/documention/WebMapServiceImageryProvider.html +13 -180
  26. package/documention/WebMapTileServiceImageryProvider.html +13 -180
  27. package/documention/global.html +8 -176
  28. package/documention/index.html +6 -6
  29. package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +13 -183
  30. package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +32 -190
  31. package/documention/module.exports_module.exports.html +12 -177
  32. package/documention/scripts/sideBar.js +98 -0
  33. package/documention/styles/app.min.css +1 -1
  34. package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +7 -155
  35. package/package.json +1 -1
@@ -1,182 +1,1530 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">IGSSceneLayerUtil</span>
5
+
6
+ </header>
7
+
8
+
9
+
10
+
11
+
12
+ <section>
13
+
14
+ <article>
15
+ <div class="container-overview">
16
+
17
+
18
+ <div class='vertical-section'>
19
+ <div class="members">
20
+ <div class="member">
21
+
22
+
23
+
24
+
25
+ <h4 class="name" id="IGSSceneLayerUtil">
26
+ <a class="href-link" href="#IGSSceneLayerUtil">#</a>
27
+
28
+ <span class="code-name" id="IGSSceneLayerUtil" style="font-size:30px">
29
+
30
+ new IGSSceneLayerUtil<span class="signature">()</span>
31
+
32
+ </span>
33
+ </h4>
34
+
35
+
36
+
37
+ <div class="description">
38
+ <p>IGS场景图层的工具类</p>
39
+ </div>
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+ <dl class="details">
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+ </dl>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+ <p class="summary"><h5>支持如下方法:</h5>
109
+ <a href='#toTerrainProvider'>[1、将地形图层对象转换为MapGISTerrainProvider]</a><br/>
110
+ <a href='#toPrimitive'>[2、将模型和注记图层对象转换为Primitive]</a><br/></p>
111
+
112
+
113
+
114
+
115
+ </div>
116
+ </div>
117
+ </div>
118
+
119
+
120
+ </div>
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ <div class='vertical-section'>
138
+ <h3 id='function'>方法</h3>
139
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
140
+ <div class="members">
141
+ <div class="table-container">
142
+ <table class="params table">
143
+ <thead>
144
+ <tr>
145
+ <th>名称</th>
146
+ <th>返回值类型</th>
147
+ <th>描述</th>
148
+ </tr>
149
+ </thead>
150
+ <tbody>
151
+
152
+ <tr class="deep-level-0">
153
+ <td class="name"><code><a href="#addSceneLayer">addSceneLayer</a></code></td>
154
+ <td class="name">
155
+ <code>
156
+
157
+ </code>
158
+ </td>
159
+ <td class="name"><code><p>添加场景图层</p></code></td>
160
+ </tr>
161
+
162
+ <tr class="deep-level-0">
163
+ <td class="name"><code><a href="#initializeOptions">initializeOptions</a></code></td>
164
+ <td class="name">
165
+ <code>
166
+
167
+
168
+ <span class="param-type">Object</span>
169
+
170
+
171
+
172
+
173
+ </code>
174
+ </td>
175
+ <td class="name"><code><p>根据场景图层的子图层对象获取构造参数options</p></code></td>
176
+ </tr>
177
+
178
+ <tr class="deep-level-0">
179
+ <td class="name"><code><a href="#removeLayer">removeLayer</a></code></td>
180
+ <td class="name">
181
+ <code>
182
+
183
+ </code>
184
+ </td>
185
+ <td class="name"><code><p>移除图层</p></code></td>
186
+ </tr>
187
+
188
+ <tr class="deep-level-0">
189
+ <td class="name"><code><a href="#reset">reset</a></code></td>
190
+ <td class="name">
191
+ <code>
192
+
193
+ </code>
194
+ </td>
195
+ <td class="name"><code><p>重置视角到子图层外包盒处</p></code></td>
196
+ </tr>
197
+
198
+ <tr class="deep-level-0">
199
+ <td class="name"><code><a href="#setOpacity">setOpacity</a></code></td>
200
+ <td class="name">
201
+ <code>
202
+
203
+ </code>
204
+ </td>
205
+ <td class="name"><code><p>设置图层透明度</p></code></td>
206
+ </tr>
207
+
208
+ <tr class="deep-level-0">
209
+ <td class="name"><code><a href="#setSubLayerOpacity">setSubLayerOpacity</a></code></td>
210
+ <td class="name">
211
+ <code>
212
+
213
+ </code>
214
+ </td>
215
+ <td class="name"><code><p>设置子图层透明度</p></code></td>
216
+ </tr>
217
+
218
+ <tr class="deep-level-0">
219
+ <td class="name"><code><a href="#setSubLayerVisible">setSubLayerVisible</a></code></td>
220
+ <td class="name">
221
+ <code>
222
+
223
+ </code>
224
+ </td>
225
+ <td class="name"><code><p>设置子图层显隐,受最大最小比例尺影响,会在内部进行判断</p></code></td>
226
+ </tr>
227
+
228
+ <tr class="deep-level-0">
229
+ <td class="name"><code><a href="#setVisible">setVisible</a></code></td>
230
+ <td class="name">
231
+ <code>
232
+
233
+ </code>
234
+ </td>
235
+ <td class="name"><code><p>设置图层显隐,受最大最小比例尺影响,会在内部进行判断</p></code></td>
236
+ </tr>
237
+
238
+ <tr class="deep-level-0">
239
+ <td class="name"><code><a href="#toPrimitive">toPrimitive</a></code></td>
240
+ <td class="name">
241
+ <code>
242
+
243
+
244
+ <span class="param-type">Primitive</span>
245
+
246
+
247
+
248
+
249
+ </code>
250
+ </td>
251
+ <td class="name"><code><p>将模型和注记图层对象转换为Primitive</p></code></td>
252
+ </tr>
253
+
254
+ <tr class="deep-level-0">
255
+ <td class="name"><code><a href="#toTerrainProvider">toTerrainProvider</a></code></td>
256
+ <td class="name">
257
+ <code>
258
+
259
+
260
+ <span class="param-type"><a link="MapGISTerrainProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a></span>
261
+ |
262
+
263
+ <span class="param-type">undefined</span>
264
+
265
+
266
+
267
+
268
+ </code>
269
+ </td>
270
+ <td class="name"><code><p>将地形图层对象转换为MapGISTerrainProvider</p></code></td>
271
+ </tr>
272
+
273
+ </tbody>
274
+ </table>
275
+ </div>
276
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
277
+
278
+ <div class="member">
279
+
280
+
281
+
282
+ <h4 class="name" id=".addSceneLayer">
283
+ <a class="href-link" href="#.addSceneLayer">#</a>
284
+
285
+
286
+ <span class='tag'>static</span>
287
+
288
+
289
+ <span class="code-name" id="addSceneLayer" style="font-size:30px">
290
+
291
+ addSceneLayer<span class="signature">(layerView, callback, errorCallback)</span>
292
+
293
+ </span>
294
+ </h4>
295
+
296
+
297
+
298
+ <div class="description">
299
+ <p>添加场景图层</p>
300
+ </div>
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+ <h4>参数</h4>
312
+
313
+ <div class="table-container">
314
+ <table class="params table">
315
+ <thead>
316
+ <tr>
317
+
318
+ <th>名称</th>
319
+
320
+
321
+ <th>类型</th>
322
+
323
+
324
+
325
+ <th class="last">描述</th>
326
+ </tr>
327
+ </thead>
328
+
329
+ <tbody>
330
+
331
+
332
+
333
+ <tr class="deep-level-0">
334
+
335
+ <td class="name" id="layerView"><code>layerView</code></td>
336
+
337
+
338
+ <td class="type">
339
+
340
+
341
+ <span class="param-type">LayerView</span>
342
+
343
+
344
+
345
+
346
+ </td>
347
+
348
+
349
+
350
+ <td class="description last"><p>图层视图对象</p></td>
351
+ </tr>
352
+
353
+
354
+
355
+
356
+
357
+
358
+ <tr class="deep-level-0">
359
+
360
+ <td class="name" id="callback"><code>callback</code></td>
361
+
362
+
363
+ <td class="type">
364
+
365
+
366
+ <span class="param-type">function</span>
367
+
368
+
369
+
370
+
371
+ </td>
372
+
373
+
374
+
375
+ <td class="description last"><p>所有子图层加载完毕后的回调函数</p></td>
376
+ </tr>
377
+
378
+
379
+
380
+
381
+
382
+
383
+ <tr class="deep-level-0">
384
+
385
+ <td class="name" id="errorCallback"><code>errorCallback</code></td>
386
+
387
+
388
+ <td class="type">
389
+
390
+
391
+ <span class="param-type">function</span>
392
+
393
+
394
+
395
+
396
+ </td>
397
+
398
+
399
+
400
+ <td class="description last"><p>加载失败的回调函数</p></td>
401
+ </tr>
402
+
403
+
404
+
405
+
406
+ </tbody>
407
+ </table>
408
+ </div>
409
+
410
+
411
+
412
+
413
+
414
+
415
+ <dl class="details">
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+ </dl>
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+ </div>
472
+
473
+ <div class="member">
474
+
475
+
476
+
477
+ <h4 class="name" id=".initializeOptions">
478
+ <a class="href-link" href="#.initializeOptions">#</a>
479
+
480
+
481
+ <span class='tag'>static</span>
482
+
483
+
484
+ <span class="code-name" id="initializeOptions" style="font-size:30px">
485
+
486
+ initializeOptions<span class="signature">(subLayer, innerView)</span>
487
+
488
+ </span>
489
+ </h4>
490
+
491
+
492
+
493
+ <div class="description">
494
+ <p>根据场景图层的子图层对象获取构造参数options</p>
495
+ </div>
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+ <h4>参数</h4>
507
+
508
+ <div class="table-container">
509
+ <table class="params table">
510
+ <thead>
511
+ <tr>
512
+
513
+ <th>名称</th>
514
+
515
+
516
+ <th>类型</th>
517
+
518
+
519
+
520
+ <th class="last">描述</th>
521
+ </tr>
522
+ </thead>
523
+
524
+ <tbody>
525
+
526
+
527
+
528
+ <tr class="deep-level-0">
529
+
530
+ <td class="name" id="subLayer"><code>subLayer</code></td>
531
+
532
+
533
+ <td class="type">
534
+
535
+
536
+ <span class="param-type">Object</span>
537
+
538
+
539
+
540
+
541
+ </td>
542
+
543
+
544
+
545
+ <td class="description last"><p>地形图层对象</p></td>
546
+ </tr>
547
+
548
+
549
+
550
+
551
+
552
+
553
+ <tr class="deep-level-0">
554
+
555
+ <td class="name" id="innerView"><code>innerView</code></td>
556
+
557
+
558
+ <td class="type">
559
+
560
+
561
+ <span class="param-type">View</span>
562
+
563
+
564
+
565
+
566
+ </td>
567
+
568
+
569
+
570
+ <td class="description last"><p>cesium的view对象</p></td>
571
+ </tr>
572
+
573
+
574
+
575
+
576
+ </tbody>
577
+ </table>
578
+ </div>
579
+
580
+
581
+
582
+
583
+
584
+
585
+ <dl class="details">
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+ </dl>
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+ <div class='columns method-parameter'>
637
+ <div class="column is-2"><label>返回值</label></div>
638
+ <div class="column is-10">
639
+
640
+
641
+
642
+ <div class="columns">
643
+
644
+
645
+ <div class='column is-5 has-text-left'>
646
+ <label>类型: </label>
647
+
648
+ <span class="param-type">Object</span>
649
+
650
+
651
+
652
+ </div>
653
+
654
+ </div>
655
+
656
+
657
+ </div>
658
+ </div>
659
+
660
+
661
+
662
+
663
+
664
+
665
+ </div>
666
+
667
+ <div class="member">
668
+
669
+
670
+
671
+ <h4 class="name" id=".removeLayer">
672
+ <a class="href-link" href="#.removeLayer">#</a>
673
+
674
+
675
+ <span class='tag'>static</span>
676
+
677
+
678
+ <span class="code-name" id="removeLayer" style="font-size:30px">
679
+
680
+ removeLayer<span class="signature">(tileSets, sceneView, innerView)</span>
681
+
682
+ </span>
683
+ </h4>
684
+
685
+
686
+
687
+ <div class="description">
688
+ <p>移除图层</p>
689
+ </div>
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+ <h4>参数</h4>
701
+
702
+ <div class="table-container">
703
+ <table class="params table">
704
+ <thead>
705
+ <tr>
706
+
707
+ <th>名称</th>
708
+
709
+
710
+ <th>类型</th>
711
+
712
+
713
+
714
+ <th class="last">描述</th>
715
+ </tr>
716
+ </thead>
717
+
718
+ <tbody>
719
+
720
+
721
+
722
+ <tr class="deep-level-0">
723
+
724
+ <td class="name" id="tileSets"><code>tileSets</code></td>
725
+
726
+
727
+ <td class="type">
728
+
729
+
730
+ <span class="param-type">Array</span>
731
+
732
+
733
+
734
+
735
+ </td>
736
+
737
+
738
+
739
+ <td class="description last"><p>tileSet数组</p></td>
740
+ </tr>
741
+
742
+
743
+
744
+
745
+
746
+
747
+ <tr class="deep-level-0">
748
+
749
+ <td class="name" id="sceneView"><code>sceneView</code></td>
750
+
751
+
752
+ <td class="type">
753
+
754
+
755
+ <span class="param-type">SceneView</span>
756
+
757
+
758
+
759
+
760
+ </td>
761
+
762
+
763
+
764
+ <td class="description last"><p>场景视图对象</p></td>
765
+ </tr>
766
+
767
+
768
+
769
+
770
+
771
+
772
+ <tr class="deep-level-0">
773
+
774
+ <td class="name" id="innerView"><code>innerView</code></td>
775
+
776
+
777
+ <td class="type">
778
+
779
+
780
+ <span class="param-type">Viewer</span>
781
+
782
+
783
+
784
+
785
+ </td>
786
+
787
+
788
+
789
+ <td class="description last"><p>Cesium的视图对象</p></td>
790
+ </tr>
791
+
792
+
793
+
794
+
795
+ </tbody>
796
+ </table>
797
+ </div>
798
+
799
+
800
+
801
+
802
+
803
+
804
+ <dl class="details">
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+ </dl>
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+ </div>
861
+
862
+ <div class="member">
863
+
864
+
865
+
866
+ <h4 class="name" id=".reset">
867
+ <a class="href-link" href="#.reset">#</a>
868
+
869
+
870
+ <span class='tag'>static</span>
871
+
872
+
873
+ <span class="code-name" id="reset" style="font-size:30px">
874
+
875
+ reset<span class="signature">(id, layerView)</span>
876
+
877
+ </span>
878
+ </h4>
879
+
880
+
881
+
882
+ <div class="description">
883
+ <p>重置视角到子图层外包盒处</p>
884
+ </div>
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+ <h4>参数</h4>
896
+
897
+ <div class="table-container">
898
+ <table class="params table">
899
+ <thead>
900
+ <tr>
901
+
902
+ <th>名称</th>
903
+
904
+
905
+ <th>类型</th>
906
+
907
+
908
+
909
+ <th class="last">描述</th>
910
+ </tr>
911
+ </thead>
912
+
913
+ <tbody>
914
+
915
+
916
+
917
+ <tr class="deep-level-0">
918
+
919
+ <td class="name" id="id"><code>id</code></td>
920
+
921
+
922
+ <td class="type">
923
+
924
+
925
+ <span class="param-type">String</span>
926
+
927
+
928
+
929
+
930
+ </td>
931
+
932
+
933
+
934
+ <td class="description last"><p>子图层ID</p></td>
935
+ </tr>
936
+
937
+
938
+
939
+
940
+
941
+
942
+ <tr class="deep-level-0">
943
+
944
+ <td class="name" id="layerView"><code>layerView</code></td>
945
+
946
+
947
+ <td class="type">
948
+
949
+
950
+ <span class="param-type">LayerView</span>
951
+
952
+
953
+
954
+
955
+ </td>
956
+
957
+
958
+
959
+ <td class="description last"><p>图层视图对象</p></td>
960
+ </tr>
961
+
962
+
963
+
964
+
965
+ </tbody>
966
+ </table>
967
+ </div>
968
+
969
+
970
+
971
+
972
+
973
+
974
+ <dl class="details">
975
+
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+
989
+
990
+
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+ </dl>
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+ </div>
1031
+
1032
+ <div class="member">
1033
+
1034
+
1035
+
1036
+ <h4 class="name" id=".setOpacity">
1037
+ <a class="href-link" href="#.setOpacity">#</a>
1038
+
1039
+
1040
+ <span class='tag'>static</span>
1041
+
1042
+
1043
+ <span class="code-name" id="setOpacity" style="font-size:30px">
1044
+
1045
+ setOpacity<span class="signature">(opacity, layerView)</span>
1046
+
1047
+ </span>
1048
+ </h4>
1049
+
1050
+
1051
+
1052
+ <div class="description">
1053
+ <p>设置图层透明度</p>
1054
+ </div>
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+ <h4>参数</h4>
1066
+
1067
+ <div class="table-container">
1068
+ <table class="params table">
1069
+ <thead>
1070
+ <tr>
1071
+
1072
+ <th>名称</th>
1073
+
1074
+
1075
+ <th>类型</th>
1076
+
1077
+
1078
+
1079
+ <th class="last">描述</th>
1080
+ </tr>
1081
+ </thead>
1082
+
1083
+ <tbody>
1084
+
1085
+
1086
+
1087
+ <tr class="deep-level-0">
1088
+
1089
+ <td class="name" id="opacity"><code>opacity</code></td>
1090
+
1091
+
1092
+ <td class="type">
1093
+
1094
+
1095
+ <span class="param-type">Number</span>
1096
+
1097
+
1098
+
1099
+
1100
+ </td>
1101
+
1102
+
1103
+
1104
+ <td class="description last"><p>图层透明度</p></td>
1105
+ </tr>
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+ <tr class="deep-level-0">
1113
+
1114
+ <td class="name" id="layerView"><code>layerView</code></td>
1115
+
1116
+
1117
+ <td class="type">
1118
+
1119
+
1120
+ <span class="param-type">LayerView</span>
1121
+
1122
+
1123
+
1124
+
1125
+ </td>
1126
+
1127
+
1128
+
1129
+ <td class="description last"><p>图层视图对象</p></td>
1130
+ </tr>
1131
+
1132
+
1133
+
1134
+
1135
+ </tbody>
1136
+ </table>
1137
+ </div>
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+
1144
+ <dl class="details">
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+ </dl>
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+ </div>
1201
+
1202
+ <div class="member">
1203
+
1204
+
1205
+
1206
+ <h4 class="name" id=".setSubLayerOpacity">
1207
+ <a class="href-link" href="#.setSubLayerOpacity">#</a>
1208
+
1209
+
1210
+ <span class='tag'>static</span>
1211
+
1212
+
1213
+ <span class="code-name" id="setSubLayerOpacity" style="font-size:30px">
1214
+
1215
+ setSubLayerOpacity<span class="signature">(opacity, id, layerView)</span>
1216
+
1217
+ </span>
1218
+ </h4>
1219
+
1220
+
1221
+
1222
+ <div class="description">
1223
+ <p>设置子图层透明度</p>
1224
+ </div>
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+ <h4>参数</h4>
1236
+
1237
+ <div class="table-container">
1238
+ <table class="params table">
1239
+ <thead>
1240
+ <tr>
1241
+
1242
+ <th>名称</th>
1243
+
1244
+
1245
+ <th>类型</th>
1246
+
1247
+
1248
+
1249
+ <th class="last">描述</th>
1250
+ </tr>
1251
+ </thead>
1252
+
1253
+ <tbody>
1254
+
1255
+
1256
+
1257
+ <tr class="deep-level-0">
1258
+
1259
+ <td class="name" id="opacity"><code>opacity</code></td>
1260
+
1261
+
1262
+ <td class="type">
1263
+
1264
+
1265
+ <span class="param-type">Number</span>
1266
+
1267
+
1268
+
1269
+
1270
+ </td>
1271
+
1272
+
1273
+
1274
+ <td class="description last"><p>子图层透明度</p></td>
1275
+ </tr>
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+ <tr class="deep-level-0">
1283
+
1284
+ <td class="name" id="id"><code>id</code></td>
1285
+
1286
+
1287
+ <td class="type">
1288
+
1289
+
1290
+ <span class="param-type">String</span>
1291
+
1292
+
1293
+
1294
+
1295
+ </td>
1296
+
1297
+
1298
+
1299
+ <td class="description last"><p>子图层ID</p></td>
1300
+ </tr>
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+ <tr class="deep-level-0">
1308
+
1309
+ <td class="name" id="layerView"><code>layerView</code></td>
1310
+
1311
+
1312
+ <td class="type">
1313
+
1314
+
1315
+ <span class="param-type">LayerView</span>
1316
+
1317
+
3
1318
 
4
- <head>
5
1319
 
6
- <meta charset="utf-8">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <title> IGSSceneLayerUtil</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="">
1320
+ </td>
15
1321
 
16
1322
 
17
- </head>
18
1323
 
1324
+ <td class="description last"><p>图层视图对象</p></td>
1325
+ </tr>
1326
+
1327
+
1328
+
1329
+
1330
+ </tbody>
1331
+ </table>
1332
+ </div>
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+ <dl class="details">
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
19
1367
 
1368
+
20
1369
 
21
- <body class="layout small-header">
22
- <div id="stickyNavbarOverlay"></div>
23
1370
 
1371
+ </dl>
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
24
1385
 
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">
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+ </div>
1396
+
1397
+ <div class="member">
1398
+
1399
+
1400
+
1401
+ <h4 class="name" id=".setSubLayerVisible">
1402
+ <a class="href-link" href="#.setSubLayerVisible">#</a>
1403
+
33
1404
 
34
- <h1> MapGIS Client for JavaScript API</h1>
1405
+ <span class='tag'>static</span>
35
1406
 
1407
+
1408
+ <span class="code-name" id="setSubLayerVisible" style="font-size:30px">
36
1409
 
37
- </div>
38
- <div class="menu">
1410
+ setSubLayerVisible<span class="signature">(visible, id, layerView)</span>
39
1411
 
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
-
1412
+ </span>
1413
+ </h4>
1414
+
86
1415
 
87
- </div>
88
- </div>
1416
+
1417
+ <div class="description">
1418
+ <p>设置子图层显隐,受最大最小比例尺影响,会在内部进行判断</p>
89
1419
  </div>
90
- </div>
1420
+
91
1421
 
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>
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+
1430
+ <h4>参数</h4>
1431
+
1432
+ <div class="table-container">
1433
+ <table class="params table">
1434
+ <thead>
1435
+ <tr>
100
1436
 
101
- <div class="search-wrapper">
102
- <input id="search" type="text" placeholder="搜索文档..." class="input">
103
- </div>
1437
+ <th>名称</th>
104
1438
 
105
- <nav>
106
-
107
- <div class="category"><div onclick="toggleSideBar('ExtentModule-sidebar')" id="ExtentModule" style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul id="ExtentModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISMapServerImageryProvider" href="ArcGISMapServerImageryProvider.html">ArcGISMapServerImageryProvider</a><img id="ArcGISMapServerImageryProvider-detail-arrow" onclick="toggleLinkDetail('ArcGISMapServerImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>ArcGIS地图服务</p></span></li><div class="mapgis-link-detail" id="ArcGISMapServerImageryProvider-detail"><div><a href="ArcGISMapServerImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="ArcGISMapServerImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="ArcGISMapServerImageryProvider.html#fromUrl">fromUrl</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISTileServerImageryProvider" href="ArcGISTileServerImageryProvider.html">ArcGISTileServerImageryProvider</a><img id="ArcGISTileServerImageryProvider-detail-arrow" onclick="toggleLinkDetail('ArcGISTileServerImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>ArcGIS瓦片图层</p></span></li><div class="mapgis-link-detail" id="ArcGISTileServerImageryProvider-detail"><div><a href="ArcGISTileServerImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="ArcGISTileServerImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="ArcGISTileServerImageryProvider.html#fromUrl">fromUrl</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="CustomTilingScheme" href="CustomTilingScheme.html">CustomTilingScheme</a><img id="CustomTilingScheme-detail-arrow" onclick="toggleLinkDetail('CustomTilingScheme-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>自定义瓦片平铺方案,在使用时有如下限制:</p>
108
- <ol>
109
- <li>裁图原点必须在地图范围的左上角区域;</li>
110
- <li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
111
- </ol></span></li><div class="mapgis-link-detail" id="CustomTilingScheme-detail"><div><a href="CustomTilingScheme.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="CustomTilingScheme.html#function">方法</a></div><div><ul><li><a title="getNumberOfXTilesAtLevel" class="mapgis-link-name" href="CustomTilingScheme.html#getNumberOfXTilesAtLevel">getNumberOfXTilesAtLevel</a></li><li><a title="getNumberOfYTilesAtLevel" class="mapgis-link-name" href="CustomTilingScheme.html#getNumberOfYTilesAtLevel">getNumberOfYTilesAtLevel</a></li><li><a title="positionToTileXY" class="mapgis-link-name" href="CustomTilingScheme.html#positionToTileXY">positionToTileXY</a></li><li><a title="rectangleToNativeRectangle" class="mapgis-link-name" href="CustomTilingScheme.html#rectangleToNativeRectangle">rectangleToNativeRectangle</a></li><li><a title="tileXYToNativeRectangle" class="mapgis-link-name" href="CustomTilingScheme.html#tileXYToNativeRectangle">tileXYToNativeRectangle</a></li><li><a title="tileXYToRectangle" class="mapgis-link-name" href="CustomTilingScheme.html#tileXYToRectangle">tileXYToRectangle</a></li></ul></div><div><a class="mapgis-link-name" href="CustomTilingScheme.html#member">成员变量</a></div><div><ul><li><a title="ellipsoid" class="mapgis-link-name" href="CustomTilingScheme.html#ellipsoid">ellipsoid</a></li><li><a title="projection" class="mapgis-link-name" href="CustomTilingScheme.html#projection">projection</a></li><li><a title="rectangle" class="mapgis-link-name" href="CustomTilingScheme.html#rectangle">rectangle</a></li><li><a title="wkid" class="mapgis-link-name" href="CustomTilingScheme.html#wkid">wkid</a></li><li><a title="wkt" class="mapgis-link-name" href="CustomTilingScheme.html#wkt">wkt</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISMapServerImageryProvider" href="MapGISMapServerImageryProvider.html">MapGISMapServerImageryProvider</a><img id="MapGISMapServerImageryProvider-detail-arrow" onclick="toggleLinkDetail('MapGISMapServerImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>MapGIS地图服务</p></span></li><div class="mapgis-link-detail" id="MapGISMapServerImageryProvider-detail"><div><a href="MapGISMapServerImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#fromUrl">fromUrl</a></li><li><a title="pickFeatures" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#pickFeatures">pickFeatures</a></li><li><a title="requestImage" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#requestImage">requestImage</a></li></ul></div><div><a class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#member">成员变量</a></div><div><ul><li><a title="credit" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#credit">credit</a></li><li><a title="gdbps" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#gdbps">gdbps</a></li><li><a title="layers" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#layers">layers</a></li><li><a title="maximumLevel" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#maximumLevel">maximumLevel</a></li><li><a title="minimumLevel" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#minimumLevel">minimumLevel</a></li><li><a title="proxy" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#proxy">proxy</a></li><li><a title="ready" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#ready">ready</a></li><li><a title="rectangle" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#rectangle">rectangle</a></li><li><a title="tileHeight" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#tileHeight">tileHeight</a></li><li><a title="tileWidth" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#tileWidth">tileWidth</a></li><li><a title="tilingScheme" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#tilingScheme">tilingScheme</a></li><li><a title="url" class="mapgis-link-name" href="MapGISMapServerImageryProvider.html#url">url</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTileServerImageryProvider" href="MapGISTileServerImageryProvider.html">MapGISTileServerImageryProvider</a><img id="MapGISTileServerImageryProvider-detail-arrow" onclick="toggleLinkDetail('MapGISTileServerImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>MapGIS瓦片服务</p></span></li><div class="mapgis-link-detail" id="MapGISTileServerImageryProvider-detail"><div><a href="MapGISTileServerImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#fromUrl">fromUrl</a></li><li><a title="pickFeatures" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#pickFeatures">pickFeatures</a></li><li><a title="requestImage" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#requestImage">requestImage</a></li></ul></div><div><a class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#member">成员变量</a></div><div><ul><li><a title="credit" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#credit">credit</a></li><li><a title="hasAlphaChannel" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#hasAlphaChannel">hasAlphaChannel</a></li><li><a title="hasAlphaChannel" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#hasAlphaChannel">hasAlphaChannel</a></li><li><a title="mapgisOffset" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#mapgisOffset">mapgisOffset</a></li><li><a title="maximumLevel" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#maximumLevel">maximumLevel</a></li><li><a title="minimumLevel" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#minimumLevel">minimumLevel</a></li><li><a title="proxy" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#proxy">proxy</a></li><li><a title="ready" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#ready">ready</a></li><li><a title="rectangle" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#rectangle">rectangle</a></li><li><a title="tileHeight" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#tileHeight">tileHeight</a></li><li><a title="tileWidth" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#tileWidth">tileWidth</a></li><li><a title="tilingScheme" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#tilingScheme">tilingScheme</a></li><li><a title="url" class="mapgis-link-name" href="MapGISTileServerImageryProvider.html#url">url</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISVectorTileImageryProvider" href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a><img id="MapGISVectorTileImageryProvider-detail-arrow" onclick="toggleLinkDetail('MapGISVectorTileImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>MapGIS矢量瓦片服务</p></span></li><div class="mapgis-link-detail" id="MapGISVectorTileImageryProvider-detail"><div><a href="MapGISVectorTileImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#fromUrl">fromUrl</a></li><li><a title="getRenderMode" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#getRenderMode">getRenderMode</a></li><li><a title="drawTile" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#drawTile">drawTile</a></li><li><a title="requestImage" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#requestImage">requestImage</a></li></ul></div><div><a class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#member">成员变量</a></div><div><ul><li><a title="defaultAlpha" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#defaultAlpha">defaultAlpha</a></li><li><a title="hasAlphaChannel" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#hasAlphaChannel">hasAlphaChannel</a></li><li><a title="labelsRenderMode" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#labelsRenderMode">labelsRenderMode</a></li><li><a title="maximumLevel" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#maximumLevel">maximumLevel</a></li><li><a title="minimumLevel" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#minimumLevel">minimumLevel</a></li><li><a title="mvtParser" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#mvtParser">mvtParser</a></li><li><a title="pixelRatio" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#pixelRatio">pixelRatio</a></li><li><a title="ready" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#ready">ready</a></li><li><a title="readyPromise" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#readyPromise">readyPromise</a></li><li><a title="rectangle" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#rectangle">rectangle</a></li><li><a title="scene" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#scene">scene</a></li><li><a title="style" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#style">style</a></li><li><a title="sublayerLabelingInfos" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#sublayerLabelingInfos">sublayerLabelingInfos</a></li><li><a title="tileHeight" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#tileHeight">tileHeight</a></li><li><a title="tileWidth" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#tileWidth">tileWidth</a></li><li><a title="tilingScheme" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#tilingScheme">tilingScheme</a></li><li><a title="tokenKey" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#tokenKey">tokenKey</a></li><li><a title="tokenValue" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#tokenValue">tokenValue</a></li><li><a title="transform" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#transform">transform</a></li><li><a title="url" class="mapgis-link-name" href="MapGISVectorTileImageryProvider.html#url">url</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapServiceImageryProvider" href="WebMapServiceImageryProvider.html">WebMapServiceImageryProvider</a><img id="WebMapServiceImageryProvider-detail-arrow" onclick="toggleLinkDetail('WebMapServiceImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>WMS地图图层,具体API请参考Cesium的WebMapServiceImageryProvider</p></span></li><div class="mapgis-link-detail" id="WebMapServiceImageryProvider-detail"><div><a href="WebMapServiceImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="WebMapServiceImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="WebMapServiceImageryProvider.html#fromUrl">fromUrl</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapTileServiceImageryProvider" href="WebMapTileServiceImageryProvider.html">WebMapTileServiceImageryProvider</a><img id="WebMapTileServiceImageryProvider-detail-arrow" onclick="toggleLinkDetail('WebMapTileServiceImageryProvider-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>WMTS地图图层,具体API请参考Cesium的WebMapTileServiceImageryProvider</p></span></li><div class="mapgis-link-detail" id="WebMapTileServiceImageryProvider-detail"><div><a href="WebMapTileServiceImageryProvider.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="WebMapTileServiceImageryProvider.html#function">方法</a></div><div><ul><li><a title="fromUrl" class="mapgis-link-name" href="WebMapTileServiceImageryProvider.html#fromUrl">fromUrl</a></li></ul></div></div></ul><div onclick="toggleSideBar('ViewModule-sidebar')" id="ViewModule" style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul id="ViewModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GeoJSONLayerUtil" href="GeoJSONLayerUtil.html">GeoJSONLayerUtil</a><img id="GeoJSONLayerUtil-detail-arrow" onclick="toggleLinkDetail('GeoJSONLayerUtil-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><div class="mapgis-link-detail" id="GeoJSONLayerUtil-detail"><div><a href="GeoJSONLayerUtil.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="GeoJSONLayerUtil.html#function">方法</a></div><div><ul><li><a title="toPrimitive" class="mapgis-link-name" href="GeoJSONLayerUtil.html#toPrimitive">toPrimitive</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GraphicsLayerUtil" href="GraphicsLayerUtil.html">GraphicsLayerUtil</a><img id="GraphicsLayerUtil-detail-arrow" onclick="toggleLinkDetail('GraphicsLayerUtil-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>几何图层的工具类</p></span></li><div class="mapgis-link-detail" id="GraphicsLayerUtil-detail"><div><a href="GraphicsLayerUtil.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="GraphicsLayerUtil.html#function">方法</a></div><div><ul><li><a title="toPrimitive" class="mapgis-link-name" href="GraphicsLayerUtil.html#toPrimitive">toPrimitive</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="IGSFeatureLayerUtil" href="IGSFeatureLayerUtil.html">IGSFeatureLayerUtil</a><img id="IGSFeatureLayerUtil-detail-arrow" onclick="toggleLinkDetail('IGSFeatureLayerUtil-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><div class="mapgis-link-detail" id="IGSFeatureLayerUtil-detail"><div><a href="IGSFeatureLayerUtil.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="IGSFeatureLayerUtil.html#function">方法</a></div><div><ul><li><a title="toPrimitive" class="mapgis-link-name" href="IGSFeatureLayerUtil.html#toPrimitive">toPrimitive</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="IGSSceneLayerUtil" href="IGSSceneLayerUtil.html">IGSSceneLayerUtil</a><img id="IGSSceneLayerUtil-detail-arrow" onclick="toggleLinkDetail('IGSSceneLayerUtil-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>IGS场景图层的工具类</p></span></li><div class="mapgis-link-detail" id="IGSSceneLayerUtil-detail"><div><a href="IGSSceneLayerUtil.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="IGSSceneLayerUtil.html#function">方法</a></div><div><ul><li><a title="toPrimitive" class="mapgis-link-name" href="IGSSceneLayerUtil.html#toPrimitive">toPrimitive</a></li><li><a title="toTerrainProvider" class="mapgis-link-name" href="IGSSceneLayerUtil.html#toTerrainProvider">toTerrainProvider</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" href="Popup.html">Popup</a><img id="Popup-detail-arrow" onclick="toggleLinkDetail('Popup-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>场景信息弹窗(cesium引擎)
112
- 参考示例:
113
- <a href='#SceneView'>[初始化三维场景视图]</a>
114
- <br>[ES5引入方式]:<br/>
115
- Zondy.SceneView() <br/>
116
- [ES6引入方式]:<br/>
117
- import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
118
- 自定义样式说明:<br/>
119
- zondy-popup__content 弹窗容器样式<br/>
120
- zondy-popup__tip 弹窗对话框箭头样式<br/>
121
- zondy-popup__header 弹窗头部样式<br/>
122
- zondy-popup__content 弹窗主体样式<br/>
123
- zondy-popup__footer 弹窗底部样式<br/></p></span></li><div class="mapgis-link-detail" id="Popup-detail"><div><a href="Popup.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Popup.html#function">方法</a></div><div><ul><li><a title="close" class="mapgis-link-name" href="Popup.html#close">close</a></li><li><a title="open" class="mapgis-link-name" href="Popup.html#open">open</a></li></ul></div><div><a class="mapgis-link-name" href="Popup.html#member">成员变量</a></div><div><ul><li><a title="alignment" class="mapgis-link-name" href="Popup.html#alignment">alignment</a></li><li><a title="content" class="mapgis-link-name" href="Popup.html#content">content</a></li><li><a title="defaultButtons" class="mapgis-link-name" href="Popup.html#defaultButtons">defaultButtons</a></li><li><a title="location" class="mapgis-link-name" href="Popup.html#location">location</a></li><li><a title="title" class="mapgis-link-name" href="Popup.html#title">title</a></li><li><a title="view" class="mapgis-link-name" href="Popup.html#view">view</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SceneViewCesium" href="SceneViewCesium.html">SceneViewCesium</a><img id="SceneViewCesium-detail-arrow" onclick="toggleLinkDetail('SceneViewCesium-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>视图类</p></span></li><div class="mapgis-link-detail" id="SceneViewCesium-detail"><div><a href="SceneViewCesium.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="SceneViewCesium.html#function">方法</a></div><div><ul><li><a title="fromJSON" class="mapgis-link-name" href="SceneViewCesium.html#fromJSON">fromJSON</a></li><li><a title="flyTo" class="mapgis-link-name" href="SceneViewCesium.html#flyTo">flyTo</a></li><li><a title="getCenter" class="mapgis-link-name" href="SceneViewCesium.html#getCenter">getCenter</a></li><li><a title="getExtent" class="mapgis-link-name" href="SceneViewCesium.html#getExtent">getExtent</a></li><li><a title="getInnerLayer" class="mapgis-link-name" href="SceneViewCesium.html#getInnerLayer">getInnerLayer</a></li><li><a title="getScale" class="mapgis-link-name" href="SceneViewCesium.html#getScale">getScale</a></li><li><a title="getSize" class="mapgis-link-name" href="SceneViewCesium.html#getSize">getSize</a></li><li><a title="getZoom" class="mapgis-link-name" href="SceneViewCesium.html#getZoom">getZoom</a></li><li><a title="goTo" class="mapgis-link-name" href="SceneViewCesium.html#goTo">goTo</a></li><li><a title="hitTest" class="mapgis-link-name" href="SceneViewCesium.html#hitTest">hitTest</a></li><li><a title="setCenter" class="mapgis-link-name" href="SceneViewCesium.html#setCenter">setCenter</a></li><li><a title="setExtent" class="mapgis-link-name" href="SceneViewCesium.html#setExtent">setExtent</a></li><li><a title="takeScreenshot" class="mapgis-link-name" href="SceneViewCesium.html#takeScreenshot">takeScreenshot</a></li><li><a title="toJSON" class="mapgis-link-name" href="SceneViewCesium.html#toJSON">toJSON</a></li><li><a title="toMap" class="mapgis-link-name" href="SceneViewCesium.html#toMap">toMap</a></li><li><a title="toScreen" class="mapgis-link-name" href="SceneViewCesium.html#toScreen">toScreen</a></li></ul></div><div><a class="mapgis-link-name" href="SceneViewCesium.html#member">成员变量</a></div><div><ul><li><a title="center" class="mapgis-link-name" href="SceneViewCesium.html#center">center</a></li><li><a title="engineType" class="mapgis-link-name" href="SceneViewCesium.html#engineType">engineType</a></li><li><a title="extendOptions" class="mapgis-link-name" href="SceneViewCesium.html#extendOptions">extendOptions</a></li><li><a title="extent" class="mapgis-link-name" href="SceneViewCesium.html#extent">extent</a></li><li><a title="height" class="mapgis-link-name" href="SceneViewCesium.html#height">height</a></li><li><a title="maxZoom" class="mapgis-link-name" href="SceneViewCesium.html#maxZoom">maxZoom</a></li><li><a title="minZoom" class="mapgis-link-name" href="SceneViewCesium.html#minZoom">minZoom</a></li><li><a title="popup" class="mapgis-link-name" href="SceneViewCesium.html#popup">popup</a></li><li><a title="scale" class="mapgis-link-name" href="SceneViewCesium.html#scale">scale</a></li><li><a title="spatialReference" class="mapgis-link-name" href="SceneViewCesium.html#spatialReference">spatialReference</a></li><li><a title="stationary" class="mapgis-link-name" href="SceneViewCesium.html#stationary">stationary</a></li><li><a title="width" class="mapgis-link-name" href="SceneViewCesium.html#width">width</a></li><li><a title="zoom" class="mapgis-link-name" href="SceneViewCesium.html#zoom">zoom</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Screenshot" href="Screenshot.html">Screenshot</a><img id="Screenshot-detail-arrow" onclick="toggleLinkDetail('Screenshot-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>屏幕打印工具</p></span></li><div class="mapgis-link-detail" id="Screenshot-detail"><div><a href="Screenshot.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Screenshot.html#member">成员变量</a></div><div><ul><li><a title="filename" class="mapgis-link-name" href="Screenshot.html#filename">filename</a></li><li><a title="format" class="mapgis-link-name" href="Screenshot.html#format">format</a></li><li><a title="height" class="mapgis-link-name" href="Screenshot.html#height">height</a></li><li><a title="isDownload" class="mapgis-link-name" href="Screenshot.html#isDownload">isDownload</a></li><li><a title="view" class="mapgis-link-name" href="Screenshot.html#view">view</a></li><li><a title="width" class="mapgis-link-name" href="Screenshot.html#width">width</a></li><li><a title="x" class="mapgis-link-name" href="Screenshot.html#x">x</a></li><li><a title="y" class="mapgis-link-name" href="Screenshot.html#y">y</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WFSLayerUtil" href="WFSLayerUtil.html">WFSLayerUtil</a><img id="WFSLayerUtil-detail-arrow" onclick="toggleLinkDetail('WFSLayerUtil-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>WFS图层的工具类</p></span></li><div class="mapgis-link-detail" id="WFSLayerUtil-detail"><div><a href="WFSLayerUtil.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="WFSLayerUtil.html#function">方法</a></div><div><ul><li><a title="toPrimitive" class="mapgis-link-name" href="WFSLayerUtil.html#toPrimitive">toPrimitive</a></li></ul></div></div></ul><div onclick="toggleSideBar('SketchEditorModule-sidebar')" id="SketchEditorModule" style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul id="SketchEditorModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SketchEditorCesium" href="SketchEditorCesium.html">SketchEditorCesium</a><img id="SketchEditorCesium-detail-arrow" onclick="toggleLinkDetail('SketchEditorCesium-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
124
- <br>[ES5引入方式]:<br/>
125
- const { SketchEditorCesium } = Zondy <br/>
126
- [ES6引入方式]:<br/>
127
- import { SketchEditorCesium } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/></p></span></li><div class="mapgis-link-detail" id="SketchEditorCesium-detail"><div><a href="SketchEditorCesium.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="SketchEditorCesium.html#function">方法</a></div><div><ul><li><a title="addVertex" class="mapgis-link-name" href="SketchEditorCesium.html#addVertex">addVertex</a></li><li><a title="drawPolylineToPolygon" class="mapgis-link-name" href="SketchEditorCesium.html#drawPolylineToPolygon">drawPolylineToPolygon</a></li><li><a title="removeVertex" class="mapgis-link-name" href="SketchEditorCesium.html#removeVertex">removeVertex</a></li><li><a title="split" class="mapgis-link-name" href="SketchEditorCesium.html#split">split</a></li><li><a title="updateVertex" class="mapgis-link-name" href="SketchEditorCesium.html#updateVertex">updateVertex</a></li></ul></div></div></ul><div onclick="toggleSideBar('GlobalFunction-sidebar')" id="GlobalFunction" style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">全局方法</div><ul id="GlobalFunction-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="initializeOptions" href="global.html#initializeOptions">initializeOptions</a><img id="initializeOptions-detail-arrow" onclick="toggleLinkDetail('initializeOptions-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>构建实例化对象的配置参数</p></span></li><div class="mapgis-link-detail" id="initializeOptions-detail"><div>参数:</div><div><ul><li><a href="initializeOptions.html#layer">layer</a></li><li><a href="initializeOptions.html#viewer">viewer</a></li></ul></div></div></ul></div>
128
-
129
- </nav>
130
- </div>
131
- <div class="core" id="main-content-wrapper">
132
- <div class="content">
133
- <header id="page-title" class="page-title">
134
-
135
- <span class="page-title-main">类名</span>
136
- <span class="page-title-sub">IGSSceneLayerUtil</span>
137
-
138
- </header>
139
-
140
1439
 
1440
+ <th>类型</th>
1441
+
1442
+
1443
+
1444
+ <th class="last">描述</th>
1445
+ </tr>
1446
+ </thead>
1447
+
1448
+ <tbody>
1449
+
1450
+
1451
+
1452
+ <tr class="deep-level-0">
1453
+
1454
+ <td class="name" id="visible"><code>visible</code></td>
1455
+
1456
+
1457
+ <td class="type">
1458
+
1459
+
1460
+ <span class="param-type">Boolean</span>
1461
+
1462
+
1463
+
1464
+
1465
+ </td>
1466
+
1467
+
1468
+
1469
+ <td class="description last"><p>是否显隐图层</p></td>
1470
+ </tr>
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+
1477
+ <tr class="deep-level-0">
1478
+
1479
+ <td class="name" id="id"><code>id</code></td>
1480
+
1481
+
1482
+ <td class="type">
1483
+
1484
+
1485
+ <span class="param-type">String</span>
141
1486
 
142
1487
 
143
1488
 
144
- <section>
1489
+
1490
+ </td>
1491
+
1492
+
1493
+
1494
+ <td class="description last"><p>子图层ID</p></td>
1495
+ </tr>
145
1496
 
146
- <article>
147
- <div class="container-overview">
148
-
149
-
150
- <div class='vertical-section'>
151
- <div class="members">
152
- <div class="member">
153
-
154
1497
 
155
1498
 
156
-
157
- <h4 class="name" id="IGSSceneLayerUtil">
158
- <a class="href-link" href="#IGSSceneLayerUtil">#</a>
159
1499
 
160
- <span class="code-name" id="IGSSceneLayerUtil" style="font-size:30px">
161
-
162
- new IGSSceneLayerUtil<span class="signature">()</span>
1500
+
163
1501
 
164
- </span>
165
- </h4>
166
-
1502
+ <tr class="deep-level-0">
1503
+
1504
+ <td class="name" id="layerView"><code>layerView</code></td>
1505
+
1506
+
1507
+ <td class="type">
1508
+
1509
+
1510
+ <span class="param-type">LayerView</span>
167
1511
 
168
-
169
- <div class="description">
170
- <p>IGS场景图层的工具类</p>
171
- </div>
172
-
173
1512
 
174
1513
 
1514
+
1515
+ </td>
175
1516
 
1517
+
176
1518
 
1519
+ <td class="description last"><p>图层视图对象</p></td>
1520
+ </tr>
177
1521
 
178
1522
 
179
1523
 
1524
+
1525
+ </tbody>
1526
+ </table>
1527
+ </div>
180
1528
 
181
1529
 
182
1530
 
@@ -237,20 +1585,126 @@ import { SketchEditorCesium } from &quot;@mapgis/webclient-leaflet-plugin&quot;
237
1585
 
238
1586
 
239
1587
 
240
- <p class="summary"><h5>支持如下方法:</h5>
241
- <a href='#toTerrainProvider'>[1、将地形图层对象转换为MapGISTerrainProvider]</a><br/>
242
- <a href='#toPrimitive'>[2、将模型和注记图层对象转换为Primitive]</a><br/></p>
243
1588
 
244
1589
 
1590
+ </div>
1591
+
1592
+ <div class="member">
245
1593
 
246
1594
 
247
- </div>
248
- </div>
249
- </div>
1595
+
1596
+ <h4 class="name" id=".setVisible">
1597
+ <a class="href-link" href="#.setVisible">#</a>
1598
+
1599
+
1600
+ <span class='tag'>static</span>
1601
+
250
1602
 
1603
+ <span class="code-name" id="setVisible" style="font-size:30px">
1604
+
1605
+ setVisible<span class="signature">(visible, layerView)</span>
1606
+
1607
+ </span>
1608
+ </h4>
251
1609
 
1610
+
1611
+
1612
+ <div class="description">
1613
+ <p>设置图层显隐,受最大最小比例尺影响,会在内部进行判断</p>
252
1614
  </div>
253
1615
 
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+ <h4>参数</h4>
1626
+
1627
+ <div class="table-container">
1628
+ <table class="params table">
1629
+ <thead>
1630
+ <tr>
1631
+
1632
+ <th>名称</th>
1633
+
1634
+
1635
+ <th>类型</th>
1636
+
1637
+
1638
+
1639
+ <th class="last">描述</th>
1640
+ </tr>
1641
+ </thead>
1642
+
1643
+ <tbody>
1644
+
1645
+
1646
+
1647
+ <tr class="deep-level-0">
1648
+
1649
+ <td class="name" id="visible"><code>visible</code></td>
1650
+
1651
+
1652
+ <td class="type">
1653
+
1654
+
1655
+ <span class="param-type">Boolean</span>
1656
+
1657
+
1658
+
1659
+
1660
+ </td>
1661
+
1662
+
1663
+
1664
+ <td class="description last"><p>是否显隐图层</p></td>
1665
+ </tr>
1666
+
1667
+
1668
+
1669
+
1670
+
1671
+
1672
+ <tr class="deep-level-0">
1673
+
1674
+ <td class="name" id="layerView"><code>layerView</code></td>
1675
+
1676
+
1677
+ <td class="type">
1678
+
1679
+
1680
+ <span class="param-type">LayerView</span>
1681
+
1682
+
1683
+
1684
+
1685
+ </td>
1686
+
1687
+
1688
+
1689
+ <td class="description last"><p>图层视图对象</p></td>
1690
+ </tr>
1691
+
1692
+
1693
+
1694
+
1695
+ </tbody>
1696
+ </table>
1697
+ </div>
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+ <dl class="details">
1705
+
1706
+
1707
+
254
1708
 
255
1709
 
256
1710
 
@@ -266,58 +1720,44 @@ import { SketchEditorCesium } from &quot;@mapgis/webclient-leaflet-plugin&quot;
266
1720
 
267
1721
 
268
1722
 
269
- <div class='vertical-section'>
270
- <h3 id='function'>方法</h3>
271
- <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
272
- <div class="members">
273
- <div class="table-container">
274
- <table class="params table">
275
- <thead>
276
- <tr>
277
- <th>名称</th>
278
- <th>返回值类型</th>
279
- <th>描述</th>
280
- </tr>
281
- </thead>
282
- <tbody>
283
-
284
- <tr class="deep-level-0">
285
- <td class="name"><code><a href="IGSSceneLayerUtil.html#toPrimitive">toPrimitive</a></code></td>
286
- <td class="name">
287
- <code>
288
-
289
-
290
- <span class="param-type">Primitive</span>
291
1723
 
1724
+
292
1725
 
293
-
294
- </code>
295
- </td>
296
- <td class="name"><code><p>将模型和注记图层对象转换为Primitive</p></code></td>
297
- </tr>
298
-
299
- <tr class="deep-level-0">
300
- <td class="name"><code><a href="IGSSceneLayerUtil.html#toTerrainProvider">toTerrainProvider</a></code></td>
301
- <td class="name">
302
- <code>
303
-
304
-
305
- <span class="param-type"><a class="mapgis-link-name" title="MapGISTerrainProvider" href="MapGISTerrainProvider.html">MapGISTerrainProvider</a></span>
306
- |
1726
+
307
1727
 
308
- <span class="param-type">undefined</span>
1728
+
1729
+
309
1730
 
1731
+
310
1732
 
311
-
312
- </code>
313
- </td>
314
- <td class="name"><code><p>将地形图层对象转换为MapGISTerrainProvider</p></code></td>
315
- </tr>
316
-
317
- </tbody>
318
- </table>
319
- </div>
320
- <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
1733
+
1734
+
1735
+
1736
+ </dl>
1737
+
1738
+
1739
+
1740
+
1741
+
1742
+
1743
+
1744
+
1745
+
1746
+
1747
+
1748
+
1749
+
1750
+
1751
+
1752
+
1753
+
1754
+
1755
+
1756
+
1757
+
1758
+
1759
+
1760
+ </div>
321
1761
 
322
1762
  <div class="member">
323
1763
 
@@ -385,6 +1825,7 @@ import { SketchEditorCesium } from &quot;@mapgis/webclient-leaflet-plugin&quot;
385
1825
  <span class="param-type">Object</span>
386
1826
 
387
1827
 
1828
+
388
1829
 
389
1830
  </td>
390
1831
 
@@ -409,6 +1850,7 @@ import { SketchEditorCesium } from &quot;@mapgis/webclient-leaflet-plugin&quot;
409
1850
  <span class="param-type">View</span>
410
1851
 
411
1852
 
1853
+
412
1854
 
413
1855
  </td>
414
1856
 
@@ -495,6 +1937,7 @@ import { SketchEditorCesium } from &quot;@mapgis/webclient-leaflet-plugin&quot;
495
1937
  <span class="param-type">Primitive</span>
496
1938
 
497
1939
 
1940
+
498
1941
  </div>
499
1942
 
500
1943
  </div>
@@ -519,12 +1962,12 @@ const addSceneLayer = async (url) => {
519
1962
  const loadedLayer = await layer.load()
520
1963
  const subLayers = loadedLayer.activeScene.sublayers
521
1964
  for (let i = 0; i &lt; subLayers.length; i++) {
522
- switch (subLayers[i].type) {
1965
+ switch (_subLayer.type) {
523
1966
  case SceneSubLayerType.g3d:
524
1967
  case SceneSubLayerType.label:
525
1968
  case SceneSubLayerType.sceneServer:
526
1969
  // 若是注记类型则要传入viewer对象实现注记避让效果
527
- const primitive = IGSSceneLayerUtil.toPrimitive(subLayers[i], viewer)
1970
+ const primitive = IGSSceneLayerUtil.toPrimitive(_subLayer, viewer)
528
1971
  viewer.scene.primitives.add(primitive)
529
1972
  viewer.zoomTo(primitive)
530
1973
  break
@@ -603,6 +2046,7 @@ addSceneLayer(url)</code></pre>
603
2046
  <span class="param-type">Object</span>
604
2047
 
605
2048
 
2049
+
606
2050
 
607
2051
  </td>
608
2052
 
@@ -686,12 +2130,13 @@ addSceneLayer(url)</code></pre>
686
2130
  <div class='column is-5 has-text-left'>
687
2131
  <label>类型: </label>
688
2132
 
689
- <span class="param-type"><a class="mapgis-link-name" title="MapGISTerrainProvider" href="MapGISTerrainProvider.html">MapGISTerrainProvider</a></span>
2133
+ <span class="param-type"><a link="MapGISTerrainProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a></span>
690
2134
  |
691
2135
 
692
2136
  <span class="param-type">undefined</span>
693
2137
 
694
2138
 
2139
+
695
2140
  </div>
696
2141
 
697
2142
  </div>
@@ -716,9 +2161,9 @@ const addSceneLayer = async (url) => {
716
2161
  const loadedLayer = await layer.load()
717
2162
  const subLayers = loadedLayer.activeScene.sublayers
718
2163
  for (let i = 0; i &lt; subLayers.length; i++) {
719
- switch (subLayers[i].type) {
2164
+ switch (_subLayer.type) {
720
2165
  case SceneSubLayerType.terrain:
721
- const provider = IGSSceneLayerUtil.toTerrainProvider(subLayers[i])
2166
+ const provider = IGSSceneLayerUtil.toTerrainProvider(_subLayer)
722
2167
  if (provider) {
723
2168
  viewer.terrainProvider = provider
724
2169
  }
@@ -741,43 +2186,4 @@ addSceneLayer(url)</code></pre>
741
2186
 
742
2187
  </article>
743
2188
 
744
- </section>
745
-
746
-
747
-
748
-
749
- </div>
750
-
751
- <footer class="footer">
752
- <div class="content has-text-centered">
753
- <p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.0.0</a></p>
754
- <p class="sidebar-created-by">
755
- <a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
756
- <a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
757
- </p>
758
- </div>
759
- </footer>
760
-
761
- </div>
762
- <div id="side-nav" class="side-nav">
763
- <div style="margin-bottom: 10px;">
764
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
765
- </div>
766
- <div style="margin-bottom: 10px;">
767
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
768
- </div>
769
- <div style="margin-bottom: 10px;">
770
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
771
- </div>
772
- <div>
773
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
774
- </div>
775
- </div>
776
- </div>
777
- <script src="scripts/linenumber.js"> </script>
778
-
779
- <script src="scripts/search.js"> </script>
780
-
781
- <script src="scripts/sideBar.js"> </script>
782
- </body>
783
- </html>
2189
+ </section>