@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
|
@@ -189,6 +189,24 @@
|
|
|
189
189
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
190
190
|
</tr>
|
|
191
191
|
|
|
192
|
+
<tr class="deep-level-0">
|
|
193
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
194
|
+
<td class="name">
|
|
195
|
+
<code>
|
|
196
|
+
|
|
197
|
+
<span class="param-type">
|
|
198
|
+
|
|
199
|
+
String
|
|
200
|
+
|
|
201
|
+
</span>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
</code>
|
|
206
|
+
</td>
|
|
207
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
208
|
+
</tr>
|
|
209
|
+
|
|
192
210
|
<tr class="deep-level-0">
|
|
193
211
|
<td class="name"><code><a href="#type">type</a></code></td>
|
|
194
212
|
<td class="name">
|
|
@@ -358,6 +376,95 @@
|
|
|
358
376
|
|
|
359
377
|
|
|
360
378
|
|
|
379
|
+
<dt class="tag-default">Default Value:</dt>
|
|
380
|
+
<dd class="tag-default"><ul class="dummy">
|
|
381
|
+
<li>{}</li>
|
|
382
|
+
</ul></dd>
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
</dl>
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
</div>
|
|
398
|
+
|
|
399
|
+
<div class="member">
|
|
400
|
+
|
|
401
|
+
<span class="method-parameter is-pulled-right">
|
|
402
|
+
<label>类型:</label>
|
|
403
|
+
|
|
404
|
+
<span class="param-type">
|
|
405
|
+
|
|
406
|
+
String
|
|
407
|
+
|
|
408
|
+
</span>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
</span>
|
|
413
|
+
|
|
414
|
+
<h4 class="name" id="id">
|
|
415
|
+
<a class="href-link" href="#id">#</a>
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
<span class='tag'>readonly</span>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
<span class="code-name">
|
|
422
|
+
id
|
|
423
|
+
</span>
|
|
424
|
+
|
|
425
|
+
</h4>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
<div class="description">
|
|
431
|
+
<p>符号id</p>
|
|
432
|
+
</div>
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
<dl class="details">
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
446
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
447
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
448
|
+
</li></ul></dd>
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
361
468
|
|
|
362
469
|
|
|
363
470
|
|
|
@@ -129,69 +129,7 @@
|
|
|
129
129
|
</td>
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
<td class="description last"><p
|
|
133
|
-
</tr>
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
<tr class="deep-level-1">
|
|
139
|
-
|
|
140
|
-
<td class="name"><code>extendOptions</code></td>
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
<td class="type">
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
<span class="param-type">
|
|
147
|
-
|
|
148
|
-
Object
|
|
149
|
-
|
|
150
|
-
</span>
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
</td>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
<td class="default">
|
|
159
|
-
|
|
160
|
-
</td>
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<td class="description last"><p>初始化场景图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></td>
|
|
164
|
-
</tr>
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
<tr class="deep-level-1">
|
|
170
|
-
|
|
171
|
-
<td class="name"><code>extendProps</code></td>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<td class="type">
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<span class="param-type">
|
|
178
|
-
|
|
179
|
-
Object
|
|
180
|
-
|
|
181
|
-
</span>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
</td>
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
<td class="default">
|
|
190
|
-
|
|
191
|
-
</td>
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
<td class="description last"><p>存储额外参数的属性</p></td>
|
|
132
|
+
<td class="description last"><p>服务链接。igs服务的3dTiles服务地址或tileset静态服务地址</p></td>
|
|
195
133
|
</tr>
|
|
196
134
|
|
|
197
135
|
|
|
@@ -263,6 +201,33 @@
|
|
|
263
201
|
|
|
264
202
|
|
|
265
203
|
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
<h5>示例</h5>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<pre class="prettyprint"><code>// 使用igs服务的3dTiles服务地址
|
|
210
|
+
const cesium3DTilesCacheLayer = new Cesium3DTilesCacheLayer({
|
|
211
|
+
// 服务基地址
|
|
212
|
+
url: 'http://192.168.82.91:8089/igs/rest/services/Scene/大雁塔3DTilesServer/3DTilesServer',
|
|
213
|
+
// 初始化参数
|
|
214
|
+
extendOptions: {
|
|
215
|
+
// 开启自动跳转
|
|
216
|
+
autoReset: true
|
|
217
|
+
}
|
|
218
|
+
})
|
|
219
|
+
|
|
220
|
+
// 使用tileset静态服务地址
|
|
221
|
+
const cesium3DTilesCacheLayer = new Cesium3DTilesCacheLayer({
|
|
222
|
+
// 服务基地址
|
|
223
|
+
url: 'http://192.168.82.91:8200/3DData/ModelCache/3DTileset/1.0/OSGB-大雁塔_3dtiles_meshopt_ktx2/tileset.json',
|
|
224
|
+
// 初始化参数
|
|
225
|
+
extendOptions: {
|
|
226
|
+
// 开启自动跳转
|
|
227
|
+
autoReset: true
|
|
228
|
+
}
|
|
229
|
+
})</code></pre>
|
|
230
|
+
|
|
266
231
|
|
|
267
232
|
|
|
268
233
|
|
|
@@ -380,7 +345,7 @@
|
|
|
380
345
|
|
|
381
346
|
</code>
|
|
382
347
|
</td>
|
|
383
|
-
<td class="name"><code><p
|
|
348
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
384
349
|
</tr>
|
|
385
350
|
|
|
386
351
|
<tr class="deep-level-0">
|
|
@@ -398,7 +363,7 @@
|
|
|
398
363
|
|
|
399
364
|
</code>
|
|
400
365
|
</td>
|
|
401
|
-
<td class="name"><code><p
|
|
366
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
402
367
|
</tr>
|
|
403
368
|
|
|
404
369
|
<tr class="deep-level-0">
|
|
@@ -462,7 +427,7 @@
|
|
|
462
427
|
|
|
463
428
|
<span class="param-type">
|
|
464
429
|
|
|
465
|
-
|
|
430
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
466
431
|
|
|
467
432
|
</span>
|
|
468
433
|
|
|
@@ -596,7 +561,7 @@
|
|
|
596
561
|
|
|
597
562
|
</code>
|
|
598
563
|
</td>
|
|
599
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
564
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
600
565
|
</tr>
|
|
601
566
|
|
|
602
567
|
<tr class="deep-level-0">
|
|
@@ -671,6 +636,24 @@
|
|
|
671
636
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
672
637
|
</tr>
|
|
673
638
|
|
|
639
|
+
<tr class="deep-level-0">
|
|
640
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
641
|
+
<td class="name">
|
|
642
|
+
<code>
|
|
643
|
+
|
|
644
|
+
<span class="param-type">
|
|
645
|
+
|
|
646
|
+
String
|
|
647
|
+
|
|
648
|
+
</span>
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
</code>
|
|
653
|
+
</td>
|
|
654
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
655
|
+
</tr>
|
|
656
|
+
|
|
674
657
|
<tr class="deep-level-0">
|
|
675
658
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
676
659
|
<td class="name">
|
|
@@ -1052,7 +1035,7 @@
|
|
|
1052
1035
|
|
|
1053
1036
|
|
|
1054
1037
|
<div class="description">
|
|
1055
|
-
<p
|
|
1038
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1056
1039
|
</div>
|
|
1057
1040
|
|
|
1058
1041
|
|
|
@@ -1066,11 +1049,9 @@
|
|
|
1066
1049
|
|
|
1067
1050
|
|
|
1068
1051
|
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1073
|
-
<a class="mapgis-link-name" title="Layer#extendOptions" Layer.html#extendOptions>Layer#extendOptions</a>
|
|
1052
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1053
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1054
|
+
<a goto="extendOptions" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#extendOptions" Layer.html#extendOptions>Layer#extendOptions</a>
|
|
1074
1055
|
</li></ul></dd>
|
|
1075
1056
|
|
|
1076
1057
|
|
|
@@ -1089,6 +1070,13 @@
|
|
|
1089
1070
|
|
|
1090
1071
|
|
|
1091
1072
|
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1076
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1077
|
+
<li>{}</li>
|
|
1078
|
+
</ul></dd>
|
|
1079
|
+
|
|
1092
1080
|
|
|
1093
1081
|
|
|
1094
1082
|
|
|
@@ -1132,7 +1120,7 @@
|
|
|
1132
1120
|
|
|
1133
1121
|
|
|
1134
1122
|
<div class="description">
|
|
1135
|
-
<p
|
|
1123
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1136
1124
|
</div>
|
|
1137
1125
|
|
|
1138
1126
|
|
|
@@ -1169,6 +1157,11 @@
|
|
|
1169
1157
|
|
|
1170
1158
|
|
|
1171
1159
|
|
|
1160
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1161
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1162
|
+
<li>{}</li>
|
|
1163
|
+
</ul></dd>
|
|
1164
|
+
|
|
1172
1165
|
|
|
1173
1166
|
|
|
1174
1167
|
|
|
@@ -1430,7 +1423,7 @@
|
|
|
1430
1423
|
|
|
1431
1424
|
<span class="param-type">
|
|
1432
1425
|
|
|
1433
|
-
|
|
1426
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1434
1427
|
|
|
1435
1428
|
</span>
|
|
1436
1429
|
|
|
@@ -2043,7 +2036,7 @@
|
|
|
2043
2036
|
|
|
2044
2037
|
|
|
2045
2038
|
<div class="description">
|
|
2046
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2039
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2047
2040
|
</div>
|
|
2048
2041
|
|
|
2049
2042
|
|
|
@@ -2391,6 +2384,86 @@
|
|
|
2391
2384
|
|
|
2392
2385
|
|
|
2393
2386
|
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
</dl>
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
</div>
|
|
2400
|
+
|
|
2401
|
+
<div class="member">
|
|
2402
|
+
|
|
2403
|
+
<span class="method-parameter is-pulled-right">
|
|
2404
|
+
<label>类型:</label>
|
|
2405
|
+
|
|
2406
|
+
<span class="param-type">
|
|
2407
|
+
|
|
2408
|
+
String
|
|
2409
|
+
|
|
2410
|
+
</span>
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
|
|
2414
|
+
</span>
|
|
2415
|
+
|
|
2416
|
+
<h4 class="name" id="tokenAttachType">
|
|
2417
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2418
|
+
|
|
2419
|
+
<span class="code-name">
|
|
2420
|
+
tokenAttachType
|
|
2421
|
+
</span>
|
|
2422
|
+
|
|
2423
|
+
</h4>
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
<div class="description">
|
|
2429
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2430
|
+
</div>
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
<dl class="details">
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2444
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2445
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2446
|
+
</li></ul></dd>
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2394
2467
|
|
|
2395
2468
|
|
|
2396
2469
|
|
|
@@ -2960,16 +3033,6 @@
|
|
|
2960
3033
|
<td class="name"><code><p>判断图层是否加载成功</p></code></td>
|
|
2961
3034
|
</tr>
|
|
2962
3035
|
|
|
2963
|
-
<tr class="deep-level-0">
|
|
2964
|
-
<td class="name"><code><a href="#load">load</a></code></td>
|
|
2965
|
-
<td class="name">
|
|
2966
|
-
<code>
|
|
2967
|
-
|
|
2968
|
-
</code>
|
|
2969
|
-
</td>
|
|
2970
|
-
<td class="name"><code><p>从igs获取图层信息的方法</p></code></td>
|
|
2971
|
-
</tr>
|
|
2972
|
-
|
|
2973
3036
|
<tr class="deep-level-0">
|
|
2974
3037
|
<td class="name"><code><a href="#refresh">refresh</a></code></td>
|
|
2975
3038
|
<td class="name">
|
|
@@ -3372,97 +3435,6 @@
|
|
|
3372
3435
|
|
|
3373
3436
|
|
|
3374
3437
|
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
</div>
|
|
3379
|
-
|
|
3380
|
-
<div class="member">
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
<h4 class="name" id="load">
|
|
3385
|
-
<a class="href-link" href="#load">#</a>
|
|
3386
|
-
|
|
3387
|
-
<span class="code-name" id="load" style="font-size:30px">
|
|
3388
|
-
|
|
3389
|
-
load<span class="signature">()</span>
|
|
3390
|
-
|
|
3391
|
-
</span>
|
|
3392
|
-
</h4>
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
<div class="description">
|
|
3397
|
-
<p>从igs获取图层信息的方法</p>
|
|
3398
|
-
</div>
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
<dl class="details">
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
</dl>
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
3438
|
|
|
3467
3439
|
|
|
3468
3440
|
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
|
|
209
209
|
<pre class="prettyprint"><code>//初始化Cesium3DTilesServer服务对象
|
|
210
210
|
// ES5引入方式
|
|
211
|
-
const { Cesium3DTilesServer } =
|
|
211
|
+
const { Cesium3DTilesServer } = zondy.service
|
|
212
212
|
// ES6引入方式
|
|
213
213
|
import { Cesium3DTilesServer } from "@mapgis/webclient-common"
|
|
214
214
|
const cesium3DTilesServer = new Cesium3DTilesServer({
|
|
@@ -613,7 +613,7 @@ const cesium3DTilesServer = new Cesium3DTilesServer({
|
|
|
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({
|