@mapgis/webclient-common 17.0.7 → 17.2.1
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 +12 -37
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/AddressServer.html +12 -12
- package/documention/ArcGISFeatureServer.html +10 -10
- package/documention/ArcGISGeometryServer.html +10 -10
- package/documention/ArcGISMapImageLayer.html +10 -10
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +414 -10
- package/documention/ArcGISTileLayer.html +121 -13
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +11 -11
- package/documention/BaseView.html +458 -3
- package/documention/Basemap.html +3 -3
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +149 -177
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +110 -7
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +413 -23
- package/documention/ClusterRenderer.html +247 -7
- package/documention/Config.html +4 -4
- package/documention/Extent.html +118 -15
- package/documention/ExtrudeSymbol3DLayer.html +109 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureLayer.html +116 -8
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +109 -2
- package/documention/Font.html +4 -4
- package/documention/GeoJSONLayer.html +142 -34
- package/documention/Geometry.html +138 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +147 -39
- package/documention/GroupLayer.html +120 -12
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +46 -46
- package/documention/IGSMapImageSubLayer.html +307 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +126 -19
- package/documention/IGSVectorTileLayer.html +230 -43
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/IconSymbol3DLayer.html +111 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +10 -5
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +113 -10
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +109 -2
- package/documention/M3DModelCacheLayer.html +133 -79
- package/documention/M3DServer.html +12 -12
- package/documention/Map.html +32 -5
- package/documention/MapGISTextSymbol.html +110 -3
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +204 -3
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +116 -13
- package/documention/MultiPoint.html +113 -10
- package/documention/MultiPolygon.html +112 -9
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +111 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +109 -2
- package/documention/PictureFillSymbol.html +169 -8
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +12 -12
- package/documention/Point.html +115 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +117 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +429 -8
- package/documention/RandomRenderer.html +108 -1
- package/documention/RankRenderer.html +109 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +12 -12
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +10164 -130
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +110 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +116 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchEditorVideo.html +2 -2
- package/documention/SketchEditorVideoBase.html +3 -3
- 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/SpatialReference.html +1 -1
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +134 -1
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +133 -165
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +111 -4
- package/documention/TextSymbol3DLayer.html +109 -2
- package/documention/ThemeServer.html +13 -13
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +12 -12
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +125 -18
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +117 -9
- package/documention/VectorTileServer.html +11 -11
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/VideoMapView.html +4 -4
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +140 -32
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +131 -23
- package/documention/WMSServer.html +12 -12
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +126 -18
- package/documention/WMTSServer.html +12 -12
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WPSServer.html +10 -10
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +121 -13
- package/documention/WorkFlowServer.html +12 -12
- package/documention/WorkFlowServer600227.html +12 -12
- package/documention/WorkFlowServer600228.html +13 -13
- package/documention/WorkFlowServer600229.html +12 -12
- package/documention/WorkFlowServer600230.html +12 -12
- package/documention/WorkFlowServer600231.html +12 -12
- package/documention/WorkFlowServer600232.html +13 -13
- package/documention/WorkFlowServer600233.html +14 -14
- package/documention/WorkFlowServer600235.html +12 -12
- package/documention/WorkFlowServer600237.html +13 -13
- package/documention/WorkFlowServer600238.html +15 -15
- package/documention/WorkFlowServer600239.html +16 -16
- package/documention/WorkFlowServer600307.html +14 -14
- package/documention/WorkFlowServer600308.html +2 -2
- package/documention/WorkFlowServer600309.html +12 -12
- package/documention/WorkFlowServer600314.html +12 -12
- package/documention/WorkFlowServer600334.html +12 -12
- package/documention/WorkFlowServer600336.html +12 -12
- package/documention/WorkFlowServer600340.html +12 -12
- package/documention/WorkFlowServer600354.html +12 -12
- package/documention/WorkFlowServer600368.html +12 -12
- package/documention/WorkFlowServer600369.html +12 -12
- package/documention/WorkFlowServer600370.html +12 -12
- package/documention/global.html +1024 -1874
- package/documention/index.html +84 -78
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- 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 +14 -13
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
|
|
259
259
|
</code>
|
|
260
260
|
</td>
|
|
261
|
-
<td class="name"><code><p
|
|
261
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
262
262
|
</tr>
|
|
263
263
|
|
|
264
264
|
<tr class="deep-level-0">
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
|
|
277
277
|
</code>
|
|
278
278
|
</td>
|
|
279
|
-
<td class="name"><code><p
|
|
279
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
280
280
|
</tr>
|
|
281
281
|
|
|
282
282
|
<tr class="deep-level-0">
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
|
|
323
323
|
<span class="param-type">
|
|
324
324
|
|
|
325
|
-
|
|
325
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
326
326
|
|
|
327
327
|
</span>
|
|
328
328
|
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
|
|
457
457
|
</code>
|
|
458
458
|
</td>
|
|
459
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
459
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
460
460
|
</tr>
|
|
461
461
|
|
|
462
462
|
<tr class="deep-level-0">
|
|
@@ -495,6 +495,24 @@
|
|
|
495
495
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
496
496
|
</tr>
|
|
497
497
|
|
|
498
|
+
<tr class="deep-level-0">
|
|
499
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
500
|
+
<td class="name">
|
|
501
|
+
<code>
|
|
502
|
+
|
|
503
|
+
<span class="param-type">
|
|
504
|
+
|
|
505
|
+
String
|
|
506
|
+
|
|
507
|
+
</span>
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
</code>
|
|
512
|
+
</td>
|
|
513
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
514
|
+
</tr>
|
|
515
|
+
|
|
498
516
|
<tr class="deep-level-0">
|
|
499
517
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
500
518
|
<td class="name">
|
|
@@ -769,7 +787,7 @@
|
|
|
769
787
|
|
|
770
788
|
|
|
771
789
|
<div class="description">
|
|
772
|
-
<p
|
|
790
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
773
791
|
</div>
|
|
774
792
|
|
|
775
793
|
|
|
@@ -806,6 +824,11 @@
|
|
|
806
824
|
|
|
807
825
|
|
|
808
826
|
|
|
827
|
+
<dt class="tag-default">Default Value:</dt>
|
|
828
|
+
<dd class="tag-default"><ul class="dummy">
|
|
829
|
+
<li>{}</li>
|
|
830
|
+
</ul></dd>
|
|
831
|
+
|
|
809
832
|
|
|
810
833
|
|
|
811
834
|
|
|
@@ -849,7 +872,7 @@
|
|
|
849
872
|
|
|
850
873
|
|
|
851
874
|
<div class="description">
|
|
852
|
-
<p
|
|
875
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
853
876
|
</div>
|
|
854
877
|
|
|
855
878
|
|
|
@@ -886,6 +909,11 @@
|
|
|
886
909
|
|
|
887
910
|
|
|
888
911
|
|
|
912
|
+
<dt class="tag-default">Default Value:</dt>
|
|
913
|
+
<dd class="tag-default"><ul class="dummy">
|
|
914
|
+
<li>{}</li>
|
|
915
|
+
</ul></dd>
|
|
916
|
+
|
|
889
917
|
|
|
890
918
|
|
|
891
919
|
|
|
@@ -1072,7 +1100,7 @@
|
|
|
1072
1100
|
|
|
1073
1101
|
<span class="param-type">
|
|
1074
1102
|
|
|
1075
|
-
|
|
1103
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1076
1104
|
|
|
1077
1105
|
</span>
|
|
1078
1106
|
|
|
@@ -1685,7 +1713,7 @@
|
|
|
1685
1713
|
|
|
1686
1714
|
|
|
1687
1715
|
<div class="description">
|
|
1688
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1716
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
1689
1717
|
</div>
|
|
1690
1718
|
|
|
1691
1719
|
|
|
@@ -1883,6 +1911,86 @@
|
|
|
1883
1911
|
|
|
1884
1912
|
|
|
1885
1913
|
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
</dl>
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
</div>
|
|
1927
|
+
|
|
1928
|
+
<div class="member">
|
|
1929
|
+
|
|
1930
|
+
<span class="method-parameter is-pulled-right">
|
|
1931
|
+
<label>类型:</label>
|
|
1932
|
+
|
|
1933
|
+
<span class="param-type">
|
|
1934
|
+
|
|
1935
|
+
String
|
|
1936
|
+
|
|
1937
|
+
</span>
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
</span>
|
|
1942
|
+
|
|
1943
|
+
<h4 class="name" id="tokenAttachType">
|
|
1944
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
1945
|
+
|
|
1946
|
+
<span class="code-name">
|
|
1947
|
+
tokenAttachType
|
|
1948
|
+
</span>
|
|
1949
|
+
|
|
1950
|
+
</h4>
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
<div class="description">
|
|
1956
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
1957
|
+
</div>
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
<dl class="details">
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
|
|
1970
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1971
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1972
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
1973
|
+
</li></ul></dd>
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
|
|
1886
1994
|
|
|
1887
1995
|
|
|
1888
1996
|
|
|
@@ -514,7 +514,7 @@ off-screen: 使用矢量瓦片来绘制注记<br/>
|
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
517
|
-
const { VectorTileLayer } =
|
|
517
|
+
const { VectorTileLayer } = zondy.layer
|
|
518
518
|
// ES6引入方式
|
|
519
519
|
import { VectorTileLayer } from "@mapgis/webclient-common"
|
|
520
520
|
// 初始化矢量瓦片图层
|
|
@@ -766,7 +766,7 @@ const customLayer = new VectorTileLayerCustom({
|
|
|
766
766
|
|
|
767
767
|
</code>
|
|
768
768
|
</td>
|
|
769
|
-
<td class="name"><code><p
|
|
769
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
770
770
|
</tr>
|
|
771
771
|
|
|
772
772
|
<tr class="deep-level-0">
|
|
@@ -784,7 +784,7 @@ const customLayer = new VectorTileLayerCustom({
|
|
|
784
784
|
|
|
785
785
|
</code>
|
|
786
786
|
</td>
|
|
787
|
-
<td class="name"><code><p
|
|
787
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
788
788
|
</tr>
|
|
789
789
|
|
|
790
790
|
<tr class="deep-level-0">
|
|
@@ -830,7 +830,7 @@ const customLayer = new VectorTileLayerCustom({
|
|
|
830
830
|
|
|
831
831
|
<span class="param-type">
|
|
832
832
|
|
|
833
|
-
|
|
833
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
834
834
|
|
|
835
835
|
</span>
|
|
836
836
|
|
|
@@ -1003,7 +1003,7 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1003
1003
|
|
|
1004
1004
|
</code>
|
|
1005
1005
|
</td>
|
|
1006
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1006
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
1007
1007
|
</tr>
|
|
1008
1008
|
|
|
1009
1009
|
<tr class="deep-level-0">
|
|
@@ -1085,6 +1085,24 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1085
1085
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
1086
1086
|
</tr>
|
|
1087
1087
|
|
|
1088
|
+
<tr class="deep-level-0">
|
|
1089
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
1090
|
+
<td class="name">
|
|
1091
|
+
<code>
|
|
1092
|
+
|
|
1093
|
+
<span class="param-type">
|
|
1094
|
+
|
|
1095
|
+
String
|
|
1096
|
+
|
|
1097
|
+
</span>
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
</code>
|
|
1102
|
+
</td>
|
|
1103
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
1104
|
+
</tr>
|
|
1105
|
+
|
|
1088
1106
|
<tr class="deep-level-0">
|
|
1089
1107
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
1090
1108
|
<td class="name">
|
|
@@ -1634,7 +1652,7 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1634
1652
|
|
|
1635
1653
|
|
|
1636
1654
|
<div class="description">
|
|
1637
|
-
<p
|
|
1655
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1638
1656
|
</div>
|
|
1639
1657
|
|
|
1640
1658
|
|
|
@@ -1671,6 +1689,11 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1671
1689
|
|
|
1672
1690
|
|
|
1673
1691
|
|
|
1692
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1693
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1694
|
+
<li>{}</li>
|
|
1695
|
+
</ul></dd>
|
|
1696
|
+
|
|
1674
1697
|
|
|
1675
1698
|
|
|
1676
1699
|
|
|
@@ -1714,7 +1737,7 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1714
1737
|
|
|
1715
1738
|
|
|
1716
1739
|
<div class="description">
|
|
1717
|
-
<p
|
|
1740
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1718
1741
|
</div>
|
|
1719
1742
|
|
|
1720
1743
|
|
|
@@ -1751,6 +1774,11 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1751
1774
|
|
|
1752
1775
|
|
|
1753
1776
|
|
|
1777
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1778
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1779
|
+
<li>{}</li>
|
|
1780
|
+
</ul></dd>
|
|
1781
|
+
|
|
1754
1782
|
|
|
1755
1783
|
|
|
1756
1784
|
|
|
@@ -1937,7 +1965,7 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1937
1965
|
|
|
1938
1966
|
<span class="param-type">
|
|
1939
1967
|
|
|
1940
|
-
|
|
1968
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1941
1969
|
|
|
1942
1970
|
</span>
|
|
1943
1971
|
|
|
@@ -2708,7 +2736,7 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
2708
2736
|
|
|
2709
2737
|
|
|
2710
2738
|
<div class="description">
|
|
2711
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2739
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2712
2740
|
</div>
|
|
2713
2741
|
|
|
2714
2742
|
|
|
@@ -3067,6 +3095,86 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
3067
3095
|
|
|
3068
3096
|
|
|
3069
3097
|
|
|
3098
|
+
|
|
3099
|
+
|
|
3100
|
+
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
|
|
3104
|
+
</dl>
|
|
3105
|
+
|
|
3106
|
+
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
|
|
3110
|
+
</div>
|
|
3111
|
+
|
|
3112
|
+
<div class="member">
|
|
3113
|
+
|
|
3114
|
+
<span class="method-parameter is-pulled-right">
|
|
3115
|
+
<label>类型:</label>
|
|
3116
|
+
|
|
3117
|
+
<span class="param-type">
|
|
3118
|
+
|
|
3119
|
+
String
|
|
3120
|
+
|
|
3121
|
+
</span>
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
</span>
|
|
3126
|
+
|
|
3127
|
+
<h4 class="name" id="tokenAttachType">
|
|
3128
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
3129
|
+
|
|
3130
|
+
<span class="code-name">
|
|
3131
|
+
tokenAttachType
|
|
3132
|
+
</span>
|
|
3133
|
+
|
|
3134
|
+
</h4>
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
<div class="description">
|
|
3140
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
3141
|
+
</div>
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
<dl class="details">
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
3155
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
3156
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
3157
|
+
</li></ul></dd>
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
|
|
3070
3178
|
|
|
3071
3179
|
|
|
3072
3180
|
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
198
|
-
const { VectorTileServer } =
|
|
198
|
+
const { VectorTileServer } = zondy.service
|
|
199
199
|
// ES6引入方式
|
|
200
200
|
import { VectorTileServer } from "@mapgis/webclient-common"
|
|
201
201
|
const vectorTileServer = new VectorTileServer({
|
|
@@ -617,7 +617,7 @@ const vectorTileServer = new VectorTileServer({
|
|
|
617
617
|
|
|
618
618
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
619
619
|
// ES5引入方式
|
|
620
|
-
const { BaseServer } =
|
|
620
|
+
const { BaseServer } = zondy.service
|
|
621
621
|
// ES6引入方式
|
|
622
622
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
623
623
|
let BaseServer = new BaseServer({
|
|
@@ -718,7 +718,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
718
718
|
|
|
719
719
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
720
720
|
// ES5引入方式
|
|
721
|
-
const { BaseServer } =
|
|
721
|
+
const { BaseServer } = zondy.service
|
|
722
722
|
// ES6引入方式
|
|
723
723
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
724
724
|
let BaseServer = new BaseServer({
|
|
@@ -820,7 +820,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
820
820
|
|
|
821
821
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
822
822
|
// ES5引入方式
|
|
823
|
-
const { BaseServer,RequestInterceptor } =
|
|
823
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
824
824
|
// ES6引入方式
|
|
825
825
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
826
826
|
let BaseServer = new BaseServer({
|
|
@@ -929,7 +929,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
929
929
|
<pre class="prettyprint"><code>//设置超时时间
|
|
930
930
|
//初始化AddressServer服务对象
|
|
931
931
|
// ES5引入方式
|
|
932
|
-
const { BaseServer } =
|
|
932
|
+
const { BaseServer } = zondy.service
|
|
933
933
|
// ES6引入方式
|
|
934
934
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
935
935
|
let BaseServer = new BaseServer({
|
|
@@ -1026,7 +1026,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1026
1026
|
|
|
1027
1027
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1028
1028
|
// ES5引入方式
|
|
1029
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1029
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1030
1030
|
// ES6引入方式
|
|
1031
1031
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1032
1032
|
let BaseServer = new BaseServer({
|
|
@@ -1136,8 +1136,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1136
1136
|
|
|
1137
1137
|
<pre class="prettyprint"><code>//设置token值
|
|
1138
1138
|
// ES5引入方式
|
|
1139
|
-
const { BaseServer } =
|
|
1140
|
-
const { TokenAttachType } =
|
|
1139
|
+
const { BaseServer } = zondy.service
|
|
1140
|
+
const { TokenAttachType } = zondy.enum
|
|
1141
1141
|
// ES6引入方式
|
|
1142
1142
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1143
1143
|
let BaseServer = new BaseServer({
|
|
@@ -1238,7 +1238,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1238
1238
|
|
|
1239
1239
|
<pre class="prettyprint"><code>//设置token名
|
|
1240
1240
|
// ES5引入方式
|
|
1241
|
-
const { BaseServer } =
|
|
1241
|
+
const { BaseServer } = zondy.service
|
|
1242
1242
|
// ES6引入方式
|
|
1243
1243
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1244
1244
|
let BaseServer = new BaseServer({
|
|
@@ -1335,7 +1335,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1335
1335
|
|
|
1336
1336
|
<pre class="prettyprint"><code>//设置token值
|
|
1337
1337
|
// ES5引入方式
|
|
1338
|
-
const { BaseServer } =
|
|
1338
|
+
const { BaseServer } = zondy.service
|
|
1339
1339
|
// ES6引入方式
|
|
1340
1340
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1341
1341
|
let BaseServer = new BaseServer({
|
|
@@ -1432,7 +1432,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1432
1432
|
|
|
1433
1433
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1434
1434
|
// ES5引入方式
|
|
1435
|
-
const { BaseServer } =
|
|
1435
|
+
const { BaseServer } = zondy.service
|
|
1436
1436
|
// ES6引入方式
|
|
1437
1437
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1438
1438
|
let BaseServer = new BaseServer({
|