@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
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>多线段几何
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.MultiLineString() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { MultiLineString } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { MultiLineString } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -262,7 +262,7 @@ import { MultiLineString } from "@mapgis/webclient-common" <br/>
|
|
|
262
262
|
|
|
263
263
|
|
|
264
264
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
265
|
-
const { MultiLineString } =
|
|
265
|
+
const { MultiLineString } = zondy.geometry
|
|
266
266
|
// ES6引入方式
|
|
267
267
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
268
268
|
new MultiLineString({
|
|
@@ -283,8 +283,8 @@ new MultiLineString({
|
|
|
283
283
|
|
|
284
284
|
|
|
285
285
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
286
|
-
const { MultiLineString } =
|
|
287
|
-
const { SpatialReference } =
|
|
286
|
+
const { MultiLineString } = zondy.geometry
|
|
287
|
+
const { SpatialReference } = zondy
|
|
288
288
|
// ES6引入方式
|
|
289
289
|
import { MultiLineString, SpatialReference } from "@mapgis/webclient-common"
|
|
290
290
|
new MultiLineString({
|
|
@@ -1555,7 +1555,7 @@ new MultiLineString({
|
|
|
1555
1555
|
|
|
1556
1556
|
|
|
1557
1557
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1558
|
-
const { MultiLineString } =
|
|
1558
|
+
const { MultiLineString } = zondy.geometry
|
|
1559
1559
|
// ES6引入方式
|
|
1560
1560
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
1561
1561
|
const multiLineString = new MultiLineString({
|
|
@@ -1729,7 +1729,7 @@ const newMultiLineString = MultiLineString.clone(multiLineString)</code></pre>
|
|
|
1729
1729
|
|
|
1730
1730
|
|
|
1731
1731
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1732
|
-
const { MultiLineString } =
|
|
1732
|
+
const { MultiLineString } = zondy.geometry
|
|
1733
1733
|
// ES6引入方式
|
|
1734
1734
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
1735
1735
|
const json = {
|
|
@@ -1929,7 +1929,7 @@ const newMultiLineString = MultiLineString.fromJSON(json)</code></pre>
|
|
|
1929
1929
|
|
|
1930
1930
|
|
|
1931
1931
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1932
|
-
const { MultiLineString, Point } =
|
|
1932
|
+
const { MultiLineString, Point } = zondy.geometry
|
|
1933
1933
|
// ES6引入方式
|
|
1934
1934
|
import { MultiLineString, Point } from "@mapgis/webclient-common"
|
|
1935
1935
|
const multiLineString = new MultiLineString({
|
|
@@ -2691,7 +2691,7 @@ multiLineString.addPath(path)</code></pre>
|
|
|
2691
2691
|
|
|
2692
2692
|
|
|
2693
2693
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2694
|
-
const { MultiLineString } =
|
|
2694
|
+
const { MultiLineString } = zondy.geometry
|
|
2695
2695
|
// ES6引入方式
|
|
2696
2696
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
2697
2697
|
const multiLineString = new MultiLineString({
|
|
@@ -3082,7 +3082,7 @@ const point = multiLineString.getPoint(0, 1)</code></pre>
|
|
|
3082
3082
|
|
|
3083
3083
|
|
|
3084
3084
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3085
|
-
const { MultiLineString, Point } =
|
|
3085
|
+
const { MultiLineString, Point } = zondy.geometry
|
|
3086
3086
|
// ES6引入方式
|
|
3087
3087
|
import { MultiLineString, Point } from "@mapgis/webclient-common"
|
|
3088
3088
|
const multiLineString = new MultiLineString({
|
|
@@ -3978,7 +3978,7 @@ view.on({
|
|
|
3978
3978
|
|
|
3979
3979
|
|
|
3980
3980
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3981
|
-
const { MultiLineString } =
|
|
3981
|
+
const { MultiLineString } = zondy.geometry
|
|
3982
3982
|
// ES6引入方式
|
|
3983
3983
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
3984
3984
|
const multiLineString = new MultiLineString({
|
|
@@ -4207,7 +4207,7 @@ multiLineString.removePath(0)</code></pre>
|
|
|
4207
4207
|
|
|
4208
4208
|
|
|
4209
4209
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4210
|
-
const { MultiLineString } =
|
|
4210
|
+
const { MultiLineString } = zondy.geometry
|
|
4211
4211
|
// ES6引入方式
|
|
4212
4212
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
4213
4213
|
const multiLineString = new MultiLineString({
|
|
@@ -4465,7 +4465,7 @@ multiLineString.removePoint(0, 1)</code></pre>
|
|
|
4465
4465
|
|
|
4466
4466
|
|
|
4467
4467
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4468
|
-
const { MultiLineString, Point } =
|
|
4468
|
+
const { MultiLineString, Point } = zondy.geometry
|
|
4469
4469
|
// ES6引入方式
|
|
4470
4470
|
import { MultiLineString, Point } from "@mapgis/webclient-common"
|
|
4471
4471
|
const multiLineString = new MultiLineString({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>多点几何对象
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.MultiPoint() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { MultiPoint } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { MultiPoint } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -260,7 +260,7 @@ import { MultiPoint } from "@mapgis/webclient-common" <br/>
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { MultiPoint } =
|
|
263
|
+
const { MultiPoint } = zondy.geometry
|
|
264
264
|
// ES6引入方式
|
|
265
265
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
266
266
|
new MultiPoint({
|
|
@@ -277,8 +277,8 @@ new MultiPoint({
|
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
280
|
-
const { Point } =
|
|
281
|
-
const { SpatialReference } =
|
|
280
|
+
const { Point } = zondy.geometry
|
|
281
|
+
const { SpatialReference } = zondy
|
|
282
282
|
// ES6引入方式
|
|
283
283
|
import { Point, SpatialReference } from "@mapgis/webclient-common"
|
|
284
284
|
new Point({
|
|
@@ -1358,7 +1358,7 @@ new Point({
|
|
|
1358
1358
|
|
|
1359
1359
|
|
|
1360
1360
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1361
|
-
const { MultiPoint } =
|
|
1361
|
+
const { MultiPoint } = zondy.geometry
|
|
1362
1362
|
// ES6引入方式
|
|
1363
1363
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
1364
1364
|
const json = {
|
|
@@ -1602,7 +1602,7 @@ const multiPoint = MultiPoint.fromJSON(json)</code></pre>
|
|
|
1602
1602
|
|
|
1603
1603
|
|
|
1604
1604
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1605
|
-
const { MultiPoint } =
|
|
1605
|
+
const { MultiPoint } = zondy.geometry
|
|
1606
1606
|
// ES6引入方式
|
|
1607
1607
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
1608
1608
|
const multiPoint = new MultiPoint({
|
|
@@ -2495,7 +2495,7 @@ multiPoint.addPoint([102,2.0])</code></pre>
|
|
|
2495
2495
|
|
|
2496
2496
|
|
|
2497
2497
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2498
|
-
const { MultiPoint } =
|
|
2498
|
+
const { MultiPoint } = zondy.geometry
|
|
2499
2499
|
// ES6引入方式
|
|
2500
2500
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
2501
2501
|
const multiPoint = new MultiPoint({
|
|
@@ -3510,7 +3510,7 @@ view.on({
|
|
|
3510
3510
|
|
|
3511
3511
|
|
|
3512
3512
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3513
|
-
const { MultiPoint } =
|
|
3513
|
+
const { MultiPoint } = zondy.geometry
|
|
3514
3514
|
// ES6引入方式
|
|
3515
3515
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
3516
3516
|
const multiPoint = new MultiPoint({
|
|
@@ -3742,7 +3742,7 @@ const point = multiPoint.removePoint(0)</code></pre>
|
|
|
3742
3742
|
|
|
3743
3743
|
|
|
3744
3744
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3745
|
-
const { MultiPoint } =
|
|
3745
|
+
const { MultiPoint } = zondy.geometry
|
|
3746
3746
|
// ES6引入方式
|
|
3747
3747
|
import { MultiPoint } from "@mapgis/webclient-common"
|
|
3748
3748
|
const multiPoint = new MultiPoint({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>多区几何
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.MultiPolygon() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { MultiPolygon } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { MultiPolygon } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -259,7 +259,7 @@ import { MultiPolygon } from "@mapgis/webclient-common" <br/>
|
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
262
|
-
const { MultiPolygon } =
|
|
262
|
+
const { MultiPolygon } = zondy.geometry
|
|
263
263
|
// ES6引入方式
|
|
264
264
|
import { MultiPolygon } from "@mapgis/webclient-common"
|
|
265
265
|
new MultiPolygon({
|
|
@@ -308,8 +308,8 @@ new MultiPolygon({
|
|
|
308
308
|
|
|
309
309
|
|
|
310
310
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
311
|
-
const { MultiPolygon } =
|
|
312
|
-
const { SpatialReference } =
|
|
311
|
+
const { MultiPolygon } = zondy.geometry
|
|
312
|
+
const { SpatialReference } = zondy.SpatialReference
|
|
313
313
|
// ES6引入方式
|
|
314
314
|
import { MultiPolygon, SpatialReference } from "@mapgis/webclient-common"
|
|
315
315
|
new MultiPolygon({
|
|
@@ -1395,7 +1395,7 @@ new MultiPolygon({
|
|
|
1395
1395
|
|
|
1396
1396
|
|
|
1397
1397
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1398
|
-
const { MultiPolygon } =
|
|
1398
|
+
const { MultiPolygon } = zondy.geometry
|
|
1399
1399
|
// ES6引入方式
|
|
1400
1400
|
import { MultiPolygon } from "@mapgis/webclient-common"
|
|
1401
1401
|
const json = {
|
|
@@ -1640,7 +1640,7 @@ const multiPolygon = new MultiPolygon.fromJSON(json)</code></pre>
|
|
|
1640
1640
|
|
|
1641
1641
|
|
|
1642
1642
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1643
|
-
const { MultiPolygon, Polygon } =
|
|
1643
|
+
const { MultiPolygon, Polygon } = zondy.geometry
|
|
1644
1644
|
// ES6引入方式
|
|
1645
1645
|
import { MultiPolygon, Polygon } from "@mapgis/webclient-common"
|
|
1646
1646
|
const multiPolygon = new MultiPolygon({
|
|
@@ -1982,7 +1982,7 @@ multiPolygon.addPolygon(polygon)</code></pre>
|
|
|
1982
1982
|
|
|
1983
1983
|
|
|
1984
1984
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1985
|
-
const { MultiPolygon, Point } =
|
|
1985
|
+
const { MultiPolygon, Point } = zondy.geometry
|
|
1986
1986
|
// ES6引入方式
|
|
1987
1987
|
import { MultiPolygon, Point } from "@mapgis/webclient-common"
|
|
1988
1988
|
const multiPolygon = new MultiPolygon({
|
|
@@ -3397,7 +3397,7 @@ view.on({
|
|
|
3397
3397
|
|
|
3398
3398
|
|
|
3399
3399
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3400
|
-
const { MultiPolygon } =
|
|
3400
|
+
const { MultiPolygon } = zondy.geometry
|
|
3401
3401
|
// ES6引入方式
|
|
3402
3402
|
import { MultiPolygon } from "@mapgis/webclient-common"
|
|
3403
3403
|
const multiPolygon = new MultiPolygon({
|
|
@@ -553,8 +553,8 @@ ColorMaterial: 纯色材质,当图标的资源是网络gltf资源时,指的
|
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
556
|
-
const { Color } =
|
|
557
|
-
const { ObjectSymbol3DLayer, IconResource, ColorMaterial } =
|
|
556
|
+
const { Color } = zondy
|
|
557
|
+
const { ObjectSymbol3DLayer, IconResource, ColorMaterial } = zondy.symbol
|
|
558
558
|
// ES6引入方式
|
|
559
559
|
import { ObjectSymbol3DLayer, IconResource, ColorMaterial, Color } from "@mapgis/webclient-common"
|
|
560
560
|
|
|
@@ -581,8 +581,8 @@ const symbol = new ObjectSymbol3DLayer({
|
|
|
581
581
|
|
|
582
582
|
|
|
583
583
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
584
|
-
const { Color } =
|
|
585
|
-
const { ObjectSymbol3DLayer, IconResource, ColorMaterial } =
|
|
584
|
+
const { Color } = zondy
|
|
585
|
+
const { ObjectSymbol3DLayer, IconResource, ColorMaterial } = zondy.symbol
|
|
586
586
|
// ES6引入方式
|
|
587
587
|
import { ObjectSymbol3DLayer, IconResource, ColorMaterial, Color } from "@mapgis/webclient-common"
|
|
588
588
|
|
|
@@ -448,8 +448,8 @@ ColorMaterial: 纯色材质,通过设置纯色材质来改变管道的颜色</
|
|
|
448
448
|
|
|
449
449
|
|
|
450
450
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
451
|
-
const { AnchorType, LineCapType, ProfileType } =
|
|
452
|
-
const { PathSymbol3DLayer, ColorMaterial } =
|
|
451
|
+
const { AnchorType, LineCapType, ProfileType } = zondy.enum
|
|
452
|
+
const { PathSymbol3DLayer, ColorMaterial } = zondy.symbol
|
|
453
453
|
// ES6引入方式
|
|
454
454
|
import { AnchorType, LineCapType, ProfileType, PathSymbol3DLayer, ColorMaterial } from "@mapgis/webclient-common"
|
|
455
455
|
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
|
|
472
472
|
|
|
473
473
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
474
|
-
const { PictureFillSymbol } =
|
|
474
|
+
const { PictureFillSymbol } = zondy.symbol
|
|
475
475
|
// ES6引入方式
|
|
476
476
|
import { PictureFillSymbol } from "@mapgis/webclient-common"
|
|
477
477
|
const pictureFillSymbol = new PictureFillSymbol({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>图片Marker符号,支持点几何对象,参考示例:<a href='#new-PictureMarkerSymbol'>[图片Marker样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.PictureMarkerSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { PictureMarkerSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -431,8 +431,8 @@ import { PictureMarkerSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
434
|
-
const { PictureMarkerSymbol } =
|
|
435
|
-
const { Color } =
|
|
434
|
+
const { PictureMarkerSymbol } = zondy.symbol
|
|
435
|
+
const { Color } = zondy
|
|
436
436
|
// ES6引入方式
|
|
437
437
|
import { PictureMarkerSymbol, Color } from "@mapgis/webclient-common"
|
|
438
438
|
const pictureMarkerSymbol = new PictureMarkerSymbol({
|
|
@@ -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({
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
|
|
209
209
|
<pre class="prettyprint"><code>//初始化PoiServer服务对象
|
|
210
210
|
// ES5引入方式
|
|
211
|
-
const { PoiServer } =
|
|
211
|
+
const { PoiServer } = zondy.service
|
|
212
212
|
// ES6引入方式
|
|
213
213
|
import { PoiServer } from "@mapgis/webclient-common"
|
|
214
214
|
const poiServer = new PoiServer({
|
|
@@ -613,7 +613,7 @@ import { PoiServer } from "@mapgis/webclient-common"
|
|
|
613
613
|
|
|
614
614
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
615
615
|
// ES5引入方式
|
|
616
|
-
const { BaseServer } =
|
|
616
|
+
const { BaseServer } = zondy.service
|
|
617
617
|
// ES6引入方式
|
|
618
618
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
619
619
|
let BaseServer = new BaseServer({
|
|
@@ -714,7 +714,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
714
714
|
|
|
715
715
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
716
716
|
// ES5引入方式
|
|
717
|
-
const { BaseServer } =
|
|
717
|
+
const { BaseServer } = zondy.service
|
|
718
718
|
// ES6引入方式
|
|
719
719
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
720
720
|
let BaseServer = new BaseServer({
|
|
@@ -816,7 +816,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
816
816
|
|
|
817
817
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
818
818
|
// ES5引入方式
|
|
819
|
-
const { BaseServer,RequestInterceptor } =
|
|
819
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
820
820
|
// ES6引入方式
|
|
821
821
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
822
822
|
let BaseServer = new BaseServer({
|
|
@@ -925,7 +925,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
925
925
|
<pre class="prettyprint"><code>//设置超时时间
|
|
926
926
|
//初始化AddressServer服务对象
|
|
927
927
|
// ES5引入方式
|
|
928
|
-
const { BaseServer } =
|
|
928
|
+
const { BaseServer } = zondy.service
|
|
929
929
|
// ES6引入方式
|
|
930
930
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
931
931
|
let BaseServer = new BaseServer({
|
|
@@ -1022,7 +1022,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1022
1022
|
|
|
1023
1023
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1024
1024
|
// ES5引入方式
|
|
1025
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1025
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1026
1026
|
// ES6引入方式
|
|
1027
1027
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1028
1028
|
let BaseServer = new BaseServer({
|
|
@@ -1132,8 +1132,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1132
1132
|
|
|
1133
1133
|
<pre class="prettyprint"><code>//设置token值
|
|
1134
1134
|
// ES5引入方式
|
|
1135
|
-
const { BaseServer } =
|
|
1136
|
-
const { TokenAttachType } =
|
|
1135
|
+
const { BaseServer } = zondy.service
|
|
1136
|
+
const { TokenAttachType } = zondy.enum
|
|
1137
1137
|
// ES6引入方式
|
|
1138
1138
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1139
1139
|
let BaseServer = new BaseServer({
|
|
@@ -1234,7 +1234,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1234
1234
|
|
|
1235
1235
|
<pre class="prettyprint"><code>//设置token名
|
|
1236
1236
|
// ES5引入方式
|
|
1237
|
-
const { BaseServer } =
|
|
1237
|
+
const { BaseServer } = zondy.service
|
|
1238
1238
|
// ES6引入方式
|
|
1239
1239
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1240
1240
|
let BaseServer = new BaseServer({
|
|
@@ -1331,7 +1331,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1331
1331
|
|
|
1332
1332
|
<pre class="prettyprint"><code>//设置token值
|
|
1333
1333
|
// ES5引入方式
|
|
1334
|
-
const { BaseServer } =
|
|
1334
|
+
const { BaseServer } = zondy.service
|
|
1335
1335
|
// ES6引入方式
|
|
1336
1336
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1337
1337
|
let BaseServer = new BaseServer({
|
|
@@ -1428,7 +1428,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1428
1428
|
|
|
1429
1429
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1430
1430
|
// ES5引入方式
|
|
1431
|
-
const { BaseServer } =
|
|
1431
|
+
const { BaseServer } = zondy.service
|
|
1432
1432
|
// ES6引入方式
|
|
1433
1433
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1434
1434
|
let BaseServer = new BaseServer({
|
package/documention/Point.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>点几何对象
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.Point() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { Point } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { Point } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -260,7 +260,7 @@ import { Point } from "@mapgis/webclient-common" <br/>
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { Point } =
|
|
263
|
+
const { Point } = zondy.geometry
|
|
264
264
|
// ES6引入方式
|
|
265
265
|
import { Point } from "@mapgis/webclient-common"
|
|
266
266
|
new Point({
|
|
@@ -272,8 +272,8 @@ new Point({
|
|
|
272
272
|
|
|
273
273
|
|
|
274
274
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
275
|
-
const { Point } =
|
|
276
|
-
const { SpatialReference } =
|
|
275
|
+
const { Point } = zondy.geometry
|
|
276
|
+
const { SpatialReference } = zondy
|
|
277
277
|
// ES6引入方式
|
|
278
278
|
import { Point, SpatialReference } from "@mapgis/webclient-common"
|
|
279
279
|
new Point({
|
|
@@ -1430,7 +1430,7 @@ new Point({
|
|
|
1430
1430
|
|
|
1431
1431
|
|
|
1432
1432
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1433
|
-
const { Point } =
|
|
1433
|
+
const { Point } = zondy.geometry
|
|
1434
1434
|
// ES6引入方式
|
|
1435
1435
|
import { Point } from "@mapgis/webclient-common"
|
|
1436
1436
|
const json = {
|
|
@@ -1628,7 +1628,7 @@ const point = new Point.fromJSON(json)</code></pre>
|
|
|
1628
1628
|
|
|
1629
1629
|
|
|
1630
1630
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1631
|
-
const { Point } =
|
|
1631
|
+
const { Point } = zondy.geometry
|
|
1632
1632
|
// ES6引入方式
|
|
1633
1633
|
import { Point } from "@mapgis/webclient-common"
|
|
1634
1634
|
const point = new Point({
|
|
@@ -1945,7 +1945,7 @@ const coordinates = Point.toCoordinates(point)</code></pre>
|
|
|
1945
1945
|
|
|
1946
1946
|
|
|
1947
1947
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1948
|
-
const { Point } =
|
|
1948
|
+
const { Point } = zondy.geometry
|
|
1949
1949
|
// ES6引入方式
|
|
1950
1950
|
import { Point } from "@mapgis/webclient-common"
|
|
1951
1951
|
const point1 = new Point({
|
|
@@ -2146,7 +2146,7 @@ point1.copy(point2)</code></pre>
|
|
|
2146
2146
|
|
|
2147
2147
|
|
|
2148
2148
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2149
|
-
const { Point } =
|
|
2149
|
+
const { Point } = zondy.geometry
|
|
2150
2150
|
// ES6引入方式
|
|
2151
2151
|
import { Point } from "@mapgis/webclient-common"
|
|
2152
2152
|
const point1 = new Point({
|
|
@@ -2355,7 +2355,7 @@ const distance = point1.distance(point2)</code></pre>
|
|
|
2355
2355
|
|
|
2356
2356
|
|
|
2357
2357
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2358
|
-
const { Point } =
|
|
2358
|
+
const { Point } = zondy.geometry
|
|
2359
2359
|
// ES6引入方式
|
|
2360
2360
|
import { Point } from "@mapgis/webclient-common"
|
|
2361
2361
|
const point1 = new Point({
|
|
@@ -3010,7 +3010,7 @@ const equal = point1.equals(point2)</code></pre>
|
|
|
3010
3010
|
|
|
3011
3011
|
|
|
3012
3012
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3013
|
-
const { Point } =
|
|
3013
|
+
const { Point } = zondy.geometry
|
|
3014
3014
|
// ES6引入方式
|
|
3015
3015
|
import { Point } from "@mapgis/webclient-common"
|
|
3016
3016
|
const point1 = new Point({
|
|
@@ -4199,7 +4199,7 @@ view.on({
|
|
|
4199
4199
|
|
|
4200
4200
|
|
|
4201
4201
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4202
|
-
const { Point } =
|
|
4202
|
+
const { Point } = zondy.geometry
|
|
4203
4203
|
// ES6引入方式
|
|
4204
4204
|
import { Point } from "@mapgis/webclient-common"
|
|
4205
4205
|
const point1 = new Point({
|
|
@@ -260,8 +260,8 @@
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { Color } =
|
|
264
|
-
const { PointSymbol3D, IconSymbol3DLayer, IconResource } =
|
|
263
|
+
const { Color } = zondy
|
|
264
|
+
const { PointSymbol3D, IconSymbol3DLayer, IconResource } = zondy.symbol
|
|
265
265
|
// ES6引入方式
|
|
266
266
|
import { PointSymbol3D, IconSymbol3DLayer, IconResource, Color } from "@mapgis/webclient-common"
|
|
267
267
|
|
|
@@ -273,7 +273,7 @@ const symbol = new PointSymbol3D({
|
|
|
273
273
|
new IconSymbol3DLayer({
|
|
274
274
|
// 设置资源地址
|
|
275
275
|
resource: new IconResource({
|
|
276
|
-
href: 'http://
|
|
276
|
+
href: 'http://webclient.smaryun.com:8200/NoneSpatialData/image/icon.png'
|
|
277
277
|
}),
|
|
278
278
|
// 设置图标大小,单位像素
|
|
279
279
|
size: 50
|