@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
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p><br><br>[ES5引入方式]:<br/>
|
|
39
|
-
|
|
39
|
+
zondy.layer.GroupLayer() <br/>
|
|
40
40
|
[ES6引入方式]:<br/>
|
|
41
41
|
import { GroupLayer } from "@mapgis/webclient-common" <br/>
|
|
42
42
|
<br/></p>
|
|
@@ -280,16 +280,16 @@ import { GroupLayer } from "@mapgis/webclient-common" <br/>
|
|
|
280
280
|
|
|
281
281
|
<pre class="prettyprint"><code>// 初始化图层管理容器
|
|
282
282
|
// ES5引入方式
|
|
283
|
-
const { IGSMapImageLayer,WMTSLayer,GroupLayer } =
|
|
283
|
+
const { IGSMapImageLayer,WMTSLayer,GroupLayer } = zondy.layer
|
|
284
284
|
// ES6引入方式
|
|
285
285
|
import { IGSMapImageLayer,WMTSLayer,GroupLayer} from "@mapgis/webclient-common"
|
|
286
286
|
// 创建一个矢量图层
|
|
287
287
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
288
|
-
url: 'http://
|
|
288
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/Map/WorldJWVector/MapServer'
|
|
289
289
|
});
|
|
290
290
|
// 创建一个WMS图层
|
|
291
291
|
const wmsLayer = new WMTSLayer({
|
|
292
|
-
url: 'http://
|
|
292
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/Tile/北京市/WMTSServer'
|
|
293
293
|
});
|
|
294
294
|
// 创建一个组图层
|
|
295
295
|
const groupLayer = new GroupLayer({
|
|
@@ -414,7 +414,7 @@ const groupLayer = new GroupLayer({
|
|
|
414
414
|
|
|
415
415
|
</code>
|
|
416
416
|
</td>
|
|
417
|
-
<td class="name"><code><p
|
|
417
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
418
418
|
</tr>
|
|
419
419
|
|
|
420
420
|
<tr class="deep-level-0">
|
|
@@ -432,7 +432,7 @@ const groupLayer = new GroupLayer({
|
|
|
432
432
|
|
|
433
433
|
</code>
|
|
434
434
|
</td>
|
|
435
|
-
<td class="name"><code><p
|
|
435
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
436
436
|
</tr>
|
|
437
437
|
|
|
438
438
|
<tr class="deep-level-0">
|
|
@@ -478,7 +478,7 @@ const groupLayer = new GroupLayer({
|
|
|
478
478
|
|
|
479
479
|
<span class="param-type">
|
|
480
480
|
|
|
481
|
-
|
|
481
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
482
482
|
|
|
483
483
|
</span>
|
|
484
484
|
|
|
@@ -630,7 +630,7 @@ const groupLayer = new GroupLayer({
|
|
|
630
630
|
|
|
631
631
|
</code>
|
|
632
632
|
</td>
|
|
633
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
633
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
634
634
|
</tr>
|
|
635
635
|
|
|
636
636
|
<tr class="deep-level-0">
|
|
@@ -669,6 +669,24 @@ const groupLayer = new GroupLayer({
|
|
|
669
669
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
670
670
|
</tr>
|
|
671
671
|
|
|
672
|
+
<tr class="deep-level-0">
|
|
673
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
674
|
+
<td class="name">
|
|
675
|
+
<code>
|
|
676
|
+
|
|
677
|
+
<span class="param-type">
|
|
678
|
+
|
|
679
|
+
String
|
|
680
|
+
|
|
681
|
+
</span>
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
</code>
|
|
686
|
+
</td>
|
|
687
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
688
|
+
</tr>
|
|
689
|
+
|
|
672
690
|
<tr class="deep-level-0">
|
|
673
691
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
674
692
|
<td class="name">
|
|
@@ -1040,7 +1058,7 @@ const groupLayer = new GroupLayer({
|
|
|
1040
1058
|
|
|
1041
1059
|
|
|
1042
1060
|
<div class="description">
|
|
1043
|
-
<p
|
|
1061
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1044
1062
|
</div>
|
|
1045
1063
|
|
|
1046
1064
|
|
|
@@ -1077,6 +1095,11 @@ const groupLayer = new GroupLayer({
|
|
|
1077
1095
|
|
|
1078
1096
|
|
|
1079
1097
|
|
|
1098
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1099
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1100
|
+
<li>{}</li>
|
|
1101
|
+
</ul></dd>
|
|
1102
|
+
|
|
1080
1103
|
|
|
1081
1104
|
|
|
1082
1105
|
|
|
@@ -1120,7 +1143,7 @@ const groupLayer = new GroupLayer({
|
|
|
1120
1143
|
|
|
1121
1144
|
|
|
1122
1145
|
<div class="description">
|
|
1123
|
-
<p
|
|
1146
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1124
1147
|
</div>
|
|
1125
1148
|
|
|
1126
1149
|
|
|
@@ -1157,6 +1180,11 @@ const groupLayer = new GroupLayer({
|
|
|
1157
1180
|
|
|
1158
1181
|
|
|
1159
1182
|
|
|
1183
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1184
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1185
|
+
<li>{}</li>
|
|
1186
|
+
</ul></dd>
|
|
1187
|
+
|
|
1160
1188
|
|
|
1161
1189
|
|
|
1162
1190
|
|
|
@@ -1343,7 +1371,7 @@ const groupLayer = new GroupLayer({
|
|
|
1343
1371
|
|
|
1344
1372
|
<span class="param-type">
|
|
1345
1373
|
|
|
1346
|
-
|
|
1374
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1347
1375
|
|
|
1348
1376
|
</span>
|
|
1349
1377
|
|
|
@@ -2031,7 +2059,7 @@ const groupLayer = new GroupLayer({
|
|
|
2031
2059
|
|
|
2032
2060
|
|
|
2033
2061
|
<div class="description">
|
|
2034
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2062
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2035
2063
|
</div>
|
|
2036
2064
|
|
|
2037
2065
|
|
|
@@ -2229,6 +2257,86 @@ const groupLayer = new GroupLayer({
|
|
|
2229
2257
|
|
|
2230
2258
|
|
|
2231
2259
|
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
</dl>
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
|
|
2272
|
+
</div>
|
|
2273
|
+
|
|
2274
|
+
<div class="member">
|
|
2275
|
+
|
|
2276
|
+
<span class="method-parameter is-pulled-right">
|
|
2277
|
+
<label>类型:</label>
|
|
2278
|
+
|
|
2279
|
+
<span class="param-type">
|
|
2280
|
+
|
|
2281
|
+
String
|
|
2282
|
+
|
|
2283
|
+
</span>
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
</span>
|
|
2288
|
+
|
|
2289
|
+
<h4 class="name" id="tokenAttachType">
|
|
2290
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2291
|
+
|
|
2292
|
+
<span class="code-name">
|
|
2293
|
+
tokenAttachType
|
|
2294
|
+
</span>
|
|
2295
|
+
|
|
2296
|
+
</h4>
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
<div class="description">
|
|
2302
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2303
|
+
</div>
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
<dl class="details">
|
|
2310
|
+
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
|
|
2316
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2317
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2318
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2319
|
+
</li></ul></dd>
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
|
|
2232
2340
|
|
|
2233
2341
|
|
|
2234
2342
|
|
|
@@ -462,6 +462,24 @@
|
|
|
462
462
|
<td class="name"><code><p>要素字段名称,用于指定数据的热力值,优先级高于valueExpression.</p></code></td>
|
|
463
463
|
</tr>
|
|
464
464
|
|
|
465
|
+
<tr class="deep-level-0">
|
|
466
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
467
|
+
<td class="name">
|
|
468
|
+
<code>
|
|
469
|
+
|
|
470
|
+
<span class="param-type">
|
|
471
|
+
|
|
472
|
+
String
|
|
473
|
+
|
|
474
|
+
</span>
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
</code>
|
|
479
|
+
</td>
|
|
480
|
+
<td class="name"><code><p>渲染器id</p></code></td>
|
|
481
|
+
</tr>
|
|
482
|
+
|
|
465
483
|
<tr class="deep-level-0">
|
|
466
484
|
<td class="name"><code><a href="#maxDataValue">maxDataValue</a></code></td>
|
|
467
485
|
<td class="name">
|
|
@@ -707,6 +725,90 @@
|
|
|
707
725
|
|
|
708
726
|
|
|
709
727
|
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
</dl>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
</div>
|
|
746
|
+
|
|
747
|
+
<div class="member">
|
|
748
|
+
|
|
749
|
+
<span class="method-parameter is-pulled-right">
|
|
750
|
+
<label>类型:</label>
|
|
751
|
+
|
|
752
|
+
<span class="param-type">
|
|
753
|
+
|
|
754
|
+
String
|
|
755
|
+
|
|
756
|
+
</span>
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
</span>
|
|
761
|
+
|
|
762
|
+
<h4 class="name" id="id">
|
|
763
|
+
<a class="href-link" href="#id">#</a>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
<span class='tag'>readonly</span>
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
<span class="code-name">
|
|
770
|
+
id
|
|
771
|
+
</span>
|
|
772
|
+
|
|
773
|
+
</h4>
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
<div class="description">
|
|
779
|
+
<p>渲染器id</p>
|
|
780
|
+
</div>
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
<dl class="details">
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
794
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
795
|
+
<a goto="id" link="BaseRenderer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseRenderer#id" BaseRenderer.html#id>BaseRenderer#id</a>
|
|
796
|
+
</li></ul></dd>
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
710
812
|
|
|
711
813
|
|
|
712
814
|
|
|
@@ -995,6 +1097,11 @@
|
|
|
995
1097
|
|
|
996
1098
|
|
|
997
1099
|
|
|
1100
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
1101
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1102
|
+
<a class="mapgis-link-name" title="BaseRenderer#type" BaseRenderer.html#type>BaseRenderer#type</a>
|
|
1103
|
+
</li></ul></dd>
|
|
1104
|
+
|
|
998
1105
|
|
|
999
1106
|
|
|
1000
1107
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<p>IGS要素图层,<br>
|
|
39
39
|
目前二维和三维上支持4326(包括4490,4214以及4610),3857以及EPSG支持的自定义坐标系,要素服务会自动读取元信息上的坐标系,不需要用户指定
|
|
40
40
|
<br><br>[ES5引入方式]:<br/>
|
|
41
|
-
|
|
41
|
+
zondy.layer.IGSFeatureLayer() <br/>
|
|
42
42
|
[ES6引入方式]:<br/>
|
|
43
43
|
import { IGSFeatureLayer } from "@mapgis/webclient-common" <br/>
|
|
44
44
|
<br/>
|
|
@@ -765,7 +765,7 @@ if(layer.loadStatus === 'loaded') {<br/>
|
|
|
765
765
|
|
|
766
766
|
|
|
767
767
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
768
|
-
const { IGSFeatureLayer } =
|
|
768
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
769
769
|
// ES6引入方式
|
|
770
770
|
import { IGSFeatureLayer} from "@mapgis/webclient-common"
|
|
771
771
|
// 添加图层
|
|
@@ -779,7 +779,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
779
779
|
|
|
780
780
|
|
|
781
781
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
782
|
-
const { IGSFeatureLayer } =
|
|
782
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
783
783
|
// ES6引入方式
|
|
784
784
|
import { IGSFeatureLayer} from "@mapgis/webclient-common"
|
|
785
785
|
// 添加图层
|
|
@@ -794,7 +794,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
794
794
|
|
|
795
795
|
<pre class="prettyprint"><code><caption><h7 id='IGSFeatureLayer-url'>添加IGS要素图层-在基地址中指定图层id</h7></caption
|
|
796
796
|
// ES5引入方式
|
|
797
|
-
const { IGSFeatureLayer } =
|
|
797
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
798
798
|
// ES6引入方式
|
|
799
799
|
import { IGSFeatureLayer} from "@mapgis/webclient-common"
|
|
800
800
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
@@ -807,7 +807,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
807
807
|
|
|
808
808
|
|
|
809
809
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
810
|
-
const { IGSFeatureLayer } =
|
|
810
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
811
811
|
// ES6引入方式
|
|
812
812
|
import { IGSFeatureLayer} from "@mapgis/webclient-common"
|
|
813
813
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
@@ -828,7 +828,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
828
828
|
|
|
829
829
|
|
|
830
830
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
831
|
-
const { IGSFeatureLayer } =
|
|
831
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
832
832
|
// ES6引入方式
|
|
833
833
|
import { IGSFeatureLayer} from "@mapgis/webclient-common"
|
|
834
834
|
// 在初始化时设置
|
|
@@ -847,7 +847,7 @@ igsFeatureLayer.opacity = 0.5</code></pre>
|
|
|
847
847
|
|
|
848
848
|
|
|
849
849
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
850
|
-
const { IGSFeatureLayer } =
|
|
850
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
851
851
|
// ES6引入方式
|
|
852
852
|
import { IGSFeatureLayer} from "@mapgis/webclient-common"
|
|
853
853
|
// 在初始化时设置
|
|
@@ -873,10 +873,10 @@ map.reorder(igsFeatureLayer, '要移动到的index');</code></pre>
|
|
|
873
873
|
|
|
874
874
|
|
|
875
875
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
876
|
-
const { IGSFeatureLayer } =
|
|
877
|
-
const { UniqueValueRenderer } =
|
|
878
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
879
|
-
const { Color } =
|
|
876
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
877
|
+
const { UniqueValueRenderer } = zondy.renderer
|
|
878
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
879
|
+
const { Color } = zondy
|
|
880
880
|
// ES6引入方式
|
|
881
881
|
import { IGSFeatureLayer,UniqueValueRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
882
882
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
@@ -931,10 +931,10 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
931
931
|
|
|
932
932
|
|
|
933
933
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
934
|
-
const { IGSFeatureLayer } =
|
|
935
|
-
const { ClassBreakRenderer } =
|
|
936
|
-
const { SimpleLineSymbol } =
|
|
937
|
-
const { Color } =
|
|
934
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
935
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
936
|
+
const { SimpleLineSymbol } = zondy.symbol
|
|
937
|
+
const { Color } = zondy
|
|
938
938
|
// ES6引入方式
|
|
939
939
|
import { IGSFeatureLayer,ClassBreakRenderer,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
940
940
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
@@ -1033,10 +1033,10 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
1033
1033
|
|
|
1034
1034
|
|
|
1035
1035
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1036
|
-
const { IGSFeatureLayer } =
|
|
1037
|
-
const { SimpleRenderer } =
|
|
1038
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
1039
|
-
const { Color } =
|
|
1036
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
1037
|
+
const { SimpleRenderer } = zondy.renderer
|
|
1038
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
1039
|
+
const { Color } = zondy
|
|
1040
1040
|
// ES6引入方式
|
|
1041
1041
|
import { IGSFeatureLayer,SimpleRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
1042
1042
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
@@ -1064,7 +1064,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
1064
1064
|
|
|
1065
1065
|
|
|
1066
1066
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1067
|
-
const { IGSFeatureLayer } =
|
|
1067
|
+
const { IGSFeatureLayer } = zondy.layer
|
|
1068
1068
|
// ES6引入方式
|
|
1069
1069
|
import { IGSFeatureLayer } from "@mapgis/webclient-common"
|
|
1070
1070
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
@@ -1079,9 +1079,9 @@ const igsFeatureLayer = new IGSFeatureLayer({
|
|
|
1079
1079
|
|
|
1080
1080
|
|
|
1081
1081
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1082
|
-
const { igsFeatureLayer } =
|
|
1083
|
-
const { LabelClass ,Font} =
|
|
1084
|
-
const { TextSymbol } =
|
|
1082
|
+
const { igsFeatureLayer } = zondy.layer
|
|
1083
|
+
const { LabelClass ,Font} = zondy
|
|
1084
|
+
const { TextSymbol } = zondy.symbol
|
|
1085
1085
|
// ES6引入方式
|
|
1086
1086
|
import { igsFeatureLayer,LabelClass,Font,TextSymbol } from "@mapgis/webclient-common"
|
|
1087
1087
|
// 初始化LabelClass
|
|
@@ -2613,7 +2613,7 @@ const igsFeatureLayer = new igsFeatureLayer({
|
|
|
2613
2613
|
// 服务基地址
|
|
2614
2614
|
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/FeatureServer',
|
|
2615
2615
|
}
|
|
2616
|
-
const igsFeatureLayer = new
|
|
2616
|
+
const igsFeatureLayer = new zondy.layer.IGSFeatureLayer.fromJSON(json)</code></pre>
|
|
2617
2617
|
|
|
2618
2618
|
|
|
2619
2619
|
|
|
@@ -2868,7 +2868,7 @@ const igsFeatureLayer = new Zondy.Layer.IGSFeatureLayer.fromJSON(json)</code></p
|
|
|
2868
2868
|
|
|
2869
2869
|
|
|
2870
2870
|
<pre class="prettyprint"><code>// 初始化图层
|
|
2871
|
-
const igsFeatureLayer = new
|
|
2871
|
+
const igsFeatureLayer = new zondy.layer.IGSFeatureLayer({
|
|
2872
2872
|
// 服务基地址
|
|
2873
2873
|
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/FeatureServer',
|
|
2874
2874
|
});
|