@mapgis/webclient-common 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 -44
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +404 -0
- package/documention/ArcGISTileLayer.html +116 -8
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +1 -1
- package/documention/BaseView.html +457 -2
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +131 -85
- package/documention/Circle.html +103 -0
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +395 -5
- package/documention/ClusterRenderer.html +245 -5
- package/documention/Extent.html +103 -0
- package/documention/ExtrudeSymbol3DLayer.html +107 -0
- package/documention/FeatureLayer.html +116 -8
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +107 -0
- package/documention/Font.html +3 -3
- package/documention/GeoJSONLayer.html +116 -8
- package/documention/Geometry.html +131 -0
- package/documention/GraphicsLayer.html +116 -8
- package/documention/GroupLayer.html +118 -10
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSMapImageSubLayer.html +304 -0
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +116 -8
- package/documention/IGSVectorTileLayer.html +198 -14
- package/documention/IconSymbol3DLayer.html +107 -0
- package/documention/LabelClass.html +7 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +103 -0
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3DLayer.html +107 -0
- package/documention/M3DModelCacheLayer.html +121 -67
- package/documention/M3DServer.html +1 -1
- package/documention/Map.html +28 -1
- package/documention/MapGISTextSymbol.html +107 -0
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapView.html +203 -2
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +103 -0
- package/documention/MultiPoint.html +103 -0
- package/documention/MultiPolygon.html +103 -0
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +107 -0
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +107 -0
- package/documention/PictureFillSymbol.html +168 -7
- package/documention/PoiServer.html +1 -1
- package/documention/Point.html +103 -0
- package/documention/PointSymbol3D.html +1 -1
- package/documention/Polygon.html +103 -0
- package/documention/Projection.html +421 -0
- package/documention/RandomRenderer.html +107 -0
- package/documention/RankRenderer.html +107 -0
- package/documention/RootServer.html +1 -1
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneView.html +10164 -130
- package/documention/SimpleFillSymbol.html +107 -0
- package/documention/SimpleRenderer.html +107 -0
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +1 -1
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchExtentDrawTool.html +159 -3
- package/documention/SketchFreehandPolygonDrawTool.html +159 -3
- package/documention/SketchFreehandPolylineDrawTool.html +159 -3
- package/documention/SketchPointDrawTool.html +159 -3
- package/documention/SketchPolygonDrawTool.html +318 -6
- package/documention/SketchPolylineDrawTool.html +318 -6
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +133 -0
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +132 -164
- package/documention/TextSymbol.html +107 -0
- package/documention/TextSymbol3DLayer.html +107 -0
- package/documention/ThemeServer.html +1 -1
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +1 -1
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +107 -0
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +116 -8
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/WFSLayer.html +116 -8
- package/documention/WMSLayer.html +116 -8
- package/documention/WMSServer.html +1 -1
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +116 -8
- package/documention/WMTSServer.html +1 -1
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +116 -8
- package/documention/global.html +454 -4
- package/documention/index.html +47 -44
- package/documention/scripts/sideBar.js +16 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
- package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
- package/package.json +13 -13
|
@@ -1041,7 +1041,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
1041
1041
|
|
|
1042
1042
|
</code>
|
|
1043
1043
|
</td>
|
|
1044
|
-
<td class="name"><code><p
|
|
1044
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
1045
1045
|
</tr>
|
|
1046
1046
|
|
|
1047
1047
|
<tr class="deep-level-0">
|
|
@@ -1059,7 +1059,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
1059
1059
|
|
|
1060
1060
|
</code>
|
|
1061
1061
|
</td>
|
|
1062
|
-
<td class="name"><code><p
|
|
1062
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
1063
1063
|
</tr>
|
|
1064
1064
|
|
|
1065
1065
|
<tr class="deep-level-0">
|
|
@@ -1105,7 +1105,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
1105
1105
|
|
|
1106
1106
|
<span class="param-type">
|
|
1107
1107
|
|
|
1108
|
-
|
|
1108
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1109
1109
|
|
|
1110
1110
|
</span>
|
|
1111
1111
|
|
|
@@ -1347,7 +1347,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
1347
1347
|
|
|
1348
1348
|
</code>
|
|
1349
1349
|
</td>
|
|
1350
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1350
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
1351
1351
|
</tr>
|
|
1352
1352
|
|
|
1353
1353
|
<tr class="deep-level-0">
|
|
@@ -1440,6 +1440,24 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
1440
1440
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
1441
1441
|
</tr>
|
|
1442
1442
|
|
|
1443
|
+
<tr class="deep-level-0">
|
|
1444
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
1445
|
+
<td class="name">
|
|
1446
|
+
<code>
|
|
1447
|
+
|
|
1448
|
+
<span class="param-type">
|
|
1449
|
+
|
|
1450
|
+
String
|
|
1451
|
+
|
|
1452
|
+
</span>
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
</code>
|
|
1457
|
+
</td>
|
|
1458
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
1459
|
+
</tr>
|
|
1460
|
+
|
|
1443
1461
|
<tr class="deep-level-0">
|
|
1444
1462
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
1445
1463
|
<td class="name">
|
|
@@ -2008,7 +2026,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
2008
2026
|
|
|
2009
2027
|
|
|
2010
2028
|
<div class="description">
|
|
2011
|
-
<p
|
|
2029
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
2012
2030
|
</div>
|
|
2013
2031
|
|
|
2014
2032
|
|
|
@@ -2045,6 +2063,11 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
2045
2063
|
|
|
2046
2064
|
|
|
2047
2065
|
|
|
2066
|
+
<dt class="tag-default">Default Value:</dt>
|
|
2067
|
+
<dd class="tag-default"><ul class="dummy">
|
|
2068
|
+
<li>{}</li>
|
|
2069
|
+
</ul></dd>
|
|
2070
|
+
|
|
2048
2071
|
|
|
2049
2072
|
|
|
2050
2073
|
|
|
@@ -2088,7 +2111,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
2088
2111
|
|
|
2089
2112
|
|
|
2090
2113
|
<div class="description">
|
|
2091
|
-
<p
|
|
2114
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
2092
2115
|
</div>
|
|
2093
2116
|
|
|
2094
2117
|
|
|
@@ -2125,6 +2148,11 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
2125
2148
|
|
|
2126
2149
|
|
|
2127
2150
|
|
|
2151
|
+
<dt class="tag-default">Default Value:</dt>
|
|
2152
|
+
<dd class="tag-default"><ul class="dummy">
|
|
2153
|
+
<li>{}</li>
|
|
2154
|
+
</ul></dd>
|
|
2155
|
+
|
|
2128
2156
|
|
|
2129
2157
|
|
|
2130
2158
|
|
|
@@ -2311,7 +2339,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
2311
2339
|
|
|
2312
2340
|
<span class="param-type">
|
|
2313
2341
|
|
|
2314
|
-
|
|
2342
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
2315
2343
|
|
|
2316
2344
|
</span>
|
|
2317
2345
|
|
|
@@ -3382,7 +3410,7 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
3382
3410
|
|
|
3383
3411
|
|
|
3384
3412
|
<div class="description">
|
|
3385
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
3413
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
3386
3414
|
</div>
|
|
3387
3415
|
|
|
3388
3416
|
|
|
@@ -3805,6 +3833,86 @@ wmsSubLayer.visible = false</code></pre>
|
|
|
3805
3833
|
|
|
3806
3834
|
|
|
3807
3835
|
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
</dl>
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
|
|
3847
|
+
|
|
3848
|
+
</div>
|
|
3849
|
+
|
|
3850
|
+
<div class="member">
|
|
3851
|
+
|
|
3852
|
+
<span class="method-parameter is-pulled-right">
|
|
3853
|
+
<label>类型:</label>
|
|
3854
|
+
|
|
3855
|
+
<span class="param-type">
|
|
3856
|
+
|
|
3857
|
+
String
|
|
3858
|
+
|
|
3859
|
+
</span>
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
|
|
3863
|
+
</span>
|
|
3864
|
+
|
|
3865
|
+
<h4 class="name" id="tokenAttachType">
|
|
3866
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
3867
|
+
|
|
3868
|
+
<span class="code-name">
|
|
3869
|
+
tokenAttachType
|
|
3870
|
+
</span>
|
|
3871
|
+
|
|
3872
|
+
</h4>
|
|
3873
|
+
|
|
3874
|
+
|
|
3875
|
+
|
|
3876
|
+
|
|
3877
|
+
<div class="description">
|
|
3878
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
3879
|
+
</div>
|
|
3880
|
+
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
|
|
3884
|
+
|
|
3885
|
+
<dl class="details">
|
|
3886
|
+
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
|
|
3892
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
3893
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
3894
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
3895
|
+
</li></ul></dd>
|
|
3896
|
+
|
|
3897
|
+
|
|
3898
|
+
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
|
|
3902
|
+
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
|
|
3908
|
+
|
|
3909
|
+
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
|
|
3915
|
+
|
|
3808
3916
|
|
|
3809
3917
|
|
|
3810
3918
|
|
|
@@ -242,7 +242,7 @@ const { WMSServer } = Zondy.Service
|
|
|
242
242
|
// ES6引入方式
|
|
243
243
|
import { WMSServer } from "@mapgis/webclient-common"
|
|
244
244
|
WMSServer = new WMSServer({
|
|
245
|
-
url: 'http://
|
|
245
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/WMSServer',
|
|
246
246
|
requestInterceptor: {
|
|
247
247
|
before: function (config) {
|
|
248
248
|
return config;
|
|
@@ -422,6 +422,42 @@
|
|
|
422
422
|
<td class="name"><code><p>图层描述</p></code></td>
|
|
423
423
|
</tr>
|
|
424
424
|
|
|
425
|
+
<tr class="deep-level-0">
|
|
426
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
427
|
+
<td class="name">
|
|
428
|
+
<code>
|
|
429
|
+
|
|
430
|
+
<span class="param-type">
|
|
431
|
+
|
|
432
|
+
Object
|
|
433
|
+
|
|
434
|
+
</span>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
</code>
|
|
439
|
+
</td>
|
|
440
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
441
|
+
</tr>
|
|
442
|
+
|
|
443
|
+
<tr class="deep-level-0">
|
|
444
|
+
<td class="name"><code><a href="#extendProps">extendProps</a></code></td>
|
|
445
|
+
<td class="name">
|
|
446
|
+
<code>
|
|
447
|
+
|
|
448
|
+
<span class="param-type">
|
|
449
|
+
|
|
450
|
+
Object
|
|
451
|
+
|
|
452
|
+
</span>
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
</code>
|
|
457
|
+
</td>
|
|
458
|
+
<td class="name"><code><p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
459
|
+
</tr>
|
|
460
|
+
|
|
425
461
|
<tr class="deep-level-0">
|
|
426
462
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
427
463
|
<td class="name">
|
|
@@ -599,7 +635,7 @@
|
|
|
599
635
|
|
|
600
636
|
</code>
|
|
601
637
|
</td>
|
|
602
|
-
<td class="name"><code><p
|
|
638
|
+
<td class="name"><code><p>子图层显示或隐藏</p></code></td>
|
|
603
639
|
</tr>
|
|
604
640
|
|
|
605
641
|
</tbody>
|
|
@@ -671,6 +707,176 @@
|
|
|
671
707
|
|
|
672
708
|
|
|
673
709
|
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
</dl>
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
</div>
|
|
725
|
+
|
|
726
|
+
<div class="member">
|
|
727
|
+
|
|
728
|
+
<span class="method-parameter is-pulled-right">
|
|
729
|
+
<label>类型:</label>
|
|
730
|
+
|
|
731
|
+
<span class="param-type">
|
|
732
|
+
|
|
733
|
+
Object
|
|
734
|
+
|
|
735
|
+
</span>
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
</span>
|
|
740
|
+
|
|
741
|
+
<h4 class="name" id="extendOptions">
|
|
742
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
743
|
+
|
|
744
|
+
<span class="code-name">
|
|
745
|
+
extendOptions
|
|
746
|
+
</span>
|
|
747
|
+
|
|
748
|
+
</h4>
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
<div class="description">
|
|
754
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
755
|
+
</div>
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
<dl class="details">
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
769
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
770
|
+
<a goto="extendOptions" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendOptions" SubLayer.html#extendOptions>SubLayer#extendOptions</a>
|
|
771
|
+
</li></ul></dd>
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
<dt class="tag-default">Default Value:</dt>
|
|
792
|
+
<dd class="tag-default"><ul class="dummy">
|
|
793
|
+
<li>{}</li>
|
|
794
|
+
</ul></dd>
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
</dl>
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
</div>
|
|
810
|
+
|
|
811
|
+
<div class="member">
|
|
812
|
+
|
|
813
|
+
<span class="method-parameter is-pulled-right">
|
|
814
|
+
<label>类型:</label>
|
|
815
|
+
|
|
816
|
+
<span class="param-type">
|
|
817
|
+
|
|
818
|
+
Object
|
|
819
|
+
|
|
820
|
+
</span>
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
</span>
|
|
825
|
+
|
|
826
|
+
<h4 class="name" id="extendProps">
|
|
827
|
+
<a class="href-link" href="#extendProps">#</a>
|
|
828
|
+
|
|
829
|
+
<span class="code-name">
|
|
830
|
+
extendProps
|
|
831
|
+
</span>
|
|
832
|
+
|
|
833
|
+
</h4>
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
<div class="description">
|
|
839
|
+
<p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
840
|
+
</div>
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
<dl class="details">
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
854
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
855
|
+
<a goto="extendProps" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendProps" SubLayer.html#extendProps>SubLayer#extendProps</a>
|
|
856
|
+
</li></ul></dd>
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
<dt class="tag-default">Default Value:</dt>
|
|
877
|
+
<dd class="tag-default"><ul class="dummy">
|
|
878
|
+
<li>{}</li>
|
|
879
|
+
</ul></dd>
|
|
674
880
|
|
|
675
881
|
|
|
676
882
|
|
|
@@ -1132,6 +1338,11 @@
|
|
|
1132
1338
|
|
|
1133
1339
|
|
|
1134
1340
|
|
|
1341
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
1342
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1343
|
+
<a class="mapgis-link-name" title="SubLayer#spatialReference" SubLayer.html#spatialReference>SubLayer#spatialReference</a>
|
|
1344
|
+
</li></ul></dd>
|
|
1345
|
+
|
|
1135
1346
|
|
|
1136
1347
|
|
|
1137
1348
|
|
|
@@ -1430,7 +1641,7 @@
|
|
|
1430
1641
|
|
|
1431
1642
|
|
|
1432
1643
|
<div class="description">
|
|
1433
|
-
<p
|
|
1644
|
+
<p>子图层显示或隐藏</p>
|
|
1434
1645
|
</div>
|
|
1435
1646
|
|
|
1436
1647
|
|
|
@@ -1444,11 +1655,9 @@
|
|
|
1444
1655
|
|
|
1445
1656
|
|
|
1446
1657
|
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1451
|
-
<a class="mapgis-link-name" title="SubLayer#visible" SubLayer.html#visible>SubLayer#visible</a>
|
|
1658
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1659
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1660
|
+
<a goto="visible" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#visible" SubLayer.html#visible>SubLayer#visible</a>
|
|
1452
1661
|
</li></ul></dd>
|
|
1453
1662
|
|
|
1454
1663
|
|
|
@@ -1467,6 +1676,8 @@
|
|
|
1467
1676
|
|
|
1468
1677
|
|
|
1469
1678
|
|
|
1679
|
+
|
|
1680
|
+
|
|
1470
1681
|
|
|
1471
1682
|
|
|
1472
1683
|
|
|
@@ -870,7 +870,7 @@ map.add(layer)</code></pre>
|
|
|
870
870
|
|
|
871
871
|
</code>
|
|
872
872
|
</td>
|
|
873
|
-
<td class="name"><code><p
|
|
873
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
874
874
|
</tr>
|
|
875
875
|
|
|
876
876
|
<tr class="deep-level-0">
|
|
@@ -888,7 +888,7 @@ map.add(layer)</code></pre>
|
|
|
888
888
|
|
|
889
889
|
</code>
|
|
890
890
|
</td>
|
|
891
|
-
<td class="name"><code><p
|
|
891
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
892
892
|
</tr>
|
|
893
893
|
|
|
894
894
|
<tr class="deep-level-0">
|
|
@@ -934,7 +934,7 @@ map.add(layer)</code></pre>
|
|
|
934
934
|
|
|
935
935
|
<span class="param-type">
|
|
936
936
|
|
|
937
|
-
|
|
937
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
938
938
|
|
|
939
939
|
</span>
|
|
940
940
|
|
|
@@ -1068,7 +1068,7 @@ map.add(layer)</code></pre>
|
|
|
1068
1068
|
|
|
1069
1069
|
</code>
|
|
1070
1070
|
</td>
|
|
1071
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1071
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
1072
1072
|
</tr>
|
|
1073
1073
|
|
|
1074
1074
|
<tr class="deep-level-0">
|
|
@@ -1143,6 +1143,24 @@ map.add(layer)</code></pre>
|
|
|
1143
1143
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
1144
1144
|
</tr>
|
|
1145
1145
|
|
|
1146
|
+
<tr class="deep-level-0">
|
|
1147
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
1148
|
+
<td class="name">
|
|
1149
|
+
<code>
|
|
1150
|
+
|
|
1151
|
+
<span class="param-type">
|
|
1152
|
+
|
|
1153
|
+
String
|
|
1154
|
+
|
|
1155
|
+
</span>
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
</code>
|
|
1160
|
+
</td>
|
|
1161
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
1162
|
+
</tr>
|
|
1163
|
+
|
|
1146
1164
|
<tr class="deep-level-0">
|
|
1147
1165
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
1148
1166
|
<td class="name">
|
|
@@ -1790,7 +1808,7 @@ map.add(layer)</code></pre>
|
|
|
1790
1808
|
|
|
1791
1809
|
|
|
1792
1810
|
<div class="description">
|
|
1793
|
-
<p
|
|
1811
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1794
1812
|
</div>
|
|
1795
1813
|
|
|
1796
1814
|
|
|
@@ -1827,6 +1845,11 @@ map.add(layer)</code></pre>
|
|
|
1827
1845
|
|
|
1828
1846
|
|
|
1829
1847
|
|
|
1848
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1849
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1850
|
+
<li>{}</li>
|
|
1851
|
+
</ul></dd>
|
|
1852
|
+
|
|
1830
1853
|
|
|
1831
1854
|
|
|
1832
1855
|
|
|
@@ -1870,7 +1893,7 @@ map.add(layer)</code></pre>
|
|
|
1870
1893
|
|
|
1871
1894
|
|
|
1872
1895
|
<div class="description">
|
|
1873
|
-
<p
|
|
1896
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1874
1897
|
</div>
|
|
1875
1898
|
|
|
1876
1899
|
|
|
@@ -1907,6 +1930,11 @@ map.add(layer)</code></pre>
|
|
|
1907
1930
|
|
|
1908
1931
|
|
|
1909
1932
|
|
|
1933
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1934
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1935
|
+
<li>{}</li>
|
|
1936
|
+
</ul></dd>
|
|
1937
|
+
|
|
1910
1938
|
|
|
1911
1939
|
|
|
1912
1940
|
|
|
@@ -2089,7 +2117,7 @@ map.add(layer)</code></pre>
|
|
|
2089
2117
|
|
|
2090
2118
|
<span class="param-type">
|
|
2091
2119
|
|
|
2092
|
-
|
|
2120
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
2093
2121
|
|
|
2094
2122
|
</span>
|
|
2095
2123
|
|
|
@@ -2692,7 +2720,7 @@ map.add(layer)</code></pre>
|
|
|
2692
2720
|
|
|
2693
2721
|
|
|
2694
2722
|
<div class="description">
|
|
2695
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2723
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2696
2724
|
</div>
|
|
2697
2725
|
|
|
2698
2726
|
|
|
@@ -3052,6 +3080,86 @@ map.add(layer)</code></pre>
|
|
|
3052
3080
|
|
|
3053
3081
|
|
|
3054
3082
|
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
|
|
3089
|
+
</dl>
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
</div>
|
|
3096
|
+
|
|
3097
|
+
<div class="member">
|
|
3098
|
+
|
|
3099
|
+
<span class="method-parameter is-pulled-right">
|
|
3100
|
+
<label>类型:</label>
|
|
3101
|
+
|
|
3102
|
+
<span class="param-type">
|
|
3103
|
+
|
|
3104
|
+
String
|
|
3105
|
+
|
|
3106
|
+
</span>
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
|
|
3110
|
+
</span>
|
|
3111
|
+
|
|
3112
|
+
<h4 class="name" id="tokenAttachType">
|
|
3113
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
3114
|
+
|
|
3115
|
+
<span class="code-name">
|
|
3116
|
+
tokenAttachType
|
|
3117
|
+
</span>
|
|
3118
|
+
|
|
3119
|
+
</h4>
|
|
3120
|
+
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
<div class="description">
|
|
3125
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
3126
|
+
</div>
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
<dl class="details">
|
|
3133
|
+
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
3140
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
3141
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
3142
|
+
</li></ul></dd>
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
|
|
3162
|
+
|
|
3055
3163
|
|
|
3056
3164
|
|
|
3057
3165
|
|
|
@@ -211,7 +211,7 @@ const { WMTSServer } = Zondy.Service
|
|
|
211
211
|
// ES6引入方式
|
|
212
212
|
import { WMTSServer } from "@mapgis/webclient-common"
|
|
213
213
|
const WMTSServer = new WMTSServer({
|
|
214
|
-
url: 'http://
|
|
214
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/WMTSServer',
|
|
215
215
|
requestInterceptor: {
|
|
216
216
|
before: function (config) {
|
|
217
217
|
return config;
|