@mapgis/webclient-cesium-plugin 17.0.7 → 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.
- package/README.md +9 -45
- package/dist/es5/webclient-cesium-plugin.min.js +6 -6
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-cesium-plugin-es6.min.js +6 -6
- package/documention/ArcGISMapServerImageryProvider.html +1 -1
- package/documention/ArcGISVectorTileImageryProvider.html +866 -0
- package/documention/CustomTilingScheme.html +5 -5
- package/documention/GeoJSONLayerUtil.html +1 -1
- package/documention/IGSFeatureLayerUtil.html +1 -1
- package/documention/IGSSceneLayerUtil.html +626 -29
- package/documention/MapGISMapServerImageryProvider.html +7 -7
- package/documention/MapGISTerrainProvider.html +499 -558
- package/documention/MapGISTileServerImageryProvider.html +154 -2
- package/documention/MapGISVectorTileImageryProvider.html +253 -0
- package/documention/SceneViewCesium.html +3 -129
- package/documention/Screenshot.html +0 -11
- package/documention/SketchEditorCesium.html +63 -1
- package/documention/UrlTemplateImageryProvider.html +45 -1
- package/documention/WFSLayerUtil.html +1 -1
- package/documention/WebMapServiceImageryProvider.html +2 -2
- package/documention/WebMapTileServiceImageryProvider.html +55 -2
- package/documention/index.html +5 -5
- package/documention/scripts/sideBar.js +16 -2
- package/package.json +2 -3
|
@@ -159,6 +159,46 @@
|
|
|
159
159
|
<td class="name"><code><p>添加场景图层</p></code></td>
|
|
160
160
|
</tr>
|
|
161
161
|
|
|
162
|
+
<tr class="deep-level-0">
|
|
163
|
+
<td class="name"><code><a href="#addTerrainService">addTerrainService</a></code></td>
|
|
164
|
+
<td class="name">
|
|
165
|
+
<code>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
<span class="param-type">
|
|
169
|
+
|
|
170
|
+
<a link="MapGISTerrainProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a>
|
|
171
|
+
|
|
172
|
+
</span>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
</code>
|
|
178
|
+
</td>
|
|
179
|
+
<td class="name"><code><p>添加地形服务</p></code></td>
|
|
180
|
+
</tr>
|
|
181
|
+
|
|
182
|
+
<tr class="deep-level-0">
|
|
183
|
+
<td class="name"><code><a href="#getAllTerrainLayers">getAllTerrainLayers</a></code></td>
|
|
184
|
+
<td class="name">
|
|
185
|
+
<code>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
<span class="param-type">
|
|
189
|
+
|
|
190
|
+
Array
|
|
191
|
+
|
|
192
|
+
</span>
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
</code>
|
|
198
|
+
</td>
|
|
199
|
+
<td class="name"><code><p>获取layerView中的所有地形图层</p></code></td>
|
|
200
|
+
</tr>
|
|
201
|
+
|
|
162
202
|
<tr class="deep-level-0">
|
|
163
203
|
<td class="name"><code><a href="#initializeOptions">initializeOptions</a></code></td>
|
|
164
204
|
<td class="name">
|
|
@@ -179,6 +219,26 @@
|
|
|
179
219
|
<td class="name"><code><p>根据场景图层的子图层对象获取构造参数options</p></code></td>
|
|
180
220
|
</tr>
|
|
181
221
|
|
|
222
|
+
<tr class="deep-level-0">
|
|
223
|
+
<td class="name"><code><a href="#initTerrainProvider">initTerrainProvider</a></code></td>
|
|
224
|
+
<td class="name">
|
|
225
|
+
<code>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<span class="param-type">
|
|
229
|
+
|
|
230
|
+
<a link="MapGISTerrainProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a>
|
|
231
|
+
|
|
232
|
+
</span>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
</code>
|
|
238
|
+
</td>
|
|
239
|
+
<td class="name"><code><p>初始化并返回一个MapGISTerrainProvider对象</p></code></td>
|
|
240
|
+
</tr>
|
|
241
|
+
|
|
182
242
|
<tr class="deep-level-0">
|
|
183
243
|
<td class="name"><code><a href="#removeLayer">removeLayer</a></code></td>
|
|
184
244
|
<td class="name">
|
|
@@ -502,16 +562,16 @@
|
|
|
502
562
|
|
|
503
563
|
|
|
504
564
|
|
|
505
|
-
<h4 class="name" id=".
|
|
506
|
-
<a class="href-link" href="#.
|
|
565
|
+
<h4 class="name" id=".addTerrainService">
|
|
566
|
+
<a class="href-link" href="#.addTerrainService">#</a>
|
|
507
567
|
|
|
508
568
|
|
|
509
569
|
<span class='tag'>static</span>
|
|
510
570
|
|
|
511
571
|
|
|
512
|
-
<span class="code-name" id="
|
|
572
|
+
<span class="code-name" id="addTerrainService" style="font-size:30px">
|
|
513
573
|
|
|
514
|
-
|
|
574
|
+
addTerrainService<span class="signature">(layerView, excludeLayerViews)</span>
|
|
515
575
|
|
|
516
576
|
</span>
|
|
517
577
|
</h4>
|
|
@@ -519,7 +579,7 @@
|
|
|
519
579
|
|
|
520
580
|
|
|
521
581
|
<div class="description">
|
|
522
|
-
<p
|
|
582
|
+
<p>添加地形服务</p>
|
|
523
583
|
</div>
|
|
524
584
|
|
|
525
585
|
|
|
@@ -555,7 +615,7 @@
|
|
|
555
615
|
|
|
556
616
|
<tr class="deep-level-0">
|
|
557
617
|
|
|
558
|
-
<td class="name"><code>
|
|
618
|
+
<td class="name"><code>layerView</code></td>
|
|
559
619
|
|
|
560
620
|
|
|
561
621
|
<td class="type">
|
|
@@ -563,7 +623,7 @@
|
|
|
563
623
|
|
|
564
624
|
<span class="param-type">
|
|
565
625
|
|
|
566
|
-
|
|
626
|
+
<a link="IGSSceneLayerView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="IGSSceneLayerView" IGSSceneLayerView.html>IGSSceneLayerView</a>
|
|
567
627
|
|
|
568
628
|
</span>
|
|
569
629
|
|
|
@@ -574,7 +634,7 @@
|
|
|
574
634
|
|
|
575
635
|
|
|
576
636
|
|
|
577
|
-
<td class="description last"><p
|
|
637
|
+
<td class="description last"><p>图层视图对象</p></td>
|
|
578
638
|
</tr>
|
|
579
639
|
|
|
580
640
|
|
|
@@ -584,7 +644,7 @@
|
|
|
584
644
|
|
|
585
645
|
<tr class="deep-level-0">
|
|
586
646
|
|
|
587
|
-
<td class="name"><code>
|
|
647
|
+
<td class="name"><code>excludeLayerViews</code></td>
|
|
588
648
|
|
|
589
649
|
|
|
590
650
|
<td class="type">
|
|
@@ -592,7 +652,7 @@
|
|
|
592
652
|
|
|
593
653
|
<span class="param-type">
|
|
594
654
|
|
|
595
|
-
|
|
655
|
+
Array.<LayerView>
|
|
596
656
|
|
|
597
657
|
</span>
|
|
598
658
|
|
|
@@ -603,7 +663,7 @@
|
|
|
603
663
|
|
|
604
664
|
|
|
605
665
|
|
|
606
|
-
<td class="description last"><p
|
|
666
|
+
<td class="description last"><p>要排除的图层视图对象</p></td>
|
|
607
667
|
</tr>
|
|
608
668
|
|
|
609
669
|
|
|
@@ -677,13 +737,15 @@
|
|
|
677
737
|
|
|
678
738
|
<div class="columns">
|
|
679
739
|
|
|
740
|
+
<div class='param-desc column is-7'><p>MapGISTerrainProvider对象</p></div>
|
|
741
|
+
|
|
680
742
|
|
|
681
743
|
<div class='column is-5 has-text-left'>
|
|
682
744
|
<label>类型: </label>
|
|
683
745
|
|
|
684
746
|
<span class="param-type">
|
|
685
747
|
|
|
686
|
-
|
|
748
|
+
<a link="MapGISTerrainProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a>
|
|
687
749
|
|
|
688
750
|
</span>
|
|
689
751
|
|
|
@@ -708,16 +770,16 @@
|
|
|
708
770
|
|
|
709
771
|
|
|
710
772
|
|
|
711
|
-
<h4 class="name" id=".
|
|
712
|
-
<a class="href-link" href="#.
|
|
773
|
+
<h4 class="name" id=".getAllTerrainLayers">
|
|
774
|
+
<a class="href-link" href="#.getAllTerrainLayers">#</a>
|
|
713
775
|
|
|
714
776
|
|
|
715
777
|
<span class='tag'>static</span>
|
|
716
778
|
|
|
717
779
|
|
|
718
|
-
<span class="code-name" id="
|
|
780
|
+
<span class="code-name" id="getAllTerrainLayers" style="font-size:30px">
|
|
719
781
|
|
|
720
|
-
|
|
782
|
+
getAllTerrainLayers<span class="signature">(layerView)</span>
|
|
721
783
|
|
|
722
784
|
</span>
|
|
723
785
|
</h4>
|
|
@@ -725,7 +787,7 @@
|
|
|
725
787
|
|
|
726
788
|
|
|
727
789
|
<div class="description">
|
|
728
|
-
<p
|
|
790
|
+
<p>获取layerView中的所有地形图层</p>
|
|
729
791
|
</div>
|
|
730
792
|
|
|
731
793
|
|
|
@@ -761,7 +823,7 @@
|
|
|
761
823
|
|
|
762
824
|
<tr class="deep-level-0">
|
|
763
825
|
|
|
764
|
-
<td class="name"><code>
|
|
826
|
+
<td class="name"><code>layerView</code></td>
|
|
765
827
|
|
|
766
828
|
|
|
767
829
|
<td class="type">
|
|
@@ -769,7 +831,7 @@
|
|
|
769
831
|
|
|
770
832
|
<span class="param-type">
|
|
771
833
|
|
|
772
|
-
|
|
834
|
+
<a link="IGSSceneLayerView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="IGSSceneLayerView" IGSSceneLayerView.html>IGSSceneLayerView</a>
|
|
773
835
|
|
|
774
836
|
</span>
|
|
775
837
|
|
|
@@ -780,17 +842,167 @@
|
|
|
780
842
|
|
|
781
843
|
|
|
782
844
|
|
|
783
|
-
<td class="description last"><p
|
|
845
|
+
<td class="description last"><p>图层视图对象</p></td>
|
|
784
846
|
</tr>
|
|
785
847
|
|
|
786
848
|
|
|
787
849
|
|
|
788
850
|
|
|
851
|
+
</tbody>
|
|
852
|
+
</table>
|
|
853
|
+
</div>
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
<dl class="details">
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
</dl>
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
<div class='columns method-parameter'>
|
|
912
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
913
|
+
<div class="column is-10">
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
<div class="columns">
|
|
918
|
+
|
|
919
|
+
<div class='param-desc column is-7'><p>地形图层数组对象</p></div>
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
<div class='column is-5 has-text-left'>
|
|
923
|
+
<label>类型: </label>
|
|
924
|
+
|
|
925
|
+
<span class="param-type">
|
|
926
|
+
|
|
927
|
+
Array
|
|
928
|
+
|
|
929
|
+
</span>
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
</div>
|
|
934
|
+
|
|
935
|
+
</div>
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
</div>
|
|
939
|
+
</div>
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
</div>
|
|
947
|
+
|
|
948
|
+
<div class="member">
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
<h4 class="name" id=".initializeOptions">
|
|
953
|
+
<a class="href-link" href="#.initializeOptions">#</a>
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
<span class='tag'>static</span>
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
<span class="code-name" id="initializeOptions" style="font-size:30px">
|
|
960
|
+
|
|
961
|
+
initializeOptions<span class="signature">(subLayer, innerView)</span>
|
|
962
|
+
|
|
963
|
+
</span>
|
|
964
|
+
</h4>
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
<div class="description">
|
|
969
|
+
<p>根据场景图层的子图层对象获取构造参数options</p>
|
|
970
|
+
</div>
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
<h4>参数</h4>
|
|
982
|
+
|
|
983
|
+
<div class="table-container">
|
|
984
|
+
<table class="params table">
|
|
985
|
+
<thead>
|
|
986
|
+
<tr>
|
|
987
|
+
|
|
988
|
+
<th>名称</th>
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
<th>类型</th>
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
<th class="last">描述</th>
|
|
996
|
+
</tr>
|
|
997
|
+
</thead>
|
|
998
|
+
|
|
999
|
+
<tbody>
|
|
1000
|
+
|
|
789
1001
|
|
|
790
1002
|
|
|
791
1003
|
<tr class="deep-level-0">
|
|
792
1004
|
|
|
793
|
-
<td class="name"><code>
|
|
1005
|
+
<td class="name"><code>subLayer</code></td>
|
|
794
1006
|
|
|
795
1007
|
|
|
796
1008
|
<td class="type">
|
|
@@ -798,7 +1010,7 @@
|
|
|
798
1010
|
|
|
799
1011
|
<span class="param-type">
|
|
800
1012
|
|
|
801
|
-
|
|
1013
|
+
Object
|
|
802
1014
|
|
|
803
1015
|
</span>
|
|
804
1016
|
|
|
@@ -809,7 +1021,7 @@
|
|
|
809
1021
|
|
|
810
1022
|
|
|
811
1023
|
|
|
812
|
-
<td class="description last"><p
|
|
1024
|
+
<td class="description last"><p>地形图层对象</p></td>
|
|
813
1025
|
</tr>
|
|
814
1026
|
|
|
815
1027
|
|
|
@@ -827,7 +1039,7 @@
|
|
|
827
1039
|
|
|
828
1040
|
<span class="param-type">
|
|
829
1041
|
|
|
830
|
-
|
|
1042
|
+
View
|
|
831
1043
|
|
|
832
1044
|
</span>
|
|
833
1045
|
|
|
@@ -838,7 +1050,392 @@
|
|
|
838
1050
|
|
|
839
1051
|
|
|
840
1052
|
|
|
841
|
-
<td class="description last"><p>
|
|
1053
|
+
<td class="description last"><p>cesium的view对象</p></td>
|
|
1054
|
+
</tr>
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
</tbody>
|
|
1060
|
+
</table>
|
|
1061
|
+
</div>
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
<dl class="details">
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
</dl>
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
<div class='columns method-parameter'>
|
|
1120
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
1121
|
+
<div class="column is-10">
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
<div class="columns">
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
<div class='column is-5 has-text-left'>
|
|
1129
|
+
<label>类型: </label>
|
|
1130
|
+
|
|
1131
|
+
<span class="param-type">
|
|
1132
|
+
|
|
1133
|
+
Object
|
|
1134
|
+
|
|
1135
|
+
</span>
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
</div>
|
|
1140
|
+
|
|
1141
|
+
</div>
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
</div>
|
|
1145
|
+
</div>
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
</div>
|
|
1153
|
+
|
|
1154
|
+
<div class="member">
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
<h4 class="name" id=".initTerrainProvider">
|
|
1159
|
+
<a class="href-link" href="#.initTerrainProvider">#</a>
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
<span class='tag'>static</span>
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
<span class="code-name" id="initTerrainProvider" style="font-size:30px">
|
|
1166
|
+
|
|
1167
|
+
initTerrainProvider<span class="signature">(layerView, excludeLayerViews)</span>
|
|
1168
|
+
|
|
1169
|
+
</span>
|
|
1170
|
+
</h4>
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
<div class="description">
|
|
1175
|
+
<p>初始化并返回一个MapGISTerrainProvider对象</p>
|
|
1176
|
+
</div>
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
<h4>参数</h4>
|
|
1188
|
+
|
|
1189
|
+
<div class="table-container">
|
|
1190
|
+
<table class="params table">
|
|
1191
|
+
<thead>
|
|
1192
|
+
<tr>
|
|
1193
|
+
|
|
1194
|
+
<th>名称</th>
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
<th>类型</th>
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
<th class="last">描述</th>
|
|
1202
|
+
</tr>
|
|
1203
|
+
</thead>
|
|
1204
|
+
|
|
1205
|
+
<tbody>
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
<tr class="deep-level-0">
|
|
1210
|
+
|
|
1211
|
+
<td class="name"><code>layerView</code></td>
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
<td class="type">
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
<span class="param-type">
|
|
1218
|
+
|
|
1219
|
+
<a link="IGSSceneLayerView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="IGSSceneLayerView" IGSSceneLayerView.html>IGSSceneLayerView</a>
|
|
1220
|
+
|
|
1221
|
+
</span>
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
</td>
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
<td class="description last"><p>图层视图对象</p></td>
|
|
1231
|
+
</tr>
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
<tr class="deep-level-0">
|
|
1239
|
+
|
|
1240
|
+
<td class="name"><code>excludeLayerViews</code></td>
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
<td class="type">
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
<span class="param-type">
|
|
1247
|
+
|
|
1248
|
+
Array.<LayerView>
|
|
1249
|
+
|
|
1250
|
+
</span>
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
</td>
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
<td class="description last"><p>要排除的图层视图对象</p></td>
|
|
1260
|
+
</tr>
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
</tbody>
|
|
1266
|
+
</table>
|
|
1267
|
+
</div>
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
<dl class="details">
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
</dl>
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
<div class='columns method-parameter'>
|
|
1326
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
1327
|
+
<div class="column is-10">
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
<div class="columns">
|
|
1332
|
+
|
|
1333
|
+
<div class='param-desc column is-7'><p>MapGISTerrainProvider对象</p></div>
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
<div class='column is-5 has-text-left'>
|
|
1337
|
+
<label>类型: </label>
|
|
1338
|
+
|
|
1339
|
+
<span class="param-type">
|
|
1340
|
+
|
|
1341
|
+
<a link="MapGISTerrainProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a>
|
|
1342
|
+
|
|
1343
|
+
</span>
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
</div>
|
|
1348
|
+
|
|
1349
|
+
</div>
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
</div>
|
|
1353
|
+
</div>
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
</div>
|
|
1361
|
+
|
|
1362
|
+
<div class="member">
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
<h4 class="name" id=".removeLayer">
|
|
1367
|
+
<a class="href-link" href="#.removeLayer">#</a>
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
<span class='tag'>static</span>
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
<span class="code-name" id="removeLayer" style="font-size:30px">
|
|
1374
|
+
|
|
1375
|
+
removeLayer<span class="signature">(layerView)</span>
|
|
1376
|
+
|
|
1377
|
+
</span>
|
|
1378
|
+
</h4>
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
<div class="description">
|
|
1383
|
+
<p>移除图层</p>
|
|
1384
|
+
</div>
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
<h4>参数</h4>
|
|
1396
|
+
|
|
1397
|
+
<div class="table-container">
|
|
1398
|
+
<table class="params table">
|
|
1399
|
+
<thead>
|
|
1400
|
+
<tr>
|
|
1401
|
+
|
|
1402
|
+
<th>名称</th>
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
<th>类型</th>
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
<th class="last">描述</th>
|
|
1410
|
+
</tr>
|
|
1411
|
+
</thead>
|
|
1412
|
+
|
|
1413
|
+
<tbody>
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
<tr class="deep-level-0">
|
|
1418
|
+
|
|
1419
|
+
<td class="name"><code>layerView</code></td>
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
<td class="type">
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
<span class="param-type">
|
|
1426
|
+
|
|
1427
|
+
LayerView
|
|
1428
|
+
|
|
1429
|
+
</span>
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
</td>
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
<td class="description last"><p>图层视图对象</p></td>
|
|
842
1439
|
</tr>
|
|
843
1440
|
|
|
844
1441
|
|
|
@@ -2066,7 +2663,7 @@
|
|
|
2066
2663
|
<h5>示例</h5>
|
|
2067
2664
|
|
|
2068
2665
|
|
|
2069
|
-
<pre class="prettyprint"><code>const url = 'http://
|
|
2666
|
+
<pre class="prettyprint"><code>const url = 'http://192.168.82.91:8089/igs/rest/services/Scene/DaYanTa-M3D/SceneServer'
|
|
2070
2667
|
const addSceneLayer = async (url) => {
|
|
2071
2668
|
const layer = new IGSSceneLayer({
|
|
2072
2669
|
url,
|
|
@@ -2075,9 +2672,9 @@ const addSceneLayer = async (url) => {
|
|
|
2075
2672
|
const subLayers = loadedLayer.activeScene.sublayers
|
|
2076
2673
|
for (let i = 0; i < subLayers.length; i++) {
|
|
2077
2674
|
switch (_subLayer.type) {
|
|
2078
|
-
case SceneSubLayerType.
|
|
2675
|
+
case SceneSubLayerType.model:
|
|
2079
2676
|
case SceneSubLayerType.label:
|
|
2080
|
-
case SceneSubLayerType.
|
|
2677
|
+
case SceneSubLayerType.modelCache:
|
|
2081
2678
|
// 若是注记类型则要传入viewer对象实现注记避让效果
|
|
2082
2679
|
const primitive = IGSSceneLayerUtil.toPrimitive(_subLayer, viewer)
|
|
2083
2680
|
viewer.scene.primitives.add(primitive)
|
|
@@ -2277,7 +2874,7 @@ addSceneLayer(url)</code></pre>
|
|
|
2277
2874
|
<h5>示例</h5>
|
|
2278
2875
|
|
|
2279
2876
|
|
|
2280
|
-
<pre class="prettyprint"><code>const url = 'http://
|
|
2877
|
+
<pre class="prettyprint"><code>const url = 'http://192.168.82.89:8089/igs/rest/services/Scene/TwTerrain/SceneServer'
|
|
2281
2878
|
const addSceneLayer = async (url) => {
|
|
2282
2879
|
const layer = new IGSSceneLayer({
|
|
2283
2880
|
url,
|