@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
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<p>ArcGIS瓦片图层,<br>
|
|
39
39
|
目前二维上支持4326(包括4490,4214以及4610),3857以及EPSG支持的自定义坐标系,三维上仅支持4326(包括4490,4214以及4610)以及3857坐标系,会自动读取元信息上的坐标系,不需要用户指定,
|
|
40
40
|
<br><br>[ES5引入方式]:<br/>
|
|
41
|
-
|
|
41
|
+
zondy.layer.ArcGISTileLayer() <br/>
|
|
42
42
|
[ES6引入方式]:<br/>
|
|
43
43
|
import { ArcGISTileLayer } from "@mapgis/webclient-common" <br/>
|
|
44
44
|
<br/>
|
|
@@ -502,7 +502,7 @@ if(layer.loadStatus === 'loaded') {<br/>
|
|
|
502
502
|
|
|
503
503
|
|
|
504
504
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
505
|
-
const { ArcGISTileLayer } =
|
|
505
|
+
const { ArcGISTileLayer } = zondy.layer
|
|
506
506
|
// ES6引入方式
|
|
507
507
|
import { ArcGISTileLayer } from "@mapgis/webclient-common"
|
|
508
508
|
const arcgisTileLayer = new ArcGISTileLayer({
|
|
@@ -515,7 +515,7 @@ const arcgisTileLayer = new ArcGISTileLayer({
|
|
|
515
515
|
|
|
516
516
|
|
|
517
517
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
518
|
-
const { ArcGISTileLayer } =
|
|
518
|
+
const { ArcGISTileLayer } = zondy.layer
|
|
519
519
|
// ES6引入方式
|
|
520
520
|
import { ArcGISTileLayer } from "@mapgis/webclient-common"
|
|
521
521
|
// 初始化时设置
|
|
@@ -537,7 +537,7 @@ arcgisTileLayer.opacity = 0.5
|
|
|
537
537
|
|
|
538
538
|
|
|
539
539
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
540
|
-
const { ArcGISTileLayer } =
|
|
540
|
+
const { ArcGISTileLayer } = zondy.layer
|
|
541
541
|
// ES6引入方式
|
|
542
542
|
import { ArcGISTileLayer } from "@mapgis/webclient-common"
|
|
543
543
|
// 初始化时设置
|
|
@@ -667,7 +667,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
667
667
|
|
|
668
668
|
</code>
|
|
669
669
|
</td>
|
|
670
|
-
<td class="name"><code><p
|
|
670
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
671
671
|
</tr>
|
|
672
672
|
|
|
673
673
|
<tr class="deep-level-0">
|
|
@@ -685,7 +685,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
685
685
|
|
|
686
686
|
</code>
|
|
687
687
|
</td>
|
|
688
|
-
<td class="name"><code><p
|
|
688
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
689
689
|
</tr>
|
|
690
690
|
|
|
691
691
|
<tr class="deep-level-0">
|
|
@@ -731,7 +731,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
731
731
|
|
|
732
732
|
<span class="param-type">
|
|
733
733
|
|
|
734
|
-
|
|
734
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
735
735
|
|
|
736
736
|
</span>
|
|
737
737
|
|
|
@@ -883,7 +883,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
883
883
|
|
|
884
884
|
</code>
|
|
885
885
|
</td>
|
|
886
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
886
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
887
887
|
</tr>
|
|
888
888
|
|
|
889
889
|
<tr class="deep-level-0">
|
|
@@ -922,6 +922,24 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
922
922
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
923
923
|
</tr>
|
|
924
924
|
|
|
925
|
+
<tr class="deep-level-0">
|
|
926
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
927
|
+
<td class="name">
|
|
928
|
+
<code>
|
|
929
|
+
|
|
930
|
+
<span class="param-type">
|
|
931
|
+
|
|
932
|
+
String
|
|
933
|
+
|
|
934
|
+
</span>
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
</code>
|
|
939
|
+
</td>
|
|
940
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
941
|
+
</tr>
|
|
942
|
+
|
|
925
943
|
<tr class="deep-level-0">
|
|
926
944
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
927
945
|
<td class="name">
|
|
@@ -1214,7 +1232,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
1214
1232
|
|
|
1215
1233
|
|
|
1216
1234
|
<div class="description">
|
|
1217
|
-
<p
|
|
1235
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1218
1236
|
</div>
|
|
1219
1237
|
|
|
1220
1238
|
|
|
@@ -1251,6 +1269,11 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
1251
1269
|
|
|
1252
1270
|
|
|
1253
1271
|
|
|
1272
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1273
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1274
|
+
<li>{}</li>
|
|
1275
|
+
</ul></dd>
|
|
1276
|
+
|
|
1254
1277
|
|
|
1255
1278
|
|
|
1256
1279
|
|
|
@@ -1294,7 +1317,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
1294
1317
|
|
|
1295
1318
|
|
|
1296
1319
|
<div class="description">
|
|
1297
|
-
<p
|
|
1320
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1298
1321
|
</div>
|
|
1299
1322
|
|
|
1300
1323
|
|
|
@@ -1331,6 +1354,11 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
1331
1354
|
|
|
1332
1355
|
|
|
1333
1356
|
|
|
1357
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1358
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1359
|
+
<li>{}</li>
|
|
1360
|
+
</ul></dd>
|
|
1361
|
+
|
|
1334
1362
|
|
|
1335
1363
|
|
|
1336
1364
|
|
|
@@ -1517,7 +1545,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
1517
1545
|
|
|
1518
1546
|
<span class="param-type">
|
|
1519
1547
|
|
|
1520
|
-
|
|
1548
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1521
1549
|
|
|
1522
1550
|
</span>
|
|
1523
1551
|
|
|
@@ -2205,7 +2233,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
2205
2233
|
|
|
2206
2234
|
|
|
2207
2235
|
<div class="description">
|
|
2208
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2236
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2209
2237
|
</div>
|
|
2210
2238
|
|
|
2211
2239
|
|
|
@@ -2403,6 +2431,86 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
2403
2431
|
|
|
2404
2432
|
|
|
2405
2433
|
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
</dl>
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
</div>
|
|
2447
|
+
|
|
2448
|
+
<div class="member">
|
|
2449
|
+
|
|
2450
|
+
<span class="method-parameter is-pulled-right">
|
|
2451
|
+
<label>类型:</label>
|
|
2452
|
+
|
|
2453
|
+
<span class="param-type">
|
|
2454
|
+
|
|
2455
|
+
String
|
|
2456
|
+
|
|
2457
|
+
</span>
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
</span>
|
|
2462
|
+
|
|
2463
|
+
<h4 class="name" id="tokenAttachType">
|
|
2464
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2465
|
+
|
|
2466
|
+
<span class="code-name">
|
|
2467
|
+
tokenAttachType
|
|
2468
|
+
</span>
|
|
2469
|
+
|
|
2470
|
+
</h4>
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
<div class="description">
|
|
2476
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2477
|
+
</div>
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
<dl class="details">
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2491
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2492
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2493
|
+
</li></ul></dd>
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2406
2514
|
|
|
2407
2515
|
|
|
2408
2516
|
|
|
@@ -3159,7 +3267,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
|
|
|
3159
3267
|
|
|
3160
3268
|
|
|
3161
3269
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3162
|
-
const { ArcGISTileLayer } =
|
|
3270
|
+
const { ArcGISTileLayer } = zondy.layer
|
|
3163
3271
|
// ES6引入方式
|
|
3164
3272
|
import { ArcGISTileLayer } from "@mapgis/webclient-common"
|
|
3165
3273
|
const json = {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
2、通过加载矢量瓦片样式文件的方式来初始化矢量瓦片图层对象;<br/>
|
|
43
43
|
3、通过设置矢量瓦片样式的方式来初始化矢量瓦片图层对象;<br/>
|
|
44
44
|
<br><br>[ES5引入方式]:<br/>
|
|
45
|
-
|
|
45
|
+
zondy.layer.ArcGISVectorTileLayer() <br/>
|
|
46
46
|
[ES6引入方式]:<br/>
|
|
47
47
|
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common" <br/>
|
|
48
48
|
<br/>
|
|
@@ -600,7 +600,7 @@ if(layer.loadStatus === 'loaded') {<br/>
|
|
|
600
600
|
|
|
601
601
|
|
|
602
602
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
603
|
-
const { ArcGISVectorTileLayer } =
|
|
603
|
+
const { ArcGISVectorTileLayer } = zondy.layer
|
|
604
604
|
// ES6引入方式
|
|
605
605
|
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
|
|
606
606
|
// 初始化矢量瓦片图层
|
|
@@ -614,7 +614,7 @@ const arcgisVectorTileLayer = new ArcGISVectorTileLayer({
|
|
|
614
614
|
|
|
615
615
|
|
|
616
616
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
617
|
-
const { ArcGISVectorTileLayer } =
|
|
617
|
+
const { ArcGISVectorTileLayer } = zondy.layer
|
|
618
618
|
// ES6引入方式
|
|
619
619
|
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
|
|
620
620
|
// 初始化矢量瓦片图层
|
|
@@ -628,7 +628,7 @@ const arcgisVectorTileLayer = new ArcGISVectorTileLayer({
|
|
|
628
628
|
|
|
629
629
|
|
|
630
630
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
631
|
-
const { ArcGISVectorTileLayer } =
|
|
631
|
+
const { ArcGISVectorTileLayer } = zondy.layer
|
|
632
632
|
// ES6引入方式
|
|
633
633
|
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
|
|
634
634
|
// 初始化矢量瓦片图层
|
|
@@ -642,7 +642,7 @@ const arcgisVectorTileLayer = new ArcGISVectorTileLayer({
|
|
|
642
642
|
|
|
643
643
|
|
|
644
644
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
645
|
-
const { ArcGISVectorTileLayer } =
|
|
645
|
+
const { ArcGISVectorTileLayer } = zondy.layer
|
|
646
646
|
// ES6引入方式
|
|
647
647
|
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
|
|
648
648
|
// 初始化矢量瓦片图层
|
|
@@ -690,8 +690,8 @@ const customLayer = new ArcGISVectorTileLayerCustom({
|
|
|
690
690
|
|
|
691
691
|
|
|
692
692
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
693
|
-
const { LabelClass } =
|
|
694
|
-
const { ArcGISVectorTileLayer } =
|
|
693
|
+
const { LabelClass } = zondy
|
|
694
|
+
const { ArcGISVectorTileLayer } = zondy.layer
|
|
695
695
|
// ES6引入方式
|
|
696
696
|
import { ArcGISVectorTileLayer, LabelClass } from "@mapgis/webclient-common"
|
|
697
697
|
// 初始化一个额外的图标DOM对象
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
|
|
599
599
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
600
600
|
// ES5引入方式
|
|
601
|
-
const { BaseServer } =
|
|
601
|
+
const { BaseServer } = zondy.service
|
|
602
602
|
// ES6引入方式
|
|
603
603
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
604
604
|
let BaseServer = new BaseServer({
|
|
@@ -699,7 +699,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
699
699
|
|
|
700
700
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
701
701
|
// ES5引入方式
|
|
702
|
-
const { BaseServer } =
|
|
702
|
+
const { BaseServer } = zondy.service
|
|
703
703
|
// ES6引入方式
|
|
704
704
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
705
705
|
let BaseServer = new BaseServer({
|
|
@@ -801,7 +801,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
801
801
|
|
|
802
802
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
803
803
|
// ES5引入方式
|
|
804
|
-
const { BaseServer,RequestInterceptor } =
|
|
804
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
805
805
|
// ES6引入方式
|
|
806
806
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
807
807
|
let BaseServer = new BaseServer({
|
|
@@ -910,7 +910,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
910
910
|
<pre class="prettyprint"><code>//设置超时时间
|
|
911
911
|
//初始化AddressServer服务对象
|
|
912
912
|
// ES5引入方式
|
|
913
|
-
const { BaseServer } =
|
|
913
|
+
const { BaseServer } = zondy.service
|
|
914
914
|
// ES6引入方式
|
|
915
915
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
916
916
|
let BaseServer = new BaseServer({
|
|
@@ -1007,7 +1007,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1007
1007
|
|
|
1008
1008
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1009
1009
|
// ES5引入方式
|
|
1010
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1010
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1011
1011
|
// ES6引入方式
|
|
1012
1012
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1013
1013
|
let BaseServer = new BaseServer({
|
|
@@ -1117,8 +1117,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1117
1117
|
|
|
1118
1118
|
<pre class="prettyprint"><code>//设置token值
|
|
1119
1119
|
// ES5引入方式
|
|
1120
|
-
const { BaseServer } =
|
|
1121
|
-
const { TokenAttachType } =
|
|
1120
|
+
const { BaseServer } = zondy.service
|
|
1121
|
+
const { TokenAttachType } = zondy.enum
|
|
1122
1122
|
// ES6引入方式
|
|
1123
1123
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1124
1124
|
let BaseServer = new BaseServer({
|
|
@@ -1219,7 +1219,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1219
1219
|
|
|
1220
1220
|
<pre class="prettyprint"><code>//设置token名
|
|
1221
1221
|
// ES5引入方式
|
|
1222
|
-
const { BaseServer } =
|
|
1222
|
+
const { BaseServer } = zondy.service
|
|
1223
1223
|
// ES6引入方式
|
|
1224
1224
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1225
1225
|
let BaseServer = new BaseServer({
|
|
@@ -1316,7 +1316,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1316
1316
|
|
|
1317
1317
|
<pre class="prettyprint"><code>//设置token值
|
|
1318
1318
|
// ES5引入方式
|
|
1319
|
-
const { BaseServer } =
|
|
1319
|
+
const { BaseServer } = zondy.service
|
|
1320
1320
|
// ES6引入方式
|
|
1321
1321
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1322
1322
|
let BaseServer = new BaseServer({
|
|
@@ -1413,7 +1413,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1413
1413
|
|
|
1414
1414
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1415
1415
|
// ES5引入方式
|
|
1416
|
-
const { BaseServer } =
|
|
1416
|
+
const { BaseServer } = zondy.service
|
|
1417
1417
|
// ES6引入方式
|
|
1418
1418
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1419
1419
|
let BaseServer = new BaseServer({
|
|
@@ -94,6 +94,36 @@
|
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<tr class="deep-level-1">
|
|
100
|
+
|
|
101
|
+
<td class="name"><code>id</code></td>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
<td class="type">
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<span class="param-type">
|
|
108
|
+
|
|
109
|
+
String
|
|
110
|
+
|
|
111
|
+
</span>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</td>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
<td class="description last"><p>渲染器id</p></td>
|
|
121
|
+
</tr>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
97
127
|
|
|
98
128
|
|
|
99
129
|
</tbody>
|
|
@@ -189,6 +219,215 @@
|
|
|
189
219
|
|
|
190
220
|
|
|
191
221
|
|
|
222
|
+
<div class='vertical-section'>
|
|
223
|
+
<h3 id='member'>成员变量</h3>
|
|
224
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
225
|
+
<div class="table-container">
|
|
226
|
+
<table class="params table">
|
|
227
|
+
<thead>
|
|
228
|
+
<tr>
|
|
229
|
+
<th>名称</th>
|
|
230
|
+
<th>类型</th>
|
|
231
|
+
<th>描述</th>
|
|
232
|
+
</tr>
|
|
233
|
+
</thead>
|
|
234
|
+
<tbody>
|
|
235
|
+
|
|
236
|
+
<tr class="deep-level-0">
|
|
237
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
238
|
+
<td class="name">
|
|
239
|
+
<code>
|
|
240
|
+
|
|
241
|
+
<span class="param-type">
|
|
242
|
+
|
|
243
|
+
String
|
|
244
|
+
|
|
245
|
+
</span>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
</code>
|
|
250
|
+
</td>
|
|
251
|
+
<td class="name"><code><p>渲染器id</p></code></td>
|
|
252
|
+
</tr>
|
|
253
|
+
|
|
254
|
+
<tr class="deep-level-0">
|
|
255
|
+
<td class="name"><code><a href="#type">type</a></code></td>
|
|
256
|
+
<td class="name">
|
|
257
|
+
<code>
|
|
258
|
+
|
|
259
|
+
<span class="param-type">
|
|
260
|
+
|
|
261
|
+
String
|
|
262
|
+
|
|
263
|
+
</span>
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
</code>
|
|
268
|
+
</td>
|
|
269
|
+
<td class="name"><code></code></td>
|
|
270
|
+
</tr>
|
|
271
|
+
|
|
272
|
+
</tbody>
|
|
273
|
+
</table>
|
|
274
|
+
</div>
|
|
275
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
276
|
+
<div class="members">
|
|
277
|
+
|
|
278
|
+
<div class="member">
|
|
279
|
+
|
|
280
|
+
<span class="method-parameter is-pulled-right">
|
|
281
|
+
<label>类型:</label>
|
|
282
|
+
|
|
283
|
+
<span class="param-type">
|
|
284
|
+
|
|
285
|
+
String
|
|
286
|
+
|
|
287
|
+
</span>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
</span>
|
|
292
|
+
|
|
293
|
+
<h4 class="name" id="id">
|
|
294
|
+
<a class="href-link" href="#id">#</a>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<span class='tag'>readonly</span>
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
<span class="code-name">
|
|
301
|
+
id
|
|
302
|
+
</span>
|
|
303
|
+
|
|
304
|
+
</h4>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
<div class="description">
|
|
310
|
+
<p>渲染器id</p>
|
|
311
|
+
</div>
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
<dl class="details">
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
</dl>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
</div>
|
|
356
|
+
|
|
357
|
+
<div class="member">
|
|
358
|
+
|
|
359
|
+
<span class="method-parameter is-pulled-right">
|
|
360
|
+
<label>类型:</label>
|
|
361
|
+
|
|
362
|
+
<span class="param-type">
|
|
363
|
+
|
|
364
|
+
String
|
|
365
|
+
|
|
366
|
+
</span>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
</span>
|
|
371
|
+
|
|
372
|
+
<h4 class="name" id="type">
|
|
373
|
+
<a class="href-link" href="#type">#</a>
|
|
374
|
+
|
|
375
|
+
<span class="code-name">
|
|
376
|
+
type
|
|
377
|
+
</span>
|
|
378
|
+
|
|
379
|
+
</h4>
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
<dl class="details">
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
</dl>
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
</div>
|
|
427
|
+
|
|
428
|
+
</div>
|
|
429
|
+
</div>
|
|
430
|
+
|
|
192
431
|
|
|
193
432
|
|
|
194
433
|
<div class='vertical-section'>
|