@mapgis/webclient-common 17.2.0 → 17.2.2
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 +21 -3
- package/dist/es5/webclient-common.min.js +5 -5
- package/dist/webclient-common-es6.min.js +6 -6
- 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/ArcGISMapServer.html +10 -10
- package/documention/ArcGISTileLayer.html +5 -5
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseScene.html +7577 -0
- package/documention/BaseServer.html +10 -10
- package/documention/BaseView.html +1 -1
- package/documention/Basemap.html +3 -3
- package/documention/Cesium3DTilesCacheLayer.html +38 -112
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +7 -7
- package/documention/ClassBreakRenderer.html +18 -18
- package/documention/ClusterRenderer.html +2 -2
- package/documention/Collection.html +198 -4
- package/documention/Config.html +4 -4
- package/documention/Extent.html +15 -15
- package/documention/ExtrudeSymbol3DLayer.html +2 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol3DLayer.html +2 -2
- package/documention/Font.html +1 -1
- package/documention/GeoJSONLayer.html +26 -26
- package/documention/Geometry.html +7 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +31 -31
- package/documention/GroupLayer.html +2 -2
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +47 -49
- package/documention/IGSMapImageSubLayer.html +3 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSTileLayer.html +10 -11
- package/documention/IGSVectorTileLayer.html +33 -63
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/ISScene.html +1336 -0
- package/documention/ISSceneLayer.html +2028 -0
- package/documention/ISSceneServer.html +2234 -0
- package/documention/ISSceneSubLayer.html +3356 -0
- package/documention/IconSymbol3DLayer.html +4 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +3 -3
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/LineString.html +10 -10
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +2 -2
- package/documention/M3DModelCacheLayer.html +12 -12
- package/documention/M3DServer.html +11 -11
- package/documention/Map.html +4 -4
- package/documention/MapGISTextSymbol.html +3 -3
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +1 -1
- package/documention/MultiLineString.html +13 -13
- package/documention/MultiPoint.html +10 -10
- package/documention/MultiPolygon.html +9 -9
- package/documention/ObjectSymbol3DLayer.html +4 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/PathSymbol3DLayer.html +2 -2
- package/documention/PictureFillSymbol.html +1 -1
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +11 -11
- package/documention/Point.html +12 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +14 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +8 -8
- package/documention/RandomRenderer.html +1 -1
- package/documention/RankRenderer.html +2 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +11 -11
- package/documention/S3MTilesCacheLayer.html +7726 -0
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +1 -1
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +3 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +9 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchEditor.html +1 -1
- package/documention/SpatialReference.html +1 -1
- package/documention/Symbol.html +1 -1
- package/documention/TerrainCacheLayer.html +1 -1
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +4 -4
- package/documention/TextSymbol3DLayer.html +2 -2
- package/documention/ThemeServer.html +12 -12
- package/documention/TileServer.html +11 -11
- package/documention/UniqueValueRenderer.html +18 -18
- package/documention/VectorTileLayer.html +1 -1
- package/documention/VectorTileServer.html +11 -11
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +24 -24
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +15 -15
- package/documention/WMSServer.html +11 -11
- package/documention/WMTSLayer.html +10 -10
- package/documention/WMTSServer.html +11 -11
- package/documention/WPSServer.html +10 -10
- package/documention/WebTileLayer.html +5 -5
- 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 +344 -1644
- package/documention/index.html +40 -37
- 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/package.json +2 -1
package/documention/Polygon.html
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<p>区几何,由多个环(ring)构成的几何对象,仅支持带洞区和非带洞区,不支持带岛区,即三个圈重叠<br/>
|
|
39
39
|
多边形的第一个环(ring)即外圈,从第二个环开始为内圈,内圈可以重合、相交、自相交,但是不能超过外圈
|
|
40
40
|
<br><br>[ES5引入方式]:<br/>
|
|
41
|
-
|
|
41
|
+
zondy.geometry.Polygon() <br/>
|
|
42
42
|
[ES6引入方式]:<br/>
|
|
43
43
|
import { Polygon } from "@mapgis/webclient-common" <br/>
|
|
44
44
|
<br/></p>
|
|
@@ -165,7 +165,7 @@ import { Polygon } from "@mapgis/webclient-common" <br/>
|
|
|
165
165
|
|
|
166
166
|
<td class="default">
|
|
167
167
|
|
|
168
|
-
new
|
|
168
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
169
169
|
|
|
170
170
|
</td>
|
|
171
171
|
|
|
@@ -267,7 +267,7 @@ import { Polygon } from "@mapgis/webclient-common" <br/>
|
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
270
|
-
const { Polygon } =
|
|
270
|
+
const { Polygon } = zondy.geometry
|
|
271
271
|
// ES6引入方式
|
|
272
272
|
import { Polygon } from "@mapgis/webclient-common"
|
|
273
273
|
new Polygon({
|
|
@@ -288,7 +288,7 @@ new Polygon({
|
|
|
288
288
|
|
|
289
289
|
|
|
290
290
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
291
|
-
const { Polygon } =
|
|
291
|
+
const { Polygon } = zondy.geometry
|
|
292
292
|
// ES6引入方式
|
|
293
293
|
import { Polygon } from "@mapgis/webclient-common"
|
|
294
294
|
new Polygon({
|
|
@@ -320,7 +320,7 @@ new Polygon({
|
|
|
320
320
|
|
|
321
321
|
|
|
322
322
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
323
|
-
const { Polygon } =
|
|
323
|
+
const { Polygon } = zondy.geometry
|
|
324
324
|
// ES6引入方式
|
|
325
325
|
import { Polygon } from "@mapgis/webclient-common"
|
|
326
326
|
new Polygon({
|
|
@@ -1736,7 +1736,7 @@ new Polygon({
|
|
|
1736
1736
|
|
|
1737
1737
|
|
|
1738
1738
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1739
|
-
const { Extent, Polygon } =
|
|
1739
|
+
const { Extent, Polygon } = zondy.geometry
|
|
1740
1740
|
// ES6引入方式
|
|
1741
1741
|
import { Extent, Polygon } from "@mapgis/webclient-common"
|
|
1742
1742
|
const extent = new Extent({
|
|
@@ -1904,7 +1904,7 @@ const polygon = Polygon.fromExtent(extent)</code></pre>
|
|
|
1904
1904
|
|
|
1905
1905
|
|
|
1906
1906
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1907
|
-
const { Polygon } =
|
|
1907
|
+
const { Polygon } = zondy.geometry
|
|
1908
1908
|
// ES6引入方式
|
|
1909
1909
|
import { Polygon } from "@mapgis/webclient-common"
|
|
1910
1910
|
const json = {
|
|
@@ -2104,7 +2104,7 @@ const polygon = new Polygon.fromJSON(json)</code></pre>
|
|
|
2104
2104
|
|
|
2105
2105
|
|
|
2106
2106
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2107
|
-
const { Polygon, Point } =
|
|
2107
|
+
const { Polygon, Point } = zondy.geometry
|
|
2108
2108
|
// ES6引入方式
|
|
2109
2109
|
import { Polygon, Point } from "@mapgis/webclient-common"
|
|
2110
2110
|
const polygon = new Polygon({
|
|
@@ -2447,7 +2447,7 @@ polygon.addRing(ring)</code></pre>
|
|
|
2447
2447
|
|
|
2448
2448
|
|
|
2449
2449
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2450
|
-
const { Polygon, Point } =
|
|
2450
|
+
const { Polygon, Point } = zondy.geometry
|
|
2451
2451
|
// ES6引入方式
|
|
2452
2452
|
import { Polygon, Point } from "@mapgis/webclient-common"
|
|
2453
2453
|
const polygon = new Polygon({
|
|
@@ -3075,7 +3075,7 @@ const isOnPolygon = polygon.contains(point)</code></pre>
|
|
|
3075
3075
|
|
|
3076
3076
|
|
|
3077
3077
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3078
|
-
const { Polygon } =
|
|
3078
|
+
const { Polygon } = zondy.geometry
|
|
3079
3079
|
// ES6引入方式
|
|
3080
3080
|
import { Polygon } from "@mapgis/webclient-common"
|
|
3081
3081
|
const polygon = new Polygon({
|
|
@@ -3466,7 +3466,7 @@ const point = polygon.getPoint(0, 1)</code></pre>
|
|
|
3466
3466
|
|
|
3467
3467
|
|
|
3468
3468
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3469
|
-
const { Polygon, Point } =
|
|
3469
|
+
const { Polygon, Point } = zondy.geometry
|
|
3470
3470
|
// ES6引入方式
|
|
3471
3471
|
import { Polygon, Point } from "@mapgis/webclient-common"
|
|
3472
3472
|
const polygon = new Polygon({
|
|
@@ -4573,7 +4573,7 @@ view.on({
|
|
|
4573
4573
|
|
|
4574
4574
|
|
|
4575
4575
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4576
|
-
const { Polygon } =
|
|
4576
|
+
const { Polygon } = zondy.geometry
|
|
4577
4577
|
// ES6引入方式
|
|
4578
4578
|
import { Polygon } from "@mapgis/webclient-common"
|
|
4579
4579
|
const polygon = new Polygon({
|
|
@@ -4773,7 +4773,7 @@ polygon.removePoint(0, 1)</code></pre>
|
|
|
4773
4773
|
|
|
4774
4774
|
|
|
4775
4775
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4776
|
-
const { Polygon } =
|
|
4776
|
+
const { Polygon } = zondy.geometry
|
|
4777
4777
|
// ES6引入方式
|
|
4778
4778
|
import { Polygon } from "@mapgis/webclient-common"
|
|
4779
4779
|
const polygon = new Polygon({
|
|
@@ -5038,7 +5038,7 @@ polygon.removeRing(1)</code></pre>
|
|
|
5038
5038
|
|
|
5039
5039
|
|
|
5040
5040
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
5041
|
-
const { Polygon, Point } =
|
|
5041
|
+
const { Polygon, Point } = zondy.geometry
|
|
5042
5042
|
// ES6引入方式
|
|
5043
5043
|
import { Polygon, Point } from "@mapgis/webclient-common"
|
|
5044
5044
|
const polygon = new Polygon({
|
|
@@ -206,8 +206,8 @@
|
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
209
|
-
const { Color } =
|
|
210
|
-
const { PolygonSymbol3D, ExtrudeSymbol3DLayer, ColorMaterial } =
|
|
209
|
+
const { Color } = zondy
|
|
210
|
+
const { PolygonSymbol3D, ExtrudeSymbol3DLayer, ColorMaterial } = zondy.symbol
|
|
211
211
|
// ES6引入方式
|
|
212
212
|
import { PolygonSymbol3D, ExtrudeSymbol3DLayer, ColorMaterial, Color } from "@mapgis/webclient-common"
|
|
213
213
|
|
|
@@ -823,17 +823,17 @@
|
|
|
823
823
|
<p class="code-caption"><h7>将3857坐标系的点转为4326坐标系的点</h7></p>
|
|
824
824
|
|
|
825
825
|
|
|
826
|
-
<pre class="prettyprint"><code>const projectedGeometry =
|
|
827
|
-
new
|
|
826
|
+
<pre class="prettyprint"><code>const projectedGeometry = zondy.geometry.Projection.project(
|
|
827
|
+
new zondy.geometry.Extent({
|
|
828
828
|
xmin: 12062959.621822732,
|
|
829
829
|
ymin: 3379793.138124517,
|
|
830
830
|
xmax: 12927637.10614421,
|
|
831
831
|
ymax: 3931626.287996913,
|
|
832
|
-
spatialReference: new
|
|
832
|
+
spatialReference: new zondy.SpatialReference({
|
|
833
833
|
wkid: 3857
|
|
834
834
|
})
|
|
835
835
|
}),
|
|
836
|
-
new
|
|
836
|
+
new zondy.SpatialReference({
|
|
837
837
|
wkid: 4326
|
|
838
838
|
})
|
|
839
839
|
)</code></pre>
|
|
@@ -842,18 +842,18 @@
|
|
|
842
842
|
<p class="code-caption"><h7>将未收录的坐标系的点转为4326坐标系的点</h7></p>
|
|
843
843
|
|
|
844
844
|
|
|
845
|
-
<pre class="prettyprint"><code>const projectedGeometry =
|
|
846
|
-
new
|
|
845
|
+
<pre class="prettyprint"><code>const projectedGeometry = zondy.geometry.Projection.project(
|
|
846
|
+
new zondy.geometry.Extent({
|
|
847
847
|
xmin: -45257.10778559791,
|
|
848
848
|
ymin: 3212885.1836444484,
|
|
849
849
|
xmax: 705989.8953363781,
|
|
850
850
|
ymax: 3691623.86404564,
|
|
851
|
-
spatialReference: new
|
|
851
|
+
spatialReference: new zondy.SpatialReference({
|
|
852
852
|
wkid: 4547,
|
|
853
853
|
wkt: '+proj=tmerc +lat_0=0 +lon_0=114 +k=1 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs'
|
|
854
854
|
})
|
|
855
855
|
}),
|
|
856
|
-
new
|
|
856
|
+
new zondy.SpatialReference({
|
|
857
857
|
wkid: 4326
|
|
858
858
|
})
|
|
859
859
|
)</code></pre>
|
|
@@ -433,8 +433,8 @@
|
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
436
|
-
const { RankRenderer } =
|
|
437
|
-
const { SimpleMarkerSymbol, SimpleLineSymbol } =
|
|
436
|
+
const { RankRenderer } = zondy.renderer
|
|
437
|
+
const { SimpleMarkerSymbol, SimpleLineSymbol } = zondy.symbol
|
|
438
438
|
// ES6引入方式
|
|
439
439
|
import { RankRenderer, SimpleMarkerSymbol, SimpleLineSymbol } from "@mapgis/webclient-common"
|
|
440
440
|
// 初始化等级符号渲染器对象
|