@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
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
|
|
257
257
|
<td class="default">
|
|
258
258
|
|
|
259
|
-
TokenAttachType.
|
|
259
|
+
TokenAttachType.normal
|
|
260
260
|
|
|
261
261
|
</td>
|
|
262
262
|
|
|
@@ -808,7 +808,7 @@
|
|
|
808
808
|
|
|
809
809
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
810
810
|
// ES5引入方式
|
|
811
|
-
const { BaseServer } =
|
|
811
|
+
const { BaseServer } = zondy.service
|
|
812
812
|
// ES6引入方式
|
|
813
813
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
814
814
|
let BaseServer = new BaseServer({
|
|
@@ -904,7 +904,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
904
904
|
|
|
905
905
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
906
906
|
// ES5引入方式
|
|
907
|
-
const { BaseServer } =
|
|
907
|
+
const { BaseServer } = zondy.service
|
|
908
908
|
// ES6引入方式
|
|
909
909
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
910
910
|
let BaseServer = new BaseServer({
|
|
@@ -1001,7 +1001,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1001
1001
|
|
|
1002
1002
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1003
1003
|
// ES5引入方式
|
|
1004
|
-
const { BaseServer,RequestInterceptor } =
|
|
1004
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1005
1005
|
// ES6引入方式
|
|
1006
1006
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1007
1007
|
let BaseServer = new BaseServer({
|
|
@@ -1105,7 +1105,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1105
1105
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1106
1106
|
//初始化AddressServer服务对象
|
|
1107
1107
|
// ES5引入方式
|
|
1108
|
-
const { BaseServer } =
|
|
1108
|
+
const { BaseServer } = zondy.service
|
|
1109
1109
|
// ES6引入方式
|
|
1110
1110
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1111
1111
|
let BaseServer = new BaseServer({
|
|
@@ -1197,7 +1197,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1197
1197
|
|
|
1198
1198
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1199
1199
|
// ES5引入方式
|
|
1200
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1200
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1201
1201
|
// ES6引入方式
|
|
1202
1202
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1203
1203
|
let BaseServer = new BaseServer({
|
|
@@ -1302,8 +1302,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1302
1302
|
|
|
1303
1303
|
<pre class="prettyprint"><code>//设置token值
|
|
1304
1304
|
// ES5引入方式
|
|
1305
|
-
const { BaseServer } =
|
|
1306
|
-
const { TokenAttachType } =
|
|
1305
|
+
const { BaseServer } = zondy.service
|
|
1306
|
+
const { TokenAttachType } = zondy.enum
|
|
1307
1307
|
// ES6引入方式
|
|
1308
1308
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1309
1309
|
let BaseServer = new BaseServer({
|
|
@@ -1399,7 +1399,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1399
1399
|
|
|
1400
1400
|
<pre class="prettyprint"><code>//设置token名
|
|
1401
1401
|
// ES5引入方式
|
|
1402
|
-
const { BaseServer } =
|
|
1402
|
+
const { BaseServer } = zondy.service
|
|
1403
1403
|
// ES6引入方式
|
|
1404
1404
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1405
1405
|
let BaseServer = new BaseServer({
|
|
@@ -1491,7 +1491,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1491
1491
|
|
|
1492
1492
|
<pre class="prettyprint"><code>//设置token值
|
|
1493
1493
|
// ES5引入方式
|
|
1494
|
-
const { BaseServer } =
|
|
1494
|
+
const { BaseServer } = zondy.service
|
|
1495
1495
|
// ES6引入方式
|
|
1496
1496
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1497
1497
|
let BaseServer = new BaseServer({
|
|
@@ -1583,7 +1583,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1583
1583
|
|
|
1584
1584
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1585
1585
|
// ES5引入方式
|
|
1586
|
-
const { BaseServer } =
|
|
1586
|
+
const { BaseServer } = zondy.service
|
|
1587
1587
|
// ES6引入方式
|
|
1588
1588
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1589
1589
|
let BaseServer = new BaseServer({
|
|
@@ -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
|
|
|
@@ -167,6 +167,270 @@
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
+
|
|
171
|
+
<tr class="deep-level-1">
|
|
172
|
+
|
|
173
|
+
<td class="name"><code>cursor</code></td>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
<td class="type">
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<span class="param-type">
|
|
180
|
+
|
|
181
|
+
String
|
|
182
|
+
|
|
183
|
+
</span>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
</td>
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
<td class="default">
|
|
192
|
+
|
|
193
|
+
null
|
|
194
|
+
|
|
195
|
+
</td>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<td class="description last"><p>鼠标样式,参考css的cursor样式</p></td>
|
|
199
|
+
</tr>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
<tr class="deep-level-1">
|
|
205
|
+
|
|
206
|
+
<td class="name"><code>scale</code></td>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<td class="type">
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<span class="param-type">
|
|
213
|
+
|
|
214
|
+
Number
|
|
215
|
+
|
|
216
|
+
</span>
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
</td>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<td class="default">
|
|
225
|
+
|
|
226
|
+
null
|
|
227
|
+
|
|
228
|
+
</td>
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
<td class="description last"><p>地图视图的比例尺,改变该值后会立刻改变视图范围</p></td>
|
|
232
|
+
</tr>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<tr class="deep-level-1">
|
|
238
|
+
|
|
239
|
+
<td class="name"><code>center</code></td>
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
<td class="type">
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
<span class="param-type">
|
|
246
|
+
|
|
247
|
+
Array
|
|
248
|
+
|
|
249
|
+
</span>
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
</td>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
<td class="default">
|
|
258
|
+
|
|
259
|
+
[0, 0]
|
|
260
|
+
|
|
261
|
+
</td>
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
<td class="description last"><p>视图中心点</p></td>
|
|
265
|
+
</tr>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<tr class="deep-level-1">
|
|
271
|
+
|
|
272
|
+
<td class="name"><code>minZoom</code></td>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<td class="type">
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
<span class="param-type">
|
|
279
|
+
|
|
280
|
+
Number
|
|
281
|
+
|
|
282
|
+
</span>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
</td>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<td class="default">
|
|
291
|
+
|
|
292
|
+
0
|
|
293
|
+
|
|
294
|
+
</td>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<td class="description last"><p>最小缩放级数</p></td>
|
|
298
|
+
</tr>
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<tr class="deep-level-1">
|
|
304
|
+
|
|
305
|
+
<td class="name"><code>maxZoom</code></td>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
<td class="type">
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
<span class="param-type">
|
|
312
|
+
|
|
313
|
+
Number
|
|
314
|
+
|
|
315
|
+
</span>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
</td>
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<td class="default">
|
|
324
|
+
|
|
325
|
+
19
|
|
326
|
+
|
|
327
|
+
</td>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
<td class="description last"><p>最大缩放级数</p></td>
|
|
331
|
+
</tr>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
<tr class="deep-level-1">
|
|
337
|
+
|
|
338
|
+
<td class="name"><code>zoom</code></td>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
<td class="type">
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
<span class="param-type">
|
|
345
|
+
|
|
346
|
+
Number
|
|
347
|
+
|
|
348
|
+
</span>
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
</td>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
<td class="default">
|
|
357
|
+
|
|
358
|
+
1
|
|
359
|
+
|
|
360
|
+
</td>
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
<td class="description last"><p>初始化级数</p></td>
|
|
364
|
+
</tr>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
<tr class="deep-level-1">
|
|
370
|
+
|
|
371
|
+
<td class="name"><code>extendOptions</code></td>
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
<td class="type">
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
<span class="param-type">
|
|
378
|
+
|
|
379
|
+
Object
|
|
380
|
+
|
|
381
|
+
</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
</td>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
<td class="default">
|
|
390
|
+
|
|
391
|
+
{}
|
|
392
|
+
|
|
393
|
+
</td>
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
<td class="description last"><p>初始化视图的额外参数,可以通过该参数传入引擎原生的构造参数</p></td>
|
|
397
|
+
</tr>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
<tr class="deep-level-1">
|
|
403
|
+
|
|
404
|
+
<td class="name"><code>extendProps</code></td>
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
<td class="type">
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
<span class="param-type">
|
|
411
|
+
|
|
412
|
+
Object
|
|
413
|
+
|
|
414
|
+
</span>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
</td>
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<td class="default">
|
|
423
|
+
|
|
424
|
+
{}
|
|
425
|
+
|
|
426
|
+
</td>
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
<td class="description last"><p>当前视图对象上不支持的属性,二次开发用户希望挂在视图对像上的属性可以存储到该属性中</p></td>
|
|
430
|
+
</tr>
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
170
434
|
|
|
171
435
|
|
|
172
436
|
|
|
@@ -372,6 +636,42 @@
|
|
|
372
636
|
<td class="name"><code><p>鼠标样式,参考css的cursor样式</p></code></td>
|
|
373
637
|
</tr>
|
|
374
638
|
|
|
639
|
+
<tr class="deep-level-0">
|
|
640
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
641
|
+
<td class="name">
|
|
642
|
+
<code>
|
|
643
|
+
|
|
644
|
+
<span class="param-type">
|
|
645
|
+
|
|
646
|
+
Object
|
|
647
|
+
|
|
648
|
+
</span>
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
</code>
|
|
653
|
+
</td>
|
|
654
|
+
<td class="name"><code><p>初始化视图的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
655
|
+
</tr>
|
|
656
|
+
|
|
657
|
+
<tr class="deep-level-0">
|
|
658
|
+
<td class="name"><code><a href="#extendProps">extendProps</a></code></td>
|
|
659
|
+
<td class="name">
|
|
660
|
+
<code>
|
|
661
|
+
|
|
662
|
+
<span class="param-type">
|
|
663
|
+
|
|
664
|
+
Object
|
|
665
|
+
|
|
666
|
+
</span>
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
</code>
|
|
671
|
+
</td>
|
|
672
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
673
|
+
</tr>
|
|
674
|
+
|
|
375
675
|
<tr class="deep-level-0">
|
|
376
676
|
<td class="name"><code><a href="#layerViews">layerViews</a></code></td>
|
|
377
677
|
<td class="name">
|
|
@@ -947,6 +1247,161 @@
|
|
|
947
1247
|
|
|
948
1248
|
|
|
949
1249
|
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
</dl>
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
</div>
|
|
1265
|
+
|
|
1266
|
+
<div class="member">
|
|
1267
|
+
|
|
1268
|
+
<span class="method-parameter is-pulled-right">
|
|
1269
|
+
<label>类型:</label>
|
|
1270
|
+
|
|
1271
|
+
<span class="param-type">
|
|
1272
|
+
|
|
1273
|
+
Object
|
|
1274
|
+
|
|
1275
|
+
</span>
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
</span>
|
|
1280
|
+
|
|
1281
|
+
<h4 class="name" id="extendOptions">
|
|
1282
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
1283
|
+
|
|
1284
|
+
<span class="code-name">
|
|
1285
|
+
extendOptions
|
|
1286
|
+
</span>
|
|
1287
|
+
|
|
1288
|
+
</h4>
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
<div class="description">
|
|
1294
|
+
<p>初始化视图的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1295
|
+
</div>
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
<dl class="details">
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
</dl>
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
</div>
|
|
1340
|
+
|
|
1341
|
+
<div class="member">
|
|
1342
|
+
|
|
1343
|
+
<span class="method-parameter is-pulled-right">
|
|
1344
|
+
<label>类型:</label>
|
|
1345
|
+
|
|
1346
|
+
<span class="param-type">
|
|
1347
|
+
|
|
1348
|
+
Object
|
|
1349
|
+
|
|
1350
|
+
</span>
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
</span>
|
|
1355
|
+
|
|
1356
|
+
<h4 class="name" id="extendProps">
|
|
1357
|
+
<a class="href-link" href="#extendProps">#</a>
|
|
1358
|
+
|
|
1359
|
+
<span class="code-name">
|
|
1360
|
+
extendProps
|
|
1361
|
+
</span>
|
|
1362
|
+
|
|
1363
|
+
</h4>
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
<div class="description">
|
|
1369
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1370
|
+
</div>
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
<dl class="details">
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1402
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1403
|
+
<li>{}</li>
|
|
1404
|
+
</ul></dd>
|
|
950
1405
|
|
|
951
1406
|
|
|
952
1407
|
|
|
@@ -2111,12 +2566,12 @@
|
|
|
2111
2566
|
|
|
2112
2567
|
|
|
2113
2568
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2114
|
-
const { IGSSceneLayer } =
|
|
2569
|
+
const { IGSSceneLayer } = zondy.layer
|
|
2115
2570
|
// ES6引入方式
|
|
2116
2571
|
import { IGSSceneLayer } from "@mapgis/webclient-cesium-plugin"
|
|
2117
2572
|
// 添加一个场景图层
|
|
2118
2573
|
const igsSceneLayer = new IGSSceneLayer({
|
|
2119
|
-
url: 'http://
|
|
2574
|
+
url: 'http://192.168.82.89:8089/igs/rest/g3d/Scene:DaYanTa-M3D'
|
|
2120
2575
|
});
|
|
2121
2576
|
map.add(igsSceneLayer);
|
|
2122
2577
|
// 添加完毕后,过去实际图层对象
|
package/documention/Basemap.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>基础地图对象
|
|
39
39
|
<br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.Basemap() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { Map } from "@mapgis/webclient-common" <br/></p>
|
|
43
43
|
</div>
|
|
@@ -327,8 +327,8 @@ import { Map } from "@mapgis/webclient-common" <br/></p>
|
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
330
|
-
const { Map, Basemap, Collection } =
|
|
331
|
-
const { IGSTileLayer } =
|
|
330
|
+
const { Map, Basemap, Collection } = zondy
|
|
331
|
+
const { IGSTileLayer } = zondy.layer
|
|
332
332
|
// ES6引入方式
|
|
333
333
|
import { Map, Basemap, Collection, IGSTileLayer } from "@mapgis/webclient-common"
|
|
334
334
|
//创建Map对象
|