@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.9
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 +280 -482
- package/dist/esm/commonjsHelpers.js +1 -0
- package/dist/esm/s3m.js +1 -0
- package/dist/esm/webclient-cesium-plugin.js +1 -0
- package/dist/umd/webclient-cesium-plugin.min.js +1 -0
- package/{documention → documentation}/AlgorithmLib.html +169 -149
- package/{documention → documentation}/AngulationTool.html +85 -51
- package/{documention → documentation}/AnimationTool.html +30 -30
- package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
- package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
- package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
- package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
- package/{documention → documentation}/BaseImageryProvider.html +2 -2
- package/{documention → documentation}/Cesium.Material.html +2 -2
- package/{documention → documentation}/Cesium.Viewer.html +5 -5
- package/{documention → documentation}/Cesium3DTileset.html +43 -25
- package/{documention → documentation}/CesiumHeatmap.html +22 -19
- package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
- package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
- package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
- package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
- package/{documention → documentation}/CompatibleFunc.html +24 -33
- package/{documention → documentation}/CustomPrimitive.html +3 -5
- package/{documention → documentation}/CustomProjection.html +3 -3
- package/{documention → documentation}/CustomTilingScheme.html +35 -36
- package/{documention → documentation}/CutFillAnalysis.html +59 -27
- package/{documention → documentation}/CuttingTool.html +198 -103
- package/{documention → documentation}/Deferred.html +2 -2
- package/{documention → documentation}/DrawElement.html +418 -34
- package/{documention → documentation}/DrawTool.html +81 -29
- package/documentation/EditTool.html +2819 -0
- package/{documention → documentation}/FirstPersonPerspective.html +18 -10
- package/{documention → documentation}/FloodAnalysis.html +93 -23
- package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
- package/documentation/FlowParticle.html +863 -0
- package/{documention → documentation}/Fluid.html +473 -74
- package/{documention → documentation}/FluidFoam.html +36 -16
- package/{documention → documentation}/FluidReflection.html +68 -15
- package/{documention → documentation}/FluidShadow.html +67 -14
- package/{documention → documentation}/FluidSourceCollection.html +14 -7
- package/{documention → documentation}/FluidSpecular.html +33 -14
- package/documentation/FluidSurfaceDistortion.html +682 -0
- package/documentation/FluidSurfaceFoam.html +1006 -0
- package/{documention → documentation}/FollowPerspective.html +15 -7
- package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
- package/documentation/GeoJSONLayerView.html +1353 -0
- package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
- package/{documention → documentation}/GodPerspective.html +14 -6
- package/{documention → documentation}/Graphic.html +1053 -1042
- package/{documention → documentation}/GraphicTransformTool.html +65 -23
- package/{documention → documentation}/GraphicsLayer.html +359 -156
- package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
- package/documentation/GraphicsLayerView.html +759 -0
- package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
- package/{documention → documentation}/HeightLimited.html +54 -21
- package/documentation/IGSFeatureLayerUtil.html +840 -0
- package/documentation/IGSFeatureLayerView.html +1348 -0
- package/documentation/IGSMapImageLayerUtil.html +855 -0
- package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
- package/documentation/IGSTileLayerView.html +658 -0
- package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
- package/{documention → documentation}/KeyboardCameraController.html +54 -6
- package/documentation/LightningStorm.html +2073 -0
- package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
- package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
- package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
- package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
- package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
- package/{documention → documentation}/MapGISM3DSet.html +49 -33
- package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
- package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
- package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
- package/{documention → documentation}/MapGISTerrainService.html +124 -82
- package/{documention → documentation}/MapGISTileAvailability.html +104 -47
- package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
- package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
- package/{documention → documentation}/MeasureAreaTool.html +53 -14
- package/{documention → documentation}/MeasureLengthTool.html +17 -14
- package/{documention → documentation}/MeasureSlopeTool.html +73 -34
- package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
- package/{documention → documentation}/ModelFilterTool.html +27 -32
- package/{documention → documentation}/ModelTransformTool.html +195 -110
- package/{documention → documentation}/NavigationControl.html +25 -5
- package/{documention → documentation}/NavigationTool.html +36 -14
- package/{documention → documentation}/NormalPerspective.html +33 -7
- package/documentation/OpenWeatherImageryProvider.html +1133 -0
- package/{documention → documentation}/PointFluidSource.html +22 -13
- package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
- package/{documention → documentation}/Popup.html +246 -63
- package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
- package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
- package/{documention → documentation}/Promise.html +6 -6
- package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
- package/{documention → documentation}/Puddle.html +30 -9
- package/{documention → documentation}/RadarMaterialProperty.html +73 -18
- package/{documention → documentation}/ReImg.html +164 -15
- package/{documention → documentation}/RenderUtil.html +158 -6
- package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
- package/{documention → documentation}/RiverGeometry.html +7 -7
- package/{documention → documentation}/RoamParticle.html +86 -79
- package/{documention → documentation}/RouteAnimationControl.html +37 -15
- package/{documention → documentation}/RouteAnimationLabel.html +39 -12
- package/{documention → documentation}/RouteAnimationModel.html +43 -16
- package/{documention → documentation}/RouteAnimationPath.html +156 -18
- package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
- package/{documention → documentation}/RouteAnimationTool.html +244 -24
- package/documentation/S3MTileset.html +570 -0
- package/{documention → documentation}/SSR.html +20 -39
- package/{documention → documentation}/SceneView.html +615 -419
- package/documentation/SceneViewUtil.html +1253 -0
- package/documentation/Screenshot.html +964 -0
- package/{documention → documentation}/SelectTool.html +31 -77
- package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
- package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
- package/{documention → documentation}/SingleImageryProvider.html +32 -10
- package/{documention → documentation}/SketchEditor.html +280 -127
- package/documentation/SkyLineAnalysis.html +576 -0
- package/{documention → documentation}/StableParticle.html +165 -46
- package/{documention → documentation}/Style.html +249 -249
- package/{documention → documentation}/TerrainAnalyse.html +391 -105
- package/{documention → documentation}/TerrainExcavateTool.html +99 -3
- package/{documention → documentation}/TerrainProfile.html +198 -56
- package/{documention → documentation}/ThemeManager.html +93 -42
- package/{documention → documentation}/Tooltip.html +35 -18
- package/documentation/TransformTool.html +1010 -0
- package/{documention → documentation}/TriangulationTool.html +122 -83
- package/documentation/UnderfluidCaustic.html +843 -0
- package/documentation/UnderfluidDistortion.html +600 -0
- package/documentation/UnderfluidFog.html +843 -0
- package/documentation/UnderfluidGodRay.html +843 -0
- package/documentation/UnderwaterCaustic.html +867 -0
- package/documentation/UnderwaterDistortion.html +578 -0
- package/documentation/UnderwaterFog.html +867 -0
- package/documentation/UnderwaterGodRay.html +821 -0
- package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
- package/{documention → documentation}/UserInterfaceControl.html +28 -9
- package/documentation/VectorTileLayerUtil.html +1364 -0
- package/{documention → documentation}/VisiblityAnalysis.html +15 -12
- package/{documention → documentation}/VolumeCloud.html +113 -21
- package/{documention → documentation}/VolumeFluidSource.html +24 -8
- package/{documention → documentation}/WFSLayerUtil.html +39 -10
- package/documentation/WFSLayerView.html +1353 -0
- package/documentation/WMSLayerUtil.html +879 -0
- package/documentation/WMTSLayerUtil.html +877 -0
- package/documentation/WaterDepth.html +583 -0
- package/{documention → documentation}/WaterReflection.html +29 -26
- package/documentation/WaterSurface.html +2555 -0
- package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
- package/documentation/WaterSurfaceFoam.html +1029 -0
- package/documentation/WaterSurfaceSSR.html +867 -0
- package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
- package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
- package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
- package/documentation/WebTileLayerUtil.html +877 -0
- package/{documention → documentation}/Wind3D.html +133 -54
- package/{documention → documentation}/ZoomNavigationControl.html +145 -9
- package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
- package/{documention → documentation}/global.html +14130 -2719
- package/{documention → documentation}/index.html +1 -1
- package/{documention → documentation}/initializeOptions.html +2 -2
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +96 -95
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +47 -46
- package/{documention → documentation}/module.exports_module.exports.html +2 -2
- package/{documention → documentation}/nav.html +3267 -1392
- package/documentation/nav.json +320 -0
- package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
- package/documentation/styles/adminlte/skin-blue.min.css +135 -0
- package/documentation/styles/bootstrap.min.css +7005 -0
- package/documentation/styles/common.css +173 -0
- package/documentation/styles/examples.css +119 -0
- package/{documention → documentation}/styles/font-awesome.css +692 -687
- package/documentation/styles/header.css +558 -0
- package/documentation/styles/jaguar.css +551 -0
- package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
- package/{documention → documentation}/styles/style.customize.css +83 -99
- package/package.json +42 -22
- package/dist/es5/webclient-cesium-plugin.min.js +0 -77
- package/dist/es5/webclient-common.min.js +0 -159
- package/dist/webclient-cesium-plugin-es6.min.js +0 -77
- package/documention/CircleWaveMaterialProperty.html +0 -382
- package/documention/DynamicEntityVisualizer.html +0 -348
- package/documention/DynamicLabelLayer.html +0 -1841
- package/documention/GroundPrimitiveLayer.html +0 -1675
- package/documention/HashMap.html +0 -4197
- package/documention/ModelEditor.html +0 -374
- package/documention/SceneViewCesium.html +0 -5544
- package/documention/Screenshot.html +0 -773
- package/documention/SketchEditorCesium.html +0 -1571
- package/documention/createColorTexture.html +0 -369
- package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
- package/documention/isCounterClockwise.html +0 -760
- package/documention/scripts/app.min.js +0 -1
- package/documention/scripts/jquery.min.map +0 -1
- package/documention/scripts/search.js +0 -20
- package/documention/scripts/sideBar.js +0 -228
- package/documention/scripts/underscore-min.map +0 -1
- package/documention/styles/adminlte/AdminLTE.min.css +0 -7
- package/documention/styles/adminlte/skin-blue.min.css +0 -1
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +0 -1
- package/documention/styles/bootstrap.min.css +0 -6
- package/documention/styles/c.png +0 -0
- package/documention/styles/common.css +0 -175
- package/documention/styles/examples.css +0 -116
- package/documention/styles/header.css +0 -556
- package/documention/styles/iframe.css +0 -29
- package/documention/styles/jaguar.css +0 -553
- package/documention/styles/m.png +0 -0
- package/documention/styles/reset.css +0 -44
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
- /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
- /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
- /package/{documention → documentation}/scripts/jquery.min.js +0 -0
- /package/{documention → documentation}/scripts/linenumber.js +0 -0
- /package/{documention → documentation}/scripts/main.js +0 -0
- /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
- /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
- /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
- /package/{documention → documentation}/scripts/underscore-min.js +0 -0
- /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
- /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<div class="navigationDiv">
|
|
59
59
|
</div>
|
|
60
60
|
<div class="main content-wrapper examples-container">
|
|
61
|
-
<h1 class="page-title" data-filename="
|
|
61
|
+
<h1 class="page-title" data-filename="IGSMapImageLayerView.html">Class: IGSMapImageLayerView</h1>
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<section>
|
|
67
67
|
|
|
68
68
|
<header>
|
|
69
|
-
<h2></span>
|
|
69
|
+
<h2></span>IGSMapImageLayerView
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
</h2>
|
|
@@ -81,28 +81,26 @@
|
|
|
81
81
|
|
|
82
82
|
<dt>
|
|
83
83
|
<div class="nameContainer">
|
|
84
|
-
<h4 class="name" id="
|
|
84
|
+
<h4 class="name" id="IGSMapImageLayerView">
|
|
85
85
|
|
|
86
|
-
new
|
|
86
|
+
new IGSMapImageLayerView<span class="signature">()</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
|
|
91
|
+
document/IGSMapImageLayerView.js, line 5
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>支持如下方法:</h5>
|
|
98
|
-
<a href='#toPrimitive'>[1、将单个要素或要素集合转换为Cesium原生Primitive的方法]</a><br/></p>
|
|
99
|
-
|
|
100
97
|
</dt>
|
|
101
98
|
<dd>
|
|
102
99
|
|
|
103
100
|
|
|
104
101
|
<div class="description">
|
|
105
|
-
<p>
|
|
102
|
+
<p>IGS 地图服务图层视图(Cesium)。</p>
|
|
103
|
+
<p>负责管理地图服务图层在 Cesium 中的加载、刷新、卷帘裁剪及可见性同步。</p>
|
|
106
104
|
</div>
|
|
107
105
|
|
|
108
106
|
|
|
@@ -149,12 +147,39 @@
|
|
|
149
147
|
|
|
150
148
|
|
|
151
149
|
|
|
150
|
+
<h5>Example</h5>
|
|
151
|
+
|
|
152
|
+
<p class="code-caption"><h7>创建 IGSMapImage 图层视图</h7></p>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
157
|
+
const { getLayerView } = zondy.cesium.document
|
|
158
|
+
|
|
159
|
+
// ES6引入方式
|
|
160
|
+
import { getLayerView } from '@mapgis/webclient-cesium-plugin'
|
|
161
|
+
|
|
162
|
+
const layerView = getLayerView(sceneView, mapImageLayer)</code></pre>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
152
166
|
</dd>
|
|
153
167
|
|
|
154
168
|
|
|
155
169
|
</div>
|
|
156
170
|
|
|
157
171
|
|
|
172
|
+
<h3 class="subsection-title">Extends</h3>
|
|
173
|
+
<ul>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<li>LayerView</li>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
</ul>
|
|
182
|
+
|
|
158
183
|
|
|
159
184
|
|
|
160
185
|
|
|
@@ -175,14 +200,14 @@
|
|
|
175
200
|
|
|
176
201
|
<dt>
|
|
177
202
|
<div class="nameContainer">
|
|
178
|
-
<h4 class="name" id="
|
|
203
|
+
<h4 class="name" id="onAdd">
|
|
179
204
|
|
|
180
|
-
|
|
205
|
+
onAdd<span class="signature">(event)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="Promise.html">Promise</a>.<LayerView>}</span>
|
|
181
206
|
</h4>
|
|
182
207
|
|
|
183
208
|
|
|
184
209
|
<div class="tag-source">
|
|
185
|
-
|
|
210
|
+
document/IGSMapImageLayerView.js, line 29
|
|
186
211
|
</div>
|
|
187
212
|
|
|
188
213
|
</div>
|
|
@@ -192,6 +217,10 @@
|
|
|
192
217
|
<dd>
|
|
193
218
|
|
|
194
219
|
|
|
220
|
+
<div class="description">
|
|
221
|
+
<p>添加图层视图</p>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
195
224
|
|
|
196
225
|
|
|
197
226
|
|
|
@@ -220,13 +249,13 @@
|
|
|
220
249
|
|
|
221
250
|
<tr>
|
|
222
251
|
|
|
223
|
-
<td class="name"><code>
|
|
252
|
+
<td class="name"><code>event</code></td>
|
|
224
253
|
|
|
225
254
|
|
|
226
255
|
<td class="type">
|
|
227
256
|
|
|
228
257
|
|
|
229
|
-
<span class="param-type"
|
|
258
|
+
<span class="param-type">LayerEvent</span>
|
|
230
259
|
|
|
231
260
|
|
|
232
261
|
|
|
@@ -236,7 +265,7 @@
|
|
|
236
265
|
|
|
237
266
|
<td class="description last">
|
|
238
267
|
|
|
239
|
-
|
|
268
|
+
<p>图层事件</p></td>
|
|
240
269
|
</tr>
|
|
241
270
|
|
|
242
271
|
|
|
@@ -297,11 +326,11 @@
|
|
|
297
326
|
|
|
298
327
|
<td class="type">
|
|
299
328
|
|
|
300
|
-
|
|
329
|
+
<a href="Promise.html">Promise</a>.<LayerView>
|
|
301
330
|
|
|
302
331
|
|
|
303
332
|
</td>
|
|
304
|
-
<td class="description last"
|
|
333
|
+
<td class="description last">图层视图</td>
|
|
305
334
|
</tr>
|
|
306
335
|
|
|
307
336
|
</tbody>
|
|
@@ -316,14 +345,14 @@
|
|
|
316
345
|
|
|
317
346
|
<dt>
|
|
318
347
|
<div class="nameContainer">
|
|
319
|
-
<h4 class="name" id="
|
|
348
|
+
<h4 class="name" id="onRemove">
|
|
320
349
|
|
|
321
|
-
|
|
350
|
+
onRemove<span class="signature">(event)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="Promise.html">Promise</a>.<LayerView>}</span>
|
|
322
351
|
</h4>
|
|
323
352
|
|
|
324
353
|
|
|
325
354
|
<div class="tag-source">
|
|
326
|
-
|
|
355
|
+
document/IGSMapImageLayerView.js, line 42
|
|
327
356
|
</div>
|
|
328
357
|
|
|
329
358
|
</div>
|
|
@@ -333,6 +362,10 @@
|
|
|
333
362
|
<dd>
|
|
334
363
|
|
|
335
364
|
|
|
365
|
+
<div class="description">
|
|
366
|
+
<p>移除图层视图</p>
|
|
367
|
+
</div>
|
|
368
|
+
|
|
336
369
|
|
|
337
370
|
|
|
338
371
|
|
|
@@ -361,13 +394,13 @@
|
|
|
361
394
|
|
|
362
395
|
<tr>
|
|
363
396
|
|
|
364
|
-
<td class="name"><code>
|
|
397
|
+
<td class="name"><code>event</code></td>
|
|
365
398
|
|
|
366
399
|
|
|
367
400
|
<td class="type">
|
|
368
401
|
|
|
369
402
|
|
|
370
|
-
<span class="param-type"
|
|
403
|
+
<span class="param-type">LayerEvent</span>
|
|
371
404
|
|
|
372
405
|
|
|
373
406
|
|
|
@@ -377,7 +410,7 @@
|
|
|
377
410
|
|
|
378
411
|
<td class="description last">
|
|
379
412
|
|
|
380
|
-
|
|
413
|
+
<p>图层事件</p></td>
|
|
381
414
|
</tr>
|
|
382
415
|
|
|
383
416
|
|
|
@@ -438,11 +471,11 @@
|
|
|
438
471
|
|
|
439
472
|
<td class="type">
|
|
440
473
|
|
|
441
|
-
|
|
474
|
+
<a href="Promise.html">Promise</a>.<LayerView>
|
|
442
475
|
|
|
443
476
|
|
|
444
477
|
</td>
|
|
445
|
-
<td class="description last"
|
|
478
|
+
<td class="description last">图层视图</td>
|
|
446
479
|
</tr>
|
|
447
480
|
|
|
448
481
|
</tbody>
|
|
@@ -457,14 +490,14 @@
|
|
|
457
490
|
|
|
458
491
|
<dt>
|
|
459
492
|
<div class="nameContainer">
|
|
460
|
-
<h4 class="name" id="
|
|
493
|
+
<h4 class="name" id="onUpdate">
|
|
461
494
|
|
|
462
|
-
|
|
495
|
+
onUpdate<span class="signature">(event)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="Promise.html">Promise</a>.<LayerView>}</span>
|
|
463
496
|
</h4>
|
|
464
497
|
|
|
465
498
|
|
|
466
499
|
<div class="tag-source">
|
|
467
|
-
|
|
500
|
+
document/IGSMapImageLayerView.js, line 53
|
|
468
501
|
</div>
|
|
469
502
|
|
|
470
503
|
</div>
|
|
@@ -475,7 +508,7 @@
|
|
|
475
508
|
|
|
476
509
|
|
|
477
510
|
<div class="description">
|
|
478
|
-
<p
|
|
511
|
+
<p>更新图层视图</p>
|
|
479
512
|
</div>
|
|
480
513
|
|
|
481
514
|
|
|
@@ -506,16 +539,13 @@
|
|
|
506
539
|
|
|
507
540
|
<tr>
|
|
508
541
|
|
|
509
|
-
<td class="name"><code>
|
|
542
|
+
<td class="name"><code>event</code></td>
|
|
510
543
|
|
|
511
544
|
|
|
512
545
|
<td class="type">
|
|
513
546
|
|
|
514
547
|
|
|
515
|
-
<span class="param-type">
|
|
516
|
-
|
|
|
517
|
-
|
|
518
|
-
<span class="param-type">Array.<Feature></span>
|
|
548
|
+
<span class="param-type">LayerViewUpdateEvent</span>
|
|
519
549
|
|
|
520
550
|
|
|
521
551
|
|
|
@@ -525,7 +555,7 @@
|
|
|
525
555
|
|
|
526
556
|
<td class="description last">
|
|
527
557
|
|
|
528
|
-
<p
|
|
558
|
+
<p>图层事件</p></td>
|
|
529
559
|
</tr>
|
|
530
560
|
|
|
531
561
|
|
|
@@ -586,11 +616,11 @@
|
|
|
586
616
|
|
|
587
617
|
<td class="type">
|
|
588
618
|
|
|
589
|
-
|
|
619
|
+
<a href="Promise.html">Promise</a>.<LayerView>
|
|
590
620
|
|
|
591
621
|
|
|
592
622
|
</td>
|
|
593
|
-
<td class="description last"
|
|
623
|
+
<td class="description last">图层视图</td>
|
|
594
624
|
</tr>
|
|
595
625
|
|
|
596
626
|
</tbody>
|
|
@@ -599,14 +629,6 @@
|
|
|
599
629
|
|
|
600
630
|
|
|
601
631
|
|
|
602
|
-
<h5>Example</h5>
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
<pre class="prettyprint"><code>const url = 'http://10.10.130.72:8089/igs/rest/services/Map/湖北省4547/FeatureServer'
|
|
607
632
|
const renderer = new UniqueValueRenderer({
|
|
608
633
|
//...
|
|
609
634
|
})
|
|
610
635
|
// 创建IGSFeatureLayer对象
|
|
611
636
|
const igsFeatureLayer = new IGSFeatureLayer({
|
|
612
637
|
url,
|
|
613
638
|
})
|
|
614
639
|
// 请求获取要素集
|
|
615
640
|
const featureSet = await igsFeatureLayer.queryFeatures()
|
|
616
641
|
const features = featureSet.features
|
|
617
642
|
// 为要素集设置renderer
|
|
618
643
|
RendererUtil.updateRenderer(features, renderer)
|
|
619
644
|
// 将要素集转换为原生Primitive对象
|
|
620
645
|
const primitives = IGSFeatureLayerUtil.toPrimitive(features, {
|
|
621
646
|
viewer
|
|
622
647
|
})
|
|
623
648
|
// 将Primitive对象添加到场景中
|
|
624
649
|
for (let i = 0; i < primitives.length; i++) {
|
|
625
650
|
viewer.scene.primitives.add(primitives[i])
|
|
626
651
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
652
|
</dd>
|
|
631
653
|
|
|
632
654
|
</dl>
|
|
@@ -623,7 +645,7 @@
|
|
|
623
645
|
|
|
624
646
|
|
|
625
647
|
<footer>
|
|
626
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
648
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
627
649
|
</footer>
|
|
628
650
|
</div>
|
|
629
651
|
</div>
|