@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
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
|
|
167
167
|
<pre class="prettyprint"><code>//初始化MapServer服务对象
|
|
168
168
|
// ES5引入方式
|
|
169
|
-
const { MapServer } =
|
|
169
|
+
const { MapServer } = zondy.service
|
|
170
170
|
// ES6引入方式
|
|
171
171
|
import { MapServer } from "@mapgis/webclient-common"
|
|
172
172
|
const mapServer = new MapServer({
|
|
@@ -571,7 +571,7 @@ const mapServer = new MapServer({
|
|
|
571
571
|
|
|
572
572
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
573
573
|
// ES5引入方式
|
|
574
|
-
const { BaseServer } =
|
|
574
|
+
const { BaseServer } = zondy.service
|
|
575
575
|
// ES6引入方式
|
|
576
576
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
577
577
|
let BaseServer = new BaseServer({
|
|
@@ -672,7 +672,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
672
672
|
|
|
673
673
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
674
674
|
// ES5引入方式
|
|
675
|
-
const { BaseServer } =
|
|
675
|
+
const { BaseServer } = zondy.service
|
|
676
676
|
// ES6引入方式
|
|
677
677
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
678
678
|
let BaseServer = new BaseServer({
|
|
@@ -774,7 +774,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
774
774
|
|
|
775
775
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
776
776
|
// ES5引入方式
|
|
777
|
-
const { BaseServer,RequestInterceptor } =
|
|
777
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
778
778
|
// ES6引入方式
|
|
779
779
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
780
780
|
let BaseServer = new BaseServer({
|
|
@@ -883,7 +883,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
883
883
|
<pre class="prettyprint"><code>//设置超时时间
|
|
884
884
|
//初始化AddressServer服务对象
|
|
885
885
|
// ES5引入方式
|
|
886
|
-
const { BaseServer } =
|
|
886
|
+
const { BaseServer } = zondy.service
|
|
887
887
|
// ES6引入方式
|
|
888
888
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
889
889
|
let BaseServer = new BaseServer({
|
|
@@ -980,7 +980,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
980
980
|
|
|
981
981
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
982
982
|
// ES5引入方式
|
|
983
|
-
const { BaseServer,ResponseInterceptor } =
|
|
983
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
984
984
|
// ES6引入方式
|
|
985
985
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
986
986
|
let BaseServer = new BaseServer({
|
|
@@ -1090,8 +1090,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1090
1090
|
|
|
1091
1091
|
<pre class="prettyprint"><code>//设置token值
|
|
1092
1092
|
// ES5引入方式
|
|
1093
|
-
const { BaseServer } =
|
|
1094
|
-
const { TokenAttachType } =
|
|
1093
|
+
const { BaseServer } = zondy.service
|
|
1094
|
+
const { TokenAttachType } = zondy.enum
|
|
1095
1095
|
// ES6引入方式
|
|
1096
1096
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1097
1097
|
let BaseServer = new BaseServer({
|
|
@@ -1192,7 +1192,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1192
1192
|
|
|
1193
1193
|
<pre class="prettyprint"><code>//设置token名
|
|
1194
1194
|
// ES5引入方式
|
|
1195
|
-
const { BaseServer } =
|
|
1195
|
+
const { BaseServer } = zondy.service
|
|
1196
1196
|
// ES6引入方式
|
|
1197
1197
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1198
1198
|
let BaseServer = new BaseServer({
|
|
@@ -1289,7 +1289,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1289
1289
|
|
|
1290
1290
|
<pre class="prettyprint"><code>//设置token值
|
|
1291
1291
|
// ES5引入方式
|
|
1292
|
-
const { BaseServer } =
|
|
1292
|
+
const { BaseServer } = zondy.service
|
|
1293
1293
|
// ES6引入方式
|
|
1294
1294
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1295
1295
|
let BaseServer = new BaseServer({
|
|
@@ -1386,7 +1386,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1386
1386
|
|
|
1387
1387
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1388
1388
|
// ES5引入方式
|
|
1389
|
-
const { BaseServer } =
|
|
1389
|
+
const { BaseServer } = zondy.service
|
|
1390
1390
|
// ES6引入方式
|
|
1391
1391
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1392
1392
|
let BaseServer = new BaseServer({
|
|
@@ -4194,7 +4194,7 @@ mapServer.getLegend({
|
|
|
4194
4194
|
<pre class="prettyprint"><code>//通过where语句进行查询
|
|
4195
4195
|
//回调方式
|
|
4196
4196
|
// ES5引入方式
|
|
4197
|
-
const { Point } =
|
|
4197
|
+
const { Point } = zondy.geometry
|
|
4198
4198
|
// ES6引入方式
|
|
4199
4199
|
import { Point } from "@mapgis/webclient-common"
|
|
4200
4200
|
mapServer.queryFeatures({
|
|
@@ -4835,8 +4835,8 @@ mapServer.queryFeatures({
|
|
|
4835
4835
|
|
|
4836
4836
|
<pre class="prettyprint"><code>//回调方式
|
|
4837
4837
|
// ES5引入方式
|
|
4838
|
-
const { Extent } =
|
|
4839
|
-
const { FetchMethod } =
|
|
4838
|
+
const { Extent } = zondy.geometry
|
|
4839
|
+
const { FetchMethod } = zondy.enum
|
|
4840
4840
|
// ES6引入方式
|
|
4841
4841
|
import { Extent,FetchMethod } from "@mapgis/webclient-common"
|
|
4842
4842
|
mapServer.queryFeaturesInLayers({
|
package/documention/MapView.html
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
<div class="description">
|
|
38
|
-
<p
|
|
38
|
+
<p>二维视图基类</p>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
41
|
|
|
@@ -339,6 +339,42 @@
|
|
|
339
339
|
<td class="name"><code><p>鼠标样式,参考css的cursor样式</p></code></td>
|
|
340
340
|
</tr>
|
|
341
341
|
|
|
342
|
+
<tr class="deep-level-0">
|
|
343
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
344
|
+
<td class="name">
|
|
345
|
+
<code>
|
|
346
|
+
|
|
347
|
+
<span class="param-type">
|
|
348
|
+
|
|
349
|
+
Object
|
|
350
|
+
|
|
351
|
+
</span>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
</code>
|
|
356
|
+
</td>
|
|
357
|
+
<td class="name"><code><p>初始化视图的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
358
|
+
</tr>
|
|
359
|
+
|
|
360
|
+
<tr class="deep-level-0">
|
|
361
|
+
<td class="name"><code><a href="#extendProps">extendProps</a></code></td>
|
|
362
|
+
<td class="name">
|
|
363
|
+
<code>
|
|
364
|
+
|
|
365
|
+
<span class="param-type">
|
|
366
|
+
|
|
367
|
+
Object
|
|
368
|
+
|
|
369
|
+
</span>
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
</code>
|
|
374
|
+
</td>
|
|
375
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
376
|
+
</tr>
|
|
377
|
+
|
|
342
378
|
<tr class="deep-level-0">
|
|
343
379
|
<td class="name"><code><a href="#layerViews">layerViews</a></code></td>
|
|
344
380
|
<td class="name">
|
|
@@ -959,6 +995,171 @@
|
|
|
959
995
|
|
|
960
996
|
|
|
961
997
|
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
</dl>
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
</div>
|
|
1011
|
+
|
|
1012
|
+
<div class="member">
|
|
1013
|
+
|
|
1014
|
+
<span class="method-parameter is-pulled-right">
|
|
1015
|
+
<label>类型:</label>
|
|
1016
|
+
|
|
1017
|
+
<span class="param-type">
|
|
1018
|
+
|
|
1019
|
+
Object
|
|
1020
|
+
|
|
1021
|
+
</span>
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
</span>
|
|
1026
|
+
|
|
1027
|
+
<h4 class="name" id="extendOptions">
|
|
1028
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
1029
|
+
|
|
1030
|
+
<span class="code-name">
|
|
1031
|
+
extendOptions
|
|
1032
|
+
</span>
|
|
1033
|
+
|
|
1034
|
+
</h4>
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
<div class="description">
|
|
1040
|
+
<p>初始化视图的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1041
|
+
</div>
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
<dl class="details">
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1055
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1056
|
+
<a goto="extendOptions" link="BaseView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseView#extendOptions" BaseView.html#extendOptions>BaseView#extendOptions</a>
|
|
1057
|
+
</li></ul></dd>
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
</dl>
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
</div>
|
|
1091
|
+
|
|
1092
|
+
<div class="member">
|
|
1093
|
+
|
|
1094
|
+
<span class="method-parameter is-pulled-right">
|
|
1095
|
+
<label>类型:</label>
|
|
1096
|
+
|
|
1097
|
+
<span class="param-type">
|
|
1098
|
+
|
|
1099
|
+
Object
|
|
1100
|
+
|
|
1101
|
+
</span>
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
</span>
|
|
1106
|
+
|
|
1107
|
+
<h4 class="name" id="extendProps">
|
|
1108
|
+
<a class="href-link" href="#extendProps">#</a>
|
|
1109
|
+
|
|
1110
|
+
<span class="code-name">
|
|
1111
|
+
extendProps
|
|
1112
|
+
</span>
|
|
1113
|
+
|
|
1114
|
+
</h4>
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
<div class="description">
|
|
1120
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1121
|
+
</div>
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
<dl class="details">
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1135
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1136
|
+
<a goto="extendProps" link="BaseView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseView#extendProps" BaseView.html#extendProps>BaseView#extendProps</a>
|
|
1137
|
+
</li></ul></dd>
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1158
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1159
|
+
<li>{}</li>
|
|
1160
|
+
</ul></dd>
|
|
1161
|
+
|
|
1162
|
+
|
|
962
1163
|
|
|
963
1164
|
|
|
964
1165
|
|
|
@@ -2457,12 +2658,12 @@
|
|
|
2457
2658
|
|
|
2458
2659
|
|
|
2459
2660
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2460
|
-
const { IGSSceneLayer } =
|
|
2661
|
+
const { IGSSceneLayer } = zondy.layer
|
|
2461
2662
|
// ES6引入方式
|
|
2462
2663
|
import { IGSSceneLayer } from "@mapgis/webclient-cesium-plugin"
|
|
2463
2664
|
// 添加一个场景图层
|
|
2464
2665
|
const igsSceneLayer = new IGSSceneLayer({
|
|
2465
|
-
url: 'http://
|
|
2666
|
+
url: 'http://192.168.82.89:8089/igs/rest/g3d/Scene:DaYanTa-M3D'
|
|
2466
2667
|
});
|
|
2467
2668
|
map.add(igsSceneLayer);
|
|
2468
2669
|
// 添加完毕后,过去实际图层对象
|
|
@@ -369,6 +369,24 @@
|
|
|
369
369
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
370
370
|
</tr>
|
|
371
371
|
|
|
372
|
+
<tr class="deep-level-0">
|
|
373
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
374
|
+
<td class="name">
|
|
375
|
+
<code>
|
|
376
|
+
|
|
377
|
+
<span class="param-type">
|
|
378
|
+
|
|
379
|
+
String
|
|
380
|
+
|
|
381
|
+
</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
</code>
|
|
386
|
+
</td>
|
|
387
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
388
|
+
</tr>
|
|
389
|
+
|
|
372
390
|
<tr class="deep-level-0">
|
|
373
391
|
<td class="name"><code><a href="#type">type</a></code></td>
|
|
374
392
|
<td class="name">
|
|
@@ -649,6 +667,95 @@
|
|
|
649
667
|
|
|
650
668
|
|
|
651
669
|
|
|
670
|
+
<dt class="tag-default">Default Value:</dt>
|
|
671
|
+
<dd class="tag-default"><ul class="dummy">
|
|
672
|
+
<li>{}</li>
|
|
673
|
+
</ul></dd>
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
</dl>
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
</div>
|
|
689
|
+
|
|
690
|
+
<div class="member">
|
|
691
|
+
|
|
692
|
+
<span class="method-parameter is-pulled-right">
|
|
693
|
+
<label>类型:</label>
|
|
694
|
+
|
|
695
|
+
<span class="param-type">
|
|
696
|
+
|
|
697
|
+
String
|
|
698
|
+
|
|
699
|
+
</span>
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
</span>
|
|
704
|
+
|
|
705
|
+
<h4 class="name" id="id">
|
|
706
|
+
<a class="href-link" href="#id">#</a>
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
<span class='tag'>readonly</span>
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
<span class="code-name">
|
|
713
|
+
id
|
|
714
|
+
</span>
|
|
715
|
+
|
|
716
|
+
</h4>
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
<div class="description">
|
|
722
|
+
<p>符号id</p>
|
|
723
|
+
</div>
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
<dl class="details">
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
737
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
738
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
739
|
+
</li></ul></dd>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
652
759
|
|
|
653
760
|
|
|
654
761
|
|
|
@@ -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({
|
|
@@ -371,6 +371,24 @@ new MultiLineString({
|
|
|
371
371
|
<td class="name"><code><p>几何点的坐标</p></code></td>
|
|
372
372
|
</tr>
|
|
373
373
|
|
|
374
|
+
<tr class="deep-level-0">
|
|
375
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
376
|
+
<td class="name">
|
|
377
|
+
<code>
|
|
378
|
+
|
|
379
|
+
<span class="param-type">
|
|
380
|
+
|
|
381
|
+
Object
|
|
382
|
+
|
|
383
|
+
</span>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</code>
|
|
388
|
+
</td>
|
|
389
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
390
|
+
</tr>
|
|
391
|
+
|
|
374
392
|
<tr class="deep-level-0">
|
|
375
393
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
376
394
|
<td class="name">
|
|
@@ -508,6 +526,91 @@ new MultiLineString({
|
|
|
508
526
|
|
|
509
527
|
|
|
510
528
|
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
</dl>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
</div>
|
|
544
|
+
|
|
545
|
+
<div class="member">
|
|
546
|
+
|
|
547
|
+
<span class="method-parameter is-pulled-right">
|
|
548
|
+
<label>类型:</label>
|
|
549
|
+
|
|
550
|
+
<span class="param-type">
|
|
551
|
+
|
|
552
|
+
Object
|
|
553
|
+
|
|
554
|
+
</span>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
</span>
|
|
559
|
+
|
|
560
|
+
<h4 class="name" id="extendOptions">
|
|
561
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
562
|
+
|
|
563
|
+
<span class="code-name">
|
|
564
|
+
extendOptions
|
|
565
|
+
</span>
|
|
566
|
+
|
|
567
|
+
</h4>
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
<div class="description">
|
|
573
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
574
|
+
</div>
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
<dl class="details">
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
588
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
589
|
+
<a goto="extendOptions" link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry#extendOptions" Geometry.html#extendOptions>Geometry#extendOptions</a>
|
|
590
|
+
</li></ul></dd>
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
<dt class="tag-default">Default Value:</dt>
|
|
611
|
+
<dd class="tag-default"><ul class="dummy">
|
|
612
|
+
<li>{}</li>
|
|
613
|
+
</ul></dd>
|
|
511
614
|
|
|
512
615
|
|
|
513
616
|
|
|
@@ -1452,7 +1555,7 @@ new MultiLineString({
|
|
|
1452
1555
|
|
|
1453
1556
|
|
|
1454
1557
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1455
|
-
const { MultiLineString } =
|
|
1558
|
+
const { MultiLineString } = zondy.geometry
|
|
1456
1559
|
// ES6引入方式
|
|
1457
1560
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
1458
1561
|
const multiLineString = new MultiLineString({
|
|
@@ -1626,7 +1729,7 @@ const newMultiLineString = MultiLineString.clone(multiLineString)</code></pre>
|
|
|
1626
1729
|
|
|
1627
1730
|
|
|
1628
1731
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1629
|
-
const { MultiLineString } =
|
|
1732
|
+
const { MultiLineString } = zondy.geometry
|
|
1630
1733
|
// ES6引入方式
|
|
1631
1734
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
1632
1735
|
const json = {
|
|
@@ -1826,7 +1929,7 @@ const newMultiLineString = MultiLineString.fromJSON(json)</code></pre>
|
|
|
1826
1929
|
|
|
1827
1930
|
|
|
1828
1931
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1829
|
-
const { MultiLineString, Point } =
|
|
1932
|
+
const { MultiLineString, Point } = zondy.geometry
|
|
1830
1933
|
// ES6引入方式
|
|
1831
1934
|
import { MultiLineString, Point } from "@mapgis/webclient-common"
|
|
1832
1935
|
const multiLineString = new MultiLineString({
|
|
@@ -2588,7 +2691,7 @@ multiLineString.addPath(path)</code></pre>
|
|
|
2588
2691
|
|
|
2589
2692
|
|
|
2590
2693
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2591
|
-
const { MultiLineString } =
|
|
2694
|
+
const { MultiLineString } = zondy.geometry
|
|
2592
2695
|
// ES6引入方式
|
|
2593
2696
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
2594
2697
|
const multiLineString = new MultiLineString({
|
|
@@ -2979,7 +3082,7 @@ const point = multiLineString.getPoint(0, 1)</code></pre>
|
|
|
2979
3082
|
|
|
2980
3083
|
|
|
2981
3084
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2982
|
-
const { MultiLineString, Point } =
|
|
3085
|
+
const { MultiLineString, Point } = zondy.geometry
|
|
2983
3086
|
// ES6引入方式
|
|
2984
3087
|
import { MultiLineString, Point } from "@mapgis/webclient-common"
|
|
2985
3088
|
const multiLineString = new MultiLineString({
|
|
@@ -3875,7 +3978,7 @@ view.on({
|
|
|
3875
3978
|
|
|
3876
3979
|
|
|
3877
3980
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3878
|
-
const { MultiLineString } =
|
|
3981
|
+
const { MultiLineString } = zondy.geometry
|
|
3879
3982
|
// ES6引入方式
|
|
3880
3983
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
3881
3984
|
const multiLineString = new MultiLineString({
|
|
@@ -4104,7 +4207,7 @@ multiLineString.removePath(0)</code></pre>
|
|
|
4104
4207
|
|
|
4105
4208
|
|
|
4106
4209
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4107
|
-
const { MultiLineString } =
|
|
4210
|
+
const { MultiLineString } = zondy.geometry
|
|
4108
4211
|
// ES6引入方式
|
|
4109
4212
|
import { MultiLineString } from "@mapgis/webclient-common"
|
|
4110
4213
|
const multiLineString = new MultiLineString({
|
|
@@ -4362,7 +4465,7 @@ multiLineString.removePoint(0, 1)</code></pre>
|
|
|
4362
4465
|
|
|
4363
4466
|
|
|
4364
4467
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4365
|
-
const { MultiLineString, Point } =
|
|
4468
|
+
const { MultiLineString, Point } = zondy.geometry
|
|
4366
4469
|
// ES6引入方式
|
|
4367
4470
|
import { MultiLineString, Point } from "@mapgis/webclient-common"
|
|
4368
4471
|
const multiLineString = new MultiLineString({
|