@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>IGS地图图片图层,<br/>
|
|
39
39
|
支持IGS1.0和2.0两个服务版本,支持自定义坐标系,当IGS版本是1.0时,需要手动设置图层坐标系,当IGS版本是2.0时,会自动读取元信息上的坐标系,不需要用户指定<br/>
|
|
40
40
|
<br><br>[ES5引入方式]:<br/>
|
|
41
|
-
|
|
41
|
+
zondy.layer.IGSMapImageLayer() <br/>
|
|
42
42
|
[ES6引入方式]:<br/>
|
|
43
43
|
import { IGSMapImageLayer } from "@mapgis/webclient-common" <br/>
|
|
44
44
|
<br/>
|
|
@@ -859,8 +859,8 @@ IGS2.0的服务为:http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}
|
|
|
859
859
|
|
|
860
860
|
|
|
861
861
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
862
|
-
const { SpatialReference } =
|
|
863
|
-
const { IGSMapImageLayer } =
|
|
862
|
+
const { SpatialReference } = zondy
|
|
863
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
864
864
|
// ES6引入方式
|
|
865
865
|
import { SpatialReference,IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
866
866
|
// 添加图层
|
|
@@ -878,7 +878,7 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
878
878
|
|
|
879
879
|
|
|
880
880
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
881
|
-
const { IGSMapImageLayer } =
|
|
881
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
882
882
|
// ES6引入方式
|
|
883
883
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
884
884
|
// 添加图层
|
|
@@ -892,8 +892,8 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
892
892
|
|
|
893
893
|
|
|
894
894
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
895
|
-
const { SpatialReference} =
|
|
896
|
-
const { IGSMapImageLayer } =
|
|
895
|
+
const { SpatialReference} = zondy
|
|
896
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
897
897
|
// ES6引入方式
|
|
898
898
|
import { SpatialReference,IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
899
899
|
// 添加图层
|
|
@@ -912,7 +912,7 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
912
912
|
|
|
913
913
|
|
|
914
914
|
<pre class="prettyprint"><code> // ES5引入方式
|
|
915
|
-
const { IGSMapImageLayer } =
|
|
915
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
916
916
|
// ES6引入方式
|
|
917
917
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
918
918
|
// 添加图层
|
|
@@ -930,7 +930,7 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
930
930
|
|
|
931
931
|
|
|
932
932
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
933
|
-
const { IGSMapImageLayer } =
|
|
933
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
934
934
|
// ES6引入方式
|
|
935
935
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
936
936
|
// 添加图层
|
|
@@ -946,7 +946,7 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
946
946
|
|
|
947
947
|
|
|
948
948
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
949
|
-
const { IGSMapImageLayer } =
|
|
949
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
950
950
|
// ES6引入方式
|
|
951
951
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
952
952
|
// 添加图层
|
|
@@ -976,7 +976,7 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
976
976
|
|
|
977
977
|
|
|
978
978
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
979
|
-
const { IGSMapImageLayer } =
|
|
979
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
980
980
|
// ES6引入方式
|
|
981
981
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
982
982
|
// 添加图层
|
|
@@ -996,7 +996,7 @@ igsMapImageLayer.setSubLayer({
|
|
|
996
996
|
|
|
997
997
|
|
|
998
998
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
999
|
-
const { IGSMapImageLayer } =
|
|
999
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1000
1000
|
// ES6引入方式
|
|
1001
1001
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
1002
1002
|
// 添加图层
|
|
@@ -1014,7 +1014,7 @@ subLayer.visible = false</code></pre>
|
|
|
1014
1014
|
|
|
1015
1015
|
|
|
1016
1016
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1017
|
-
const { IGSMapImageLayer } =
|
|
1017
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1018
1018
|
// ES6引入方式
|
|
1019
1019
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
1020
1020
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
@@ -1032,10 +1032,10 @@ subLayer.index = 2</code></pre>
|
|
|
1032
1032
|
|
|
1033
1033
|
|
|
1034
1034
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1035
|
-
const { IGSMapImageLayer } =
|
|
1036
|
-
const { UniqueValueRenderer } =
|
|
1037
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
1038
|
-
const { Color } =
|
|
1035
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1036
|
+
const { UniqueValueRenderer } = zondy.renderer
|
|
1037
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
1038
|
+
const { Color } = zondy
|
|
1039
1039
|
// ES6引入方式
|
|
1040
1040
|
import { IGSMapImageLayer,UniqueValueRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
1041
1041
|
igsMapImageLayer = new IGSMapImageLayer({
|
|
@@ -1097,10 +1097,10 @@ igsMapImageLayer = new IGSMapImageLayer({
|
|
|
1097
1097
|
|
|
1098
1098
|
|
|
1099
1099
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1100
|
-
const { IGSMapImageLayer } =
|
|
1101
|
-
const { ClassBreakRenderer } =
|
|
1102
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
1103
|
-
const { Color } =
|
|
1100
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1101
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
1102
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
1103
|
+
const { Color } = zondy
|
|
1104
1104
|
// ES6引入方式
|
|
1105
1105
|
import { IGSMapImageLayer,ClassBreakRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
1106
1106
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
@@ -1156,13 +1156,13 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
1156
1156
|
|
|
1157
1157
|
|
|
1158
1158
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1159
|
-
const { IGSMapImageLayer } =
|
|
1160
|
-
const { ClassBreakRenderer } =
|
|
1161
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
1162
|
-
const { Color } =
|
|
1159
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1160
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
1161
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
1162
|
+
const { Color } = zondy
|
|
1163
1163
|
// ES6引入方式
|
|
1164
1164
|
import { IGSMapImageLayer,ClassBreakRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
1165
|
-
const igsMapImageLayer = new
|
|
1165
|
+
const igsMapImageLayer = new zondy.layer.IGSMapImageLayer({
|
|
1166
1166
|
// 服务基地址
|
|
1167
1167
|
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/MapServer'
|
|
1168
1168
|
});
|
|
@@ -1171,17 +1171,17 @@ igsMapImageLayer.setSubLayer({
|
|
|
1171
1171
|
// 子图层id
|
|
1172
1172
|
id: '子图层id',
|
|
1173
1173
|
// 专题图参数
|
|
1174
|
-
renderer: new
|
|
1174
|
+
renderer: new zondy.renderer.ClassBreakRenderer({
|
|
1175
1175
|
//字段名
|
|
1176
1176
|
field: '你的字段名',
|
|
1177
1177
|
// 指定默认样式,不在专题图指定范围内的会采用该样式,可不设置
|
|
1178
|
-
defaultSymbol: new
|
|
1178
|
+
defaultSymbol: new zondy.symbol.SimpleFillSymbol({
|
|
1179
1179
|
// 填充颜色
|
|
1180
1180
|
color: 'rgba(222,1,252,1)',
|
|
1181
1181
|
// 线符号样式
|
|
1182
|
-
outline: new
|
|
1182
|
+
outline: new zondy.symbol.SimpleLineSymbol({
|
|
1183
1183
|
//线符号颜色
|
|
1184
|
-
color: new
|
|
1184
|
+
color: new zondy.Color(255, 1, 0, 1),
|
|
1185
1185
|
//线宽
|
|
1186
1186
|
width: 1
|
|
1187
1187
|
})
|
|
@@ -1193,13 +1193,13 @@ igsMapImageLayer.setSubLayer({
|
|
|
1193
1193
|
// 最小范围
|
|
1194
1194
|
minValue: "最小范围",
|
|
1195
1195
|
//匹配到该值后的样式
|
|
1196
|
-
symbol: new
|
|
1196
|
+
symbol: new zondy.symbol.SimpleFillSymbol({
|
|
1197
1197
|
// 填充颜色
|
|
1198
1198
|
color: 'rgba(1,1,252,1)',
|
|
1199
1199
|
// 线符号样式
|
|
1200
|
-
outline: new
|
|
1200
|
+
outline: new zondy.symbol.SimpleLineSymbol({
|
|
1201
1201
|
//线符号颜色
|
|
1202
|
-
color: new
|
|
1202
|
+
color: new zondy.Color(255, 1, 0, 1),
|
|
1203
1203
|
//线宽
|
|
1204
1204
|
width: 1
|
|
1205
1205
|
})
|
|
@@ -1213,10 +1213,10 @@ igsMapImageLayer.setSubLayer({
|
|
|
1213
1213
|
|
|
1214
1214
|
|
|
1215
1215
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1216
|
-
const { IGSMapImageLayer } =
|
|
1217
|
-
const { ClassBreakRenderer } =
|
|
1218
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
1219
|
-
const { Color } =
|
|
1216
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1217
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
1218
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
1219
|
+
const { Color } = zondy
|
|
1220
1220
|
// ES6引入方式
|
|
1221
1221
|
import { IGSMapImageLayer,ClassBreakRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
1222
1222
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
@@ -1267,7 +1267,7 @@ subLayer.renderer = new ClassBreakRenderer({
|
|
|
1267
1267
|
|
|
1268
1268
|
|
|
1269
1269
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1270
|
-
const { IGSMapImageLayer } =
|
|
1270
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1271
1271
|
// ES6引入方式
|
|
1272
1272
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
1273
1273
|
// 初始化时设置
|
|
@@ -1289,7 +1289,7 @@ igsMapImageLayer.on('layerview-created', function (result) {
|
|
|
1289
1289
|
|
|
1290
1290
|
|
|
1291
1291
|
<pre class="prettyprint"><code>/ ES5引入方式
|
|
1292
|
-
const { IGSMapImageLayer } =
|
|
1292
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1293
1293
|
// ES6引入方式
|
|
1294
1294
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
1295
1295
|
// 初始化时设置
|
|
@@ -1317,7 +1317,7 @@ igsMapImageLayer.on('layerview-created', function (result) {
|
|
|
1317
1317
|
|
|
1318
1318
|
|
|
1319
1319
|
<pre class="prettyprint"><code>/ ES5引入方式
|
|
1320
|
-
const { IGSMapImageLayer } =
|
|
1320
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
1321
1321
|
// ES6引入方式
|
|
1322
1322
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
1323
1323
|
// 初始化时设置
|
|
@@ -1334,8 +1334,8 @@ const igsMapImageLayer = new IGSMapImageLayer({
|
|
|
1334
1334
|
|
|
1335
1335
|
<pre class="prettyprint"><code>// 初始化图层管理容器
|
|
1336
1336
|
/ ES5引入方式
|
|
1337
|
-
const { SpatialReference} =
|
|
1338
|
-
const { IGSMapImageLayer} =
|
|
1337
|
+
const { SpatialReference} = zondy
|
|
1338
|
+
const { IGSMapImageLayer} = zondy.layer
|
|
1339
1339
|
// ES6引入方式
|
|
1340
1340
|
import { SpatialReference, IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
1341
1341
|
const arcgisMapImageLayer = new IGSMapImageLayer({
|
|
@@ -3726,11 +3726,11 @@ map.reorder(igsMapImageLayer, '要移动到的index');</code></pre>
|
|
|
3726
3726
|
|
|
3727
3727
|
|
|
3728
3728
|
<pre class="prettyprint"><code>// 添加图层
|
|
3729
|
-
const igsMapImageLayer = new
|
|
3729
|
+
const igsMapImageLayer = new zondy.layer.IGSMapImageLayer({
|
|
3730
3730
|
// 服务基地址
|
|
3731
3731
|
url: 'http://{ip}:6163/igs/rest/mrms/docs/{serviceName}'
|
|
3732
3732
|
});
|
|
3733
|
-
const newLayer =
|
|
3733
|
+
const newLayer = zondy.layer.IGSMapImageLayer.clone(igsMapImageLayer)</code></pre>
|
|
3734
3734
|
|
|
3735
3735
|
|
|
3736
3736
|
|
|
@@ -4297,7 +4297,7 @@ const newLayer = Zondy.Layer.IGSMapImageLayer.clone(igsMapImageLayer)</code></pr
|
|
|
4297
4297
|
|
|
4298
4298
|
<pre class="prettyprint"><code>igsMapImageLayer.fetchImage({
|
|
4299
4299
|
// 你的范围
|
|
4300
|
-
extent: new
|
|
4300
|
+
extent: new zondy.geometry.Extent(),
|
|
4301
4301
|
// 图片宽度
|
|
4302
4302
|
width: 256,
|
|
4303
4303
|
// 图片高度
|
|
@@ -4867,7 +4867,7 @@ const newLayer = Zondy.Layer.IGSMapImageLayer.clone(igsMapImageLayer)</code></pr
|
|
|
4867
4867
|
|
|
4868
4868
|
<pre class="prettyprint"><code>const url = igsMapImageLayer.getImageUrl({
|
|
4869
4869
|
// 你的范围
|
|
4870
|
-
extent: new
|
|
4870
|
+
extent: new zondy.geometry.Extent(),
|
|
4871
4871
|
// 图片宽度
|
|
4872
4872
|
width: 256,
|
|
4873
4873
|
// 图片高度
|
|
@@ -4973,7 +4973,7 @@ const newLayer = Zondy.Layer.IGSMapImageLayer.clone(igsMapImageLayer)</code></pr
|
|
|
4973
4973
|
|
|
4974
4974
|
|
|
4975
4975
|
<pre class="prettyprint"><code>// 初始化图层
|
|
4976
|
-
const igsMapImageLayer = new
|
|
4976
|
+
const igsMapImageLayer = new zondy.layer.IGSMapImageLayer({
|
|
4977
4977
|
// 服务基地址
|
|
4978
4978
|
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/MapServer',
|
|
4979
4979
|
});
|
|
@@ -463,10 +463,10 @@
|
|
|
463
463
|
|
|
464
464
|
|
|
465
465
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
466
|
-
const { Map
|
|
467
|
-
const { IGSMapImageLayer } =
|
|
466
|
+
const { Map } = zondy
|
|
467
|
+
const { IGSMapImageLayer } = zondy.layer
|
|
468
468
|
// ES6引入方式
|
|
469
|
-
import { Map,
|
|
469
|
+
import { Map, IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
470
470
|
// 初始化地图图片图层
|
|
471
471
|
const igsMapImageLayer = new IGSMapImageLayer({
|
|
472
472
|
url: '服务基地址',
|
|
@@ -546,6 +546,42 @@ map.add(igsMapImageLayer);</code></pre>
|
|
|
546
546
|
<td class="name"><code><p>要素过滤参数,类似sql语句</p></code></td>
|
|
547
547
|
</tr>
|
|
548
548
|
|
|
549
|
+
<tr class="deep-level-0">
|
|
550
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
551
|
+
<td class="name">
|
|
552
|
+
<code>
|
|
553
|
+
|
|
554
|
+
<span class="param-type">
|
|
555
|
+
|
|
556
|
+
Object
|
|
557
|
+
|
|
558
|
+
</span>
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
</code>
|
|
563
|
+
</td>
|
|
564
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
565
|
+
</tr>
|
|
566
|
+
|
|
567
|
+
<tr class="deep-level-0">
|
|
568
|
+
<td class="name"><code><a href="#extendProps">extendProps</a></code></td>
|
|
569
|
+
<td class="name">
|
|
570
|
+
<code>
|
|
571
|
+
|
|
572
|
+
<span class="param-type">
|
|
573
|
+
|
|
574
|
+
Object
|
|
575
|
+
|
|
576
|
+
</span>
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
</code>
|
|
581
|
+
</td>
|
|
582
|
+
<td class="name"><code><p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
583
|
+
</tr>
|
|
584
|
+
|
|
549
585
|
<tr class="deep-level-0">
|
|
550
586
|
<td class="name"><code><a href="#id">id</a></code></td>
|
|
551
587
|
<td class="name">
|
|
@@ -600,6 +636,24 @@ map.add(igsMapImageLayer);</code></pre>
|
|
|
600
636
|
<td class="name"><code><p>渲染样式对象</p></code></td>
|
|
601
637
|
</tr>
|
|
602
638
|
|
|
639
|
+
<tr class="deep-level-0">
|
|
640
|
+
<td class="name"><code><a href="#spatialReference">spatialReference</a></code></td>
|
|
641
|
+
<td class="name">
|
|
642
|
+
<code>
|
|
643
|
+
|
|
644
|
+
<span class="param-type">
|
|
645
|
+
|
|
646
|
+
<a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
|
|
647
|
+
|
|
648
|
+
</span>
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
</code>
|
|
653
|
+
</td>
|
|
654
|
+
<td class="name"><code><p>子图层空间参考系</p></code></td>
|
|
655
|
+
</tr>
|
|
656
|
+
|
|
603
657
|
<tr class="deep-level-0">
|
|
604
658
|
<td class="name"><code><a href="#sublayers">sublayers</a></code></td>
|
|
605
659
|
<td class="name">
|
|
@@ -719,6 +773,176 @@ map.add(igsMapImageLayer);</code></pre>
|
|
|
719
773
|
|
|
720
774
|
|
|
721
775
|
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
</dl>
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
</div>
|
|
791
|
+
|
|
792
|
+
<div class="member">
|
|
793
|
+
|
|
794
|
+
<span class="method-parameter is-pulled-right">
|
|
795
|
+
<label>类型:</label>
|
|
796
|
+
|
|
797
|
+
<span class="param-type">
|
|
798
|
+
|
|
799
|
+
Object
|
|
800
|
+
|
|
801
|
+
</span>
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
</span>
|
|
806
|
+
|
|
807
|
+
<h4 class="name" id="extendOptions">
|
|
808
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
809
|
+
|
|
810
|
+
<span class="code-name">
|
|
811
|
+
extendOptions
|
|
812
|
+
</span>
|
|
813
|
+
|
|
814
|
+
</h4>
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
<div class="description">
|
|
820
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
821
|
+
</div>
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
<dl class="details">
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
835
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
836
|
+
<a goto="extendOptions" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendOptions" SubLayer.html#extendOptions>SubLayer#extendOptions</a>
|
|
837
|
+
</li></ul></dd>
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
<dt class="tag-default">Default Value:</dt>
|
|
858
|
+
<dd class="tag-default"><ul class="dummy">
|
|
859
|
+
<li>{}</li>
|
|
860
|
+
</ul></dd>
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
</dl>
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
</div>
|
|
876
|
+
|
|
877
|
+
<div class="member">
|
|
878
|
+
|
|
879
|
+
<span class="method-parameter is-pulled-right">
|
|
880
|
+
<label>类型:</label>
|
|
881
|
+
|
|
882
|
+
<span class="param-type">
|
|
883
|
+
|
|
884
|
+
Object
|
|
885
|
+
|
|
886
|
+
</span>
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
</span>
|
|
891
|
+
|
|
892
|
+
<h4 class="name" id="extendProps">
|
|
893
|
+
<a class="href-link" href="#extendProps">#</a>
|
|
894
|
+
|
|
895
|
+
<span class="code-name">
|
|
896
|
+
extendProps
|
|
897
|
+
</span>
|
|
898
|
+
|
|
899
|
+
</h4>
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
<div class="description">
|
|
905
|
+
<p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
906
|
+
</div>
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
<dl class="details">
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
920
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
921
|
+
<a goto="extendProps" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendProps" SubLayer.html#extendProps>SubLayer#extendProps</a>
|
|
922
|
+
</li></ul></dd>
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
<dt class="tag-default">Default Value:</dt>
|
|
943
|
+
<dd class="tag-default"><ul class="dummy">
|
|
944
|
+
<li>{}</li>
|
|
945
|
+
</ul></dd>
|
|
722
946
|
|
|
723
947
|
|
|
724
948
|
|
|
@@ -955,6 +1179,86 @@ map.add(igsMapImageLayer);</code></pre>
|
|
|
955
1179
|
|
|
956
1180
|
|
|
957
1181
|
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
</dl>
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
</div>
|
|
1200
|
+
|
|
1201
|
+
<div class="member">
|
|
1202
|
+
|
|
1203
|
+
<span class="method-parameter is-pulled-right">
|
|
1204
|
+
<label>类型:</label>
|
|
1205
|
+
|
|
1206
|
+
<span class="param-type">
|
|
1207
|
+
|
|
1208
|
+
<a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
|
|
1209
|
+
|
|
1210
|
+
</span>
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
</span>
|
|
1215
|
+
|
|
1216
|
+
<h4 class="name" id="spatialReference">
|
|
1217
|
+
<a class="href-link" href="#spatialReference">#</a>
|
|
1218
|
+
|
|
1219
|
+
<span class="code-name">
|
|
1220
|
+
spatialReference
|
|
1221
|
+
</span>
|
|
1222
|
+
|
|
1223
|
+
</h4>
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
<div class="description">
|
|
1229
|
+
<p>子图层空间参考系</p>
|
|
1230
|
+
</div>
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
<dl class="details">
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
1246
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1247
|
+
<a class="mapgis-link-name" title="SubLayer#spatialReference" SubLayer.html#spatialReference>SubLayer#spatialReference</a>
|
|
1248
|
+
</li></ul></dd>
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
958
1262
|
|
|
959
1263
|
|
|
960
1264
|
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
251
|
-
const { IGSSceneLayer } =
|
|
251
|
+
const { IGSSceneLayer } = zondy.layer
|
|
252
252
|
// ES6引入方式
|
|
253
253
|
import { IGSSceneLayer } from "@mapgis/webclient-common"
|
|
254
254
|
const layer = new IGSSceneLayer({
|
|
@@ -274,10 +274,10 @@ const layer = new IGSSceneLayer({
|
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
277
|
-
const { IGSSceneLayer } =
|
|
278
|
-
const { UniqueValueRenderer } =
|
|
279
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
280
|
-
const { Color } =
|
|
277
|
+
const { IGSSceneLayer } = zondy.layer
|
|
278
|
+
const { UniqueValueRenderer } = zondy.renderer
|
|
279
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
280
|
+
const { Color } = zondy
|
|
281
281
|
// ES6引入方式
|
|
282
282
|
import { IGSSceneLayer,UniqueValueRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
283
283
|
// 构造单值渲染器
|
|
@@ -334,10 +334,10 @@ const layer = new IGSSceneLayer({
|
|
|
334
334
|
|
|
335
335
|
|
|
336
336
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
337
|
-
const { IGSSceneLayer } =
|
|
338
|
-
const { ClassBreakRenderer } =
|
|
339
|
-
const { SimpleFillSymbol } =
|
|
340
|
-
const { Color } =
|
|
337
|
+
const { IGSSceneLayer } = zondy.layer
|
|
338
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
339
|
+
const { SimpleFillSymbol } = zondy.symbol
|
|
340
|
+
const { Color } = zondy
|
|
341
341
|
// ES6引入方式
|
|
342
342
|
import { IGSSceneLayer,ClassBreakRenderer,SimpleFillSymbol,Color } from "@mapgis/webclient-common"
|
|
343
343
|
// 构造分段渲染器
|
|
@@ -398,7 +398,7 @@ const layer = new IGSSceneLayer({
|
|
|
398
398
|
|
|
399
399
|
|
|
400
400
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
401
|
-
const { IGSSceneLayer } =
|
|
401
|
+
const { IGSSceneLayer } = zondy.layer
|
|
402
402
|
// ES6引入方式
|
|
403
403
|
import { IGSSceneLayer } from "@mapgis/webclient-common"
|
|
404
404
|
// 构造Cesium原生渲染器
|
|
@@ -456,7 +456,7 @@ const layer = new IGSSceneLayer({
|
|
|
456
456
|
|
|
457
457
|
|
|
458
458
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
459
|
-
const { IGSSceneLayer } =
|
|
459
|
+
const { IGSSceneLayer } = zondy.layer
|
|
460
460
|
// ES6引入方式
|
|
461
461
|
import { IGSSceneLayer } from "@mapgis/webclient-common"
|
|
462
462
|
// 构造Cesium原生渲染器
|