@mapgis/webclient-cesium-plugin 17.8.0 → 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 -474
- 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 +92 -41
- 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
|
@@ -94,25 +94,15 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、添加一个ArcGIS地图图片图层:原生接口开发</a><br>
|
|
99
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/edit/modelEditor/m3d-model-editor' target='_blank'>2、模型编辑(M3D)</a><br>
|
|
100
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>3、卷帘</a><br>
|
|
101
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#commonAnalyse' target='_blank'>4、三维分析</a><br>
|
|
102
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#modelAnalyse' target='_blank'>5、模型分析</a><br>
|
|
103
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#geologyAnalyse' target='_blank'>6、地质体分析</a><br>
|
|
104
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#themeLayer' target='_blank'>7、专题图</a><br>
|
|
105
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#commonVisualization' target='_blank'>8、场景美化</a><br>
|
|
106
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#sceneLayer' target='_blank'>9、更多图层加载示例</a>
|
|
107
|
-
<h5>支持如下方法:</h5>
|
|
108
|
-
<a href='#fromUrl'>[1、通过URL来构造一个CesiumTerrainProvider对象]</a><br></p>
|
|
109
|
-
|
|
110
97
|
</dt>
|
|
111
98
|
<dd>
|
|
112
99
|
|
|
113
100
|
|
|
114
101
|
<div class="description">
|
|
115
|
-
<p>
|
|
102
|
+
<p>Cesium 原生 3D Tiles 集合封装类。</p>
|
|
103
|
+
<p>该类用于统一 Cesium 3D Tiles 图层的创建方式。推荐通过 <code>fromUrl</code> 加载 tileset,
|
|
104
|
+
当运行时 Cesium 版本缺少静态 <code>fromUrl</code> 时会自动回退到构造函数路径,以保持调用
|
|
105
|
+
侧接入代码一致。</p>
|
|
116
106
|
</div>
|
|
117
107
|
|
|
118
108
|
|
|
@@ -161,16 +151,17 @@
|
|
|
161
151
|
|
|
162
152
|
<h5>Example</h5>
|
|
163
153
|
|
|
164
|
-
<p class="code-caption"><h7 id='example1'>添加一个
|
|
154
|
+
<p class="code-caption"><h7 id='example1'>添加一个 Cesium 3D Tiles 图层</h7></p>
|
|
165
155
|
|
|
166
156
|
|
|
167
157
|
|
|
168
158
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
169
159
|
const { Cesium3DTileset } = zondy.cesium
|
|
160
|
+
|
|
170
161
|
// ES6引入方式
|
|
171
|
-
import { Cesium3DTileset } from
|
|
162
|
+
import { Cesium3DTileset } from '@mapgis/webclient-cesium-plugin'
|
|
172
163
|
|
|
173
|
-
const tileset = await Cesium3DTileset.fromUrl(
|
|
164
|
+
const tileset = await Cesium3DTileset.fromUrl('http://10.10.130.72:8200/3DData/ModelCache/3DTileset/1.0/dayantaresult/tileset.json')
|
|
174
165
|
viewer.scene.primitives.add(tileset)</code></pre>
|
|
175
166
|
|
|
176
167
|
|
|
@@ -203,12 +194,12 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
203
194
|
<div class="nameContainer">
|
|
204
195
|
<h4 class="name" id=".fromUrl">
|
|
205
196
|
|
|
206
|
-
Cesium3DTileset.fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="
|
|
197
|
+
Cesium3DTileset.fromUrl<span class="signature">(url, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="Promise.html">Promise</a>.<Cesium.Cesium3DTileset>|Cesium.Cesium3DTileset}</span>
|
|
207
198
|
</h4>
|
|
208
199
|
|
|
209
200
|
|
|
210
201
|
<div class="tag-source">
|
|
211
|
-
engineExtensions/core/Cesium3DTileset.js, line
|
|
202
|
+
engineExtensions/core/Cesium3DTileset.js, line 21
|
|
212
203
|
</div>
|
|
213
204
|
|
|
214
205
|
</div>
|
|
@@ -219,7 +210,7 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
219
210
|
|
|
220
211
|
|
|
221
212
|
<div class="description">
|
|
222
|
-
<p
|
|
213
|
+
<p>通过服务地址创建原生 Cesium 3D Tiles 集合对象。</p>
|
|
223
214
|
</div>
|
|
224
215
|
|
|
225
216
|
|
|
@@ -240,6 +231,8 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
240
231
|
<th>Type</th>
|
|
241
232
|
|
|
242
233
|
|
|
234
|
+
<th>Default</th>
|
|
235
|
+
|
|
243
236
|
|
|
244
237
|
<th class="last">Description</th>
|
|
245
238
|
</tr>
|
|
@@ -263,10 +256,19 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
263
256
|
</td>
|
|
264
257
|
|
|
265
258
|
|
|
259
|
+
<td class="default">
|
|
260
|
+
|
|
261
|
+
</td>
|
|
262
|
+
|
|
266
263
|
|
|
267
264
|
<td class="description last">
|
|
268
265
|
|
|
269
|
-
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<p>Cesium 3D Tiles 服务地址,通常指向 <code>tileset.json</code>。</p></td>
|
|
270
272
|
</tr>
|
|
271
273
|
|
|
272
274
|
|
|
@@ -286,10 +288,23 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
286
288
|
</td>
|
|
287
289
|
|
|
288
290
|
|
|
291
|
+
<td class="default">
|
|
292
|
+
|
|
293
|
+
{}
|
|
294
|
+
|
|
295
|
+
</td>
|
|
296
|
+
|
|
289
297
|
|
|
290
298
|
<td class="description last">
|
|
291
299
|
|
|
292
|
-
|
|
300
|
+
|
|
301
|
+
<span class="optional"> 可选</span>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
<p>透传给原生 <code>Cesium.Cesium3DTileset</code> 的附加构造参数。</p></td>
|
|
293
308
|
</tr>
|
|
294
309
|
|
|
295
310
|
|
|
@@ -350,11 +365,14 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
350
365
|
|
|
351
366
|
<td class="type">
|
|
352
367
|
|
|
353
|
-
<a href="
|
|
368
|
+
<a href="Promise.html">Promise</a>.<Cesium.Cesium3DTileset>
|
|
369
|
+
|
|
|
370
|
+
|
|
371
|
+
Cesium.Cesium3DTileset
|
|
354
372
|
|
|
355
373
|
|
|
356
374
|
</td>
|
|
357
|
-
<td class="description last"
|
|
375
|
+
<td class="description last">已初始化的 tileset;具体返回形态取决于运行时 Cesium 版本。</td>
|
|
358
376
|
</tr>
|
|
359
377
|
|
|
360
378
|
</tbody>
|
|
@@ -379,7 +397,7 @@ viewer.scene.primitives.add(tileset)</code></pre>
|
|
|
379
397
|
|
|
380
398
|
|
|
381
399
|
<footer>
|
|
382
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
400
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
383
401
|
</footer>
|
|
384
402
|
</div>
|
|
385
403
|
</div>
|
|
@@ -94,15 +94,14 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、热力图</a><br></p>
|
|
99
|
-
|
|
100
97
|
</dt>
|
|
101
98
|
<dd>
|
|
102
99
|
|
|
103
100
|
|
|
104
101
|
<div class="description">
|
|
105
102
|
<p>热力图</p>
|
|
103
|
+
<p>该对象提供 Cesium 场景热力图能力,支持根据经纬度点数据生成热力渲染图层。
|
|
104
|
+
适用于热点分布展示、密度分析可视化等场景。</p>
|
|
106
105
|
</div>
|
|
107
106
|
|
|
108
107
|
|
|
@@ -160,6 +159,7 @@ http://10.10.130.72:8086/#/modules/cesium/visualization/themeLayer/heat-map
|
|
|
160
159
|
|
|
161
160
|
// ES5引入方式
|
|
162
161
|
const { CesiumHeatmap } = zondy.cesium
|
|
162
|
+
|
|
163
163
|
// ES6引入方式
|
|
164
164
|
import { CesiumHeatmap } from "@mapgis/webclient-cesium-plugin"
|
|
165
165
|
|
|
@@ -265,7 +265,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
265
265
|
|
|
266
266
|
|
|
267
267
|
<div class="description">
|
|
268
|
-
<p
|
|
268
|
+
<p>创建并返回一个热力图实例。</p>
|
|
269
269
|
</div>
|
|
270
270
|
|
|
271
271
|
|
|
@@ -327,7 +327,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
|
|
330
|
-
<p
|
|
330
|
+
<p>场景视图对象。</p></td>
|
|
331
331
|
</tr>
|
|
332
332
|
|
|
333
333
|
|
|
@@ -341,6 +341,9 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
341
341
|
|
|
342
342
|
|
|
343
343
|
<span class="param-type">Cesium.Rectangle</span>
|
|
344
|
+
|
|
|
345
|
+
|
|
346
|
+
<span class="param-type">Object</span>
|
|
344
347
|
|
|
345
348
|
|
|
346
349
|
|
|
@@ -363,7 +366,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
363
366
|
|
|
364
367
|
|
|
365
368
|
|
|
366
|
-
<p
|
|
369
|
+
<p>热力图覆盖范围,可传入 Cesium 矩形或包含 <code>north/east/south/west</code> 的范围对象。</p></td>
|
|
367
370
|
</tr>
|
|
368
371
|
|
|
369
372
|
|
|
@@ -399,7 +402,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
399
402
|
|
|
400
403
|
|
|
401
404
|
|
|
402
|
-
<p
|
|
405
|
+
<p>可选参数。</p>
|
|
403
406
|
|
|
404
407
|
|
|
405
408
|
<table class="params">
|
|
@@ -453,7 +456,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
453
456
|
|
|
454
457
|
|
|
455
458
|
|
|
456
|
-
<p
|
|
459
|
+
<p>热力图画布最小尺寸。</p></td>
|
|
457
460
|
</tr>
|
|
458
461
|
|
|
459
462
|
|
|
@@ -489,7 +492,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
489
492
|
|
|
490
493
|
|
|
491
494
|
|
|
492
|
-
<p
|
|
495
|
+
<p>热力图画布最大尺寸。</p></td>
|
|
493
496
|
</tr>
|
|
494
497
|
|
|
495
498
|
|
|
@@ -525,7 +528,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
525
528
|
|
|
526
529
|
|
|
527
530
|
|
|
528
|
-
<p
|
|
531
|
+
<p>未显式指定半径时使用的数据点大小因子。</p></td>
|
|
529
532
|
</tr>
|
|
530
533
|
|
|
531
534
|
|
|
@@ -561,7 +564,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
561
564
|
|
|
562
565
|
|
|
563
566
|
|
|
564
|
-
<p
|
|
567
|
+
<p>边界额外留白系数。</p></td>
|
|
565
568
|
</tr>
|
|
566
569
|
|
|
567
570
|
|
|
@@ -597,7 +600,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
597
600
|
|
|
598
601
|
|
|
599
602
|
|
|
600
|
-
<p
|
|
603
|
+
<p>热力图最大不透明度。</p></td>
|
|
601
604
|
</tr>
|
|
602
605
|
|
|
603
606
|
|
|
@@ -633,7 +636,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
633
636
|
|
|
634
637
|
|
|
635
638
|
|
|
636
|
-
<p
|
|
639
|
+
<p>热力图最小不透明度。</p></td>
|
|
637
640
|
</tr>
|
|
638
641
|
|
|
639
642
|
|
|
@@ -669,7 +672,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
669
672
|
|
|
670
673
|
|
|
671
674
|
|
|
672
|
-
<p
|
|
675
|
+
<p>模糊值,数值越大渐变越平滑。</p></td>
|
|
673
676
|
</tr>
|
|
674
677
|
|
|
675
678
|
|
|
@@ -705,7 +708,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
705
708
|
|
|
706
709
|
|
|
707
710
|
|
|
708
|
-
<p
|
|
711
|
+
<p>热力图颜色梯度。</p></td>
|
|
709
712
|
</tr>
|
|
710
713
|
|
|
711
714
|
|
|
@@ -741,7 +744,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
741
744
|
|
|
742
745
|
|
|
743
746
|
|
|
744
|
-
<p
|
|
747
|
+
<p>是否允许在视图变化时自动重算热力半径。</p></td>
|
|
745
748
|
</tr>
|
|
746
749
|
|
|
747
750
|
|
|
@@ -812,7 +815,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
812
815
|
|
|
813
816
|
|
|
814
817
|
</td>
|
|
815
|
-
<td class="description last"
|
|
818
|
+
<td class="description last">热力图实例对象。</td>
|
|
816
819
|
</tr>
|
|
817
820
|
|
|
818
821
|
</tbody>
|
|
@@ -834,7 +837,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
834
837
|
|
|
835
838
|
|
|
836
839
|
<div class="tag-source">
|
|
837
|
-
engineExtensions/analysis/CesiumHeatmap.js, line
|
|
840
|
+
engineExtensions/analysis/CesiumHeatmap.js, line 198
|
|
838
841
|
</div>
|
|
839
842
|
|
|
840
843
|
</div>
|
|
@@ -909,7 +912,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
909
912
|
|
|
910
913
|
|
|
911
914
|
<footer>
|
|
912
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
915
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
913
916
|
</footer>
|
|
914
917
|
</div>
|
|
915
918
|
</div>
|
|
@@ -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="CesiumNavigation.html">Class: CesiumNavigation</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>CesiumNavigation
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
</h2>
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
|
|
82
82
|
<dt>
|
|
83
83
|
<div class="nameContainer">
|
|
84
|
-
<h4 class="name" id="
|
|
84
|
+
<h4 class="name" id="CesiumNavigation">
|
|
85
85
|
|
|
86
|
-
new
|
|
86
|
+
new CesiumNavigation<span class="signature">(viewerCesiumWidget, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/
|
|
91
|
+
engineExtensions/widgets/navigation/CesiumNavigation.js, line 5
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p>
|
|
102
|
+
<p>Cesium 导航控件容器对象。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -130,80 +130,31 @@
|
|
|
130
130
|
|
|
131
131
|
<tr>
|
|
132
132
|
|
|
133
|
-
<td class="name"><code>
|
|
133
|
+
<td class="name"><code>viewerCesiumWidget</code></td>
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
<td class="type">
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
<span class="param-type">
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</td>
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
<td class="description last">
|
|
148
|
-
|
|
149
|
-
<p>构造参数</p>
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
<table class="params">
|
|
153
|
-
<thead>
|
|
154
|
-
<tr>
|
|
155
|
-
|
|
156
|
-
<th>Name</th>
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<th>Type</th>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<th>Default</th>
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
<th class="last">Description</th>
|
|
166
|
-
</tr>
|
|
167
|
-
</thead>
|
|
168
|
-
|
|
169
|
-
<tbody>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
<tr>
|
|
173
|
-
|
|
174
|
-
<td class="name"><code>url</code></td>
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<td class="type">
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<span class="param-type">Cesium.Resource</span>
|
|
139
|
+
<span class="param-type">Viewer</span>
|
|
181
140
|
|
|
|
182
141
|
|
|
183
|
-
<span class="param-type">
|
|
142
|
+
<span class="param-type">Cesium.Widget</span>
|
|
184
143
|
|
|
185
144
|
|
|
186
145
|
|
|
187
146
|
</td>
|
|
188
147
|
|
|
189
148
|
|
|
190
|
-
<td class="default">
|
|
191
|
-
|
|
192
|
-
''
|
|
193
|
-
|
|
194
|
-
</td>
|
|
195
|
-
|
|
196
149
|
|
|
197
150
|
<td class="description last">
|
|
198
151
|
|
|
199
152
|
|
|
200
|
-
<span class="optional"> 可选</span>
|
|
201
|
-
|
|
202
153
|
|
|
203
154
|
|
|
204
155
|
|
|
205
156
|
|
|
206
|
-
<p
|
|
157
|
+
<p>Cesium <code>Viewer</code> 或 <code>CesiumWidget</code> 实例。</p></td>
|
|
207
158
|
</tr>
|
|
208
159
|
|
|
209
160
|
|
|
@@ -216,19 +167,13 @@
|
|
|
216
167
|
<td class="type">
|
|
217
168
|
|
|
218
169
|
|
|
219
|
-
<span class="param-type">
|
|
170
|
+
<span class="param-type">Object</span>
|
|
220
171
|
|
|
221
172
|
|
|
222
173
|
|
|
223
174
|
</td>
|
|
224
175
|
|
|
225
176
|
|
|
226
|
-
<td class="default">
|
|
227
|
-
|
|
228
|
-
{}
|
|
229
|
-
|
|
230
|
-
</td>
|
|
231
|
-
|
|
232
177
|
|
|
233
178
|
<td class="description last">
|
|
234
179
|
|
|
@@ -239,13 +184,7 @@
|
|
|
239
184
|
|
|
240
185
|
|
|
241
186
|
|
|
242
|
-
<p
|
|
243
|
-
</tr>
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
</tbody>
|
|
247
|
-
</table>
|
|
248
|
-
</td>
|
|
187
|
+
<p>导航控件配置参数。</p></td>
|
|
249
188
|
</tr>
|
|
250
189
|
|
|
251
190
|
|
|
@@ -288,26 +227,54 @@
|
|
|
288
227
|
|
|
289
228
|
|
|
290
229
|
|
|
230
|
+
<h5>Returns:</h5>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<table class="params">
|
|
235
|
+
<thead>
|
|
236
|
+
<tr>
|
|
237
|
+
|
|
238
|
+
<th>Type</th>
|
|
239
|
+
<th class="last">Description</th>
|
|
240
|
+
</tr>
|
|
241
|
+
</thead>
|
|
242
|
+
<tbody>
|
|
243
|
+
|
|
244
|
+
<tr>
|
|
245
|
+
|
|
246
|
+
<td class="type">
|
|
247
|
+
|
|
248
|
+
Object
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</td>
|
|
252
|
+
<td class="description last">返回导航控件容器实例。</td>
|
|
253
|
+
</tr>
|
|
254
|
+
|
|
255
|
+
</tbody>
|
|
256
|
+
</table>
|
|
257
|
+
|
|
258
|
+
|
|
291
259
|
|
|
292
260
|
|
|
293
261
|
<h5>Example</h5>
|
|
294
262
|
|
|
263
|
+
<p class="code-caption"><h7>创建导航控件容器</h7></p>
|
|
264
|
+
|
|
295
265
|
|
|
296
266
|
|
|
297
267
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
298
|
-
const {
|
|
268
|
+
const { NavigationTool } = zondy.cesium
|
|
269
|
+
|
|
299
270
|
// ES6引入方式
|
|
300
|
-
import {
|
|
271
|
+
import { NavigationTool } from "@mapgis/webclient-cesium-plugin"
|
|
301
272
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
isVisible: true,
|
|
308
|
-
context: viewer.scene._context
|
|
309
|
-
})
|
|
310
|
-
viewer.scene.primitives.add(s3mTileSet)</code></pre>
|
|
273
|
+
const viewer = new Cesium.Viewer('cesiumContainer')
|
|
274
|
+
viewer.extend(NavigationTool, {
|
|
275
|
+
enableCompass: true,
|
|
276
|
+
enableZoomControls: true
|
|
277
|
+
})</code></pre>
|
|
311
278
|
|
|
312
279
|
|
|
313
280
|
|
|
@@ -343,7 +310,7 @@ viewer.scene.primitives.add(s3mTileSet)</code></pre>
|
|
|
343
310
|
|
|
344
311
|
|
|
345
312
|
<footer>
|
|
346
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
313
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
347
314
|
</footer>
|
|
348
315
|
</div>
|
|
349
316
|
</div>
|