@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.10

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.
Files changed (227) hide show
  1. package/README.md +280 -482
  2. package/dist/esm/commonjsHelpers.js +1 -0
  3. package/dist/esm/s3m.js +1 -0
  4. package/dist/esm/webclient-cesium-plugin.js +1 -0
  5. package/dist/umd/webclient-cesium-plugin.min.js +1 -0
  6. package/{documention → documentation}/AlgorithmLib.html +169 -149
  7. package/{documention → documentation}/AngulationTool.html +85 -51
  8. package/{documention → documentation}/AnimationTool.html +30 -30
  9. package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
  10. package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
  11. package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
  12. package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
  13. package/{documention → documentation}/BaseImageryProvider.html +2 -2
  14. package/{documention → documentation}/Cesium.Material.html +2 -2
  15. package/{documention → documentation}/Cesium.Viewer.html +5 -5
  16. package/{documention → documentation}/Cesium3DTileset.html +43 -25
  17. package/{documention → documentation}/CesiumHeatmap.html +22 -19
  18. package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
  19. package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
  20. package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
  21. package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
  22. package/{documention → documentation}/CompatibleFunc.html +24 -33
  23. package/{documention → documentation}/CustomPrimitive.html +3 -5
  24. package/{documention → documentation}/CustomProjection.html +3 -3
  25. package/{documention → documentation}/CustomTilingScheme.html +35 -36
  26. package/{documention → documentation}/CutFillAnalysis.html +59 -27
  27. package/{documention → documentation}/CuttingTool.html +198 -103
  28. package/{documention → documentation}/Deferred.html +2 -2
  29. package/{documention → documentation}/DrawElement.html +418 -34
  30. package/{documention → documentation}/DrawTool.html +81 -29
  31. package/documentation/EditTool.html +2819 -0
  32. package/{documention → documentation}/FirstPersonPerspective.html +18 -10
  33. package/{documention → documentation}/FloodAnalysis.html +93 -23
  34. package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
  35. package/documentation/FlowParticle.html +863 -0
  36. package/{documention → documentation}/Fluid.html +473 -74
  37. package/{documention → documentation}/FluidFoam.html +36 -16
  38. package/{documention → documentation}/FluidReflection.html +68 -15
  39. package/{documention → documentation}/FluidShadow.html +67 -14
  40. package/{documention → documentation}/FluidSourceCollection.html +14 -7
  41. package/{documention → documentation}/FluidSpecular.html +33 -14
  42. package/documentation/FluidSurfaceDistortion.html +682 -0
  43. package/documentation/FluidSurfaceFoam.html +1006 -0
  44. package/{documention → documentation}/FollowPerspective.html +15 -7
  45. package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
  46. package/documentation/GeoJSONLayerView.html +1353 -0
  47. package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
  48. package/{documention → documentation}/GodPerspective.html +14 -6
  49. package/{documention → documentation}/Graphic.html +1053 -1042
  50. package/{documention → documentation}/GraphicTransformTool.html +65 -23
  51. package/{documention → documentation}/GraphicsLayer.html +359 -156
  52. package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
  53. package/documentation/GraphicsLayerView.html +759 -0
  54. package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
  55. package/{documention → documentation}/HeightLimited.html +54 -21
  56. package/documentation/IGSFeatureLayerUtil.html +840 -0
  57. package/documentation/IGSFeatureLayerView.html +1348 -0
  58. package/documentation/IGSMapImageLayerUtil.html +855 -0
  59. package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
  60. package/documentation/IGSTileLayerView.html +658 -0
  61. package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
  62. package/{documention → documentation}/KeyboardCameraController.html +54 -6
  63. package/documentation/LightningStorm.html +2073 -0
  64. package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
  65. package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
  66. package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
  67. package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
  68. package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
  69. package/{documention → documentation}/MapGISM3DSet.html +49 -33
  70. package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
  71. package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
  72. package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
  73. package/{documention → documentation}/MapGISTerrainService.html +124 -82
  74. package/{documention → documentation}/MapGISTileAvailability.html +104 -47
  75. package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
  76. package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
  77. package/{documention → documentation}/MeasureAreaTool.html +53 -14
  78. package/{documention → documentation}/MeasureLengthTool.html +17 -14
  79. package/{documention → documentation}/MeasureSlopeTool.html +73 -34
  80. package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
  81. package/{documention → documentation}/ModelFilterTool.html +27 -32
  82. package/{documention → documentation}/ModelTransformTool.html +195 -110
  83. package/{documention → documentation}/NavigationControl.html +25 -5
  84. package/{documention → documentation}/NavigationTool.html +36 -14
  85. package/{documention → documentation}/NormalPerspective.html +33 -7
  86. package/documentation/OpenWeatherImageryProvider.html +1133 -0
  87. package/{documention → documentation}/PointFluidSource.html +22 -13
  88. package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
  89. package/{documention → documentation}/Popup.html +246 -63
  90. package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
  91. package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
  92. package/{documention → documentation}/Promise.html +6 -6
  93. package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
  94. package/{documention → documentation}/Puddle.html +30 -9
  95. package/{documention → documentation}/RadarMaterialProperty.html +73 -18
  96. package/{documention → documentation}/ReImg.html +164 -15
  97. package/{documention → documentation}/RenderUtil.html +158 -6
  98. package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
  99. package/{documention → documentation}/RiverGeometry.html +7 -7
  100. package/{documention → documentation}/RoamParticle.html +86 -79
  101. package/{documention → documentation}/RouteAnimationControl.html +37 -15
  102. package/{documention → documentation}/RouteAnimationLabel.html +39 -12
  103. package/{documention → documentation}/RouteAnimationModel.html +43 -16
  104. package/{documention → documentation}/RouteAnimationPath.html +156 -18
  105. package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
  106. package/{documention → documentation}/RouteAnimationTool.html +244 -24
  107. package/documentation/S3MTileset.html +570 -0
  108. package/{documention → documentation}/SSR.html +20 -39
  109. package/{documention → documentation}/SceneView.html +615 -419
  110. package/documentation/SceneViewUtil.html +1253 -0
  111. package/documentation/Screenshot.html +964 -0
  112. package/{documention → documentation}/SelectTool.html +31 -77
  113. package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
  114. package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
  115. package/{documention → documentation}/SingleImageryProvider.html +32 -10
  116. package/{documention → documentation}/SketchEditor.html +280 -127
  117. package/documentation/SkyLineAnalysis.html +576 -0
  118. package/{documention → documentation}/StableParticle.html +165 -46
  119. package/{documention → documentation}/Style.html +249 -249
  120. package/{documention → documentation}/TerrainAnalyse.html +391 -105
  121. package/{documention → documentation}/TerrainExcavateTool.html +99 -3
  122. package/{documention → documentation}/TerrainProfile.html +198 -56
  123. package/{documention → documentation}/ThemeManager.html +93 -42
  124. package/{documention → documentation}/Tooltip.html +35 -18
  125. package/documentation/TransformTool.html +1010 -0
  126. package/{documention → documentation}/TriangulationTool.html +122 -83
  127. package/documentation/UnderfluidCaustic.html +843 -0
  128. package/documentation/UnderfluidDistortion.html +600 -0
  129. package/documentation/UnderfluidFog.html +843 -0
  130. package/documentation/UnderfluidGodRay.html +843 -0
  131. package/documentation/UnderwaterCaustic.html +867 -0
  132. package/documentation/UnderwaterDistortion.html +578 -0
  133. package/documentation/UnderwaterFog.html +867 -0
  134. package/documentation/UnderwaterGodRay.html +821 -0
  135. package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
  136. package/{documention → documentation}/UserInterfaceControl.html +28 -9
  137. package/documentation/VectorTileLayerUtil.html +1364 -0
  138. package/{documention → documentation}/VisiblityAnalysis.html +15 -12
  139. package/{documention → documentation}/VolumeCloud.html +113 -21
  140. package/{documention → documentation}/VolumeFluidSource.html +24 -8
  141. package/{documention → documentation}/WFSLayerUtil.html +39 -10
  142. package/documentation/WFSLayerView.html +1353 -0
  143. package/documentation/WMSLayerUtil.html +879 -0
  144. package/documentation/WMTSLayerUtil.html +877 -0
  145. package/documentation/WaterDepth.html +583 -0
  146. package/{documention → documentation}/WaterReflection.html +29 -26
  147. package/documentation/WaterSurface.html +2555 -0
  148. package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
  149. package/documentation/WaterSurfaceFoam.html +1029 -0
  150. package/documentation/WaterSurfaceSSR.html +867 -0
  151. package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
  152. package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
  153. package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
  154. package/documentation/WebTileLayerUtil.html +877 -0
  155. package/{documention → documentation}/Wind3D.html +133 -54
  156. package/{documention → documentation}/ZoomNavigationControl.html +145 -9
  157. package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
  158. package/{documention → documentation}/global.html +14130 -2719
  159. package/{documention → documentation}/index.html +1 -1
  160. package/{documention → documentation}/initializeOptions.html +2 -2
  161. 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
  162. 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
  163. package/{documention → documentation}/module.exports_module.exports.html +2 -2
  164. package/{documention → documentation}/nav.html +3267 -1392
  165. package/documentation/nav.json +320 -0
  166. package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
  167. package/documentation/styles/adminlte/skin-blue.min.css +135 -0
  168. package/documentation/styles/bootstrap.min.css +7005 -0
  169. package/documentation/styles/common.css +173 -0
  170. package/documentation/styles/examples.css +119 -0
  171. package/{documention → documentation}/styles/font-awesome.css +692 -687
  172. package/documentation/styles/header.css +558 -0
  173. package/documentation/styles/jaguar.css +551 -0
  174. package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
  175. package/{documention → documentation}/styles/style.customize.css +83 -99
  176. package/package.json +42 -22
  177. package/dist/es5/webclient-cesium-plugin.min.js +0 -77
  178. package/dist/es5/webclient-common.min.js +0 -159
  179. package/dist/webclient-cesium-plugin-es6.min.js +0 -77
  180. package/documention/CircleWaveMaterialProperty.html +0 -382
  181. package/documention/DynamicEntityVisualizer.html +0 -348
  182. package/documention/DynamicLabelLayer.html +0 -1841
  183. package/documention/GroundPrimitiveLayer.html +0 -1675
  184. package/documention/HashMap.html +0 -4197
  185. package/documention/ModelEditor.html +0 -374
  186. package/documention/SceneViewCesium.html +0 -5544
  187. package/documention/Screenshot.html +0 -773
  188. package/documention/SketchEditorCesium.html +0 -1571
  189. package/documention/createColorTexture.html +0 -369
  190. package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
  191. package/documention/isCounterClockwise.html +0 -760
  192. package/documention/scripts/app.min.js +0 -1
  193. package/documention/scripts/jquery.min.map +0 -1
  194. package/documention/scripts/search.js +0 -20
  195. package/documention/scripts/sideBar.js +0 -228
  196. package/documention/scripts/underscore-min.map +0 -1
  197. package/documention/styles/adminlte/AdminLTE.min.css +0 -7
  198. package/documention/styles/adminlte/skin-blue.min.css +0 -1
  199. package/documention/styles/anchor.png +0 -0
  200. package/documention/styles/app.min.css +0 -1
  201. package/documention/styles/bootstrap.min.css +0 -6
  202. package/documention/styles/c.png +0 -0
  203. package/documention/styles/common.css +0 -175
  204. package/documention/styles/examples.css +0 -116
  205. package/documention/styles/header.css +0 -556
  206. package/documention/styles/iframe.css +0 -29
  207. package/documention/styles/jaguar.css +0 -553
  208. package/documention/styles/m.png +0 -0
  209. package/documention/styles/reset.css +0 -44
  210. package/documention/styles/up-arrow.png +0 -0
  211. package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
  212. /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
  213. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
  214. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
  215. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
  216. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
  217. /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
  218. /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
  219. /package/{documention → documentation}/scripts/jquery.min.js +0 -0
  220. /package/{documention → documentation}/scripts/linenumber.js +0 -0
  221. /package/{documention → documentation}/scripts/main.js +0 -0
  222. /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
  223. /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
  224. /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
  225. /package/{documention → documentation}/scripts/underscore-min.js +0 -0
  226. /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
  227. /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>Cesium3DTileset对象,现已不支持通过构造函数(new Cesium3DTileset())的方式初始化图层,而是使用fromUrl方法构造图层</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'>添加一个Cesium3DTileset图层:原生接口开发</h7></p>
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 "@mapgis/webclient-cesium-plugin"
162
+ import { Cesium3DTileset } from '@mapgis/webclient-cesium-plugin'
172
163
 
173
- const tileset = await Cesium3DTileset.fromUrl("http://10.10.130.72:8200/3DData/ModelCache/3DTileset/1.0/dayantaresult/tileset.json")
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="Cesium3DTileset.html">Cesium3DTileset</a>}</span>
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>.&lt;Cesium.Cesium3DTileset>|Cesium.Cesium3DTileset}</span>
207
198
  </h4>
208
199
 
209
200
 
210
201
  <div class="tag-source">
211
- engineExtensions/core/Cesium3DTileset.js, line 37
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>通过URL来构造一个Cesium3DTileset对象</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
- <p>Cesium 3DTile模型服务的基地址</p></td>
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
- <p>额外的构造参数,参考<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>MapGISM3DSet</a>的初始化参数</p></td>
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="Cesium3DTileset.html">Cesium3DTileset</a>
368
+ <a href="Promise.html">Promise</a>.&lt;Cesium.Cesium3DTileset>
369
+ |
370
+
371
+ Cesium.Cesium3DTileset
354
372
 
355
373
 
356
374
  </td>
357
- <td class="description last">新的Cesium3DTileset对象</td>
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 Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
400
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 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>创建并返回一个热力图对象</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>场景视图对象,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html' target='_blank'>详见Cesium.Viewer</a></p></td>
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>热力图范围,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=Rectangle' target='_blank'>详见Cesium.Rectangle</a></p></td>
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>可选参数</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>热力图画布最小尺寸</p></td>
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>热力图画布最大尺寸</p></td>
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>如果没有给出半径,则使用数据点大小因子(高度和宽度中的较大者除以这个数字产生使用的半径)</p></td>
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>边界周围的额外空间(点半径乘以这个数字产生间距)</p></td>
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>如果未在热力图选项对象中给出,则使用的最大不透明度</p></td>
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>如果未在热图选项对象中给出,则使用的最小不透明度</p></td>
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>如果未在热力图选项对象中给出,则使用的模糊值为0.85。模糊值越高,渐变越平滑。</p></td>
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>热力图颜色梯度</p></td>
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>默认自动重算热力半径</p></td>
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">热力图对象</td>
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 208
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 Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
915
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 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="S3MTileset.html">Class: S3MTileset</h1>
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>S3MTileset
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="S3MTileset">
84
+ <h4 class="name" id="CesiumNavigation">
85
85
 
86
- new S3MTileset<span class="signature">(options)</span>
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/scene/S3M/S3MTileset.js, line 4
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>S3MTileset类</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>options</code></td>
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">Object</span>
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">String</span>
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>服务链接,必填</p></td>
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">String</span>
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>其他参数,选填</p></td>
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 { S3MTileset } = zondy.cesium
268
+ const { NavigationTool } = zondy.cesium
269
+
299
270
  // ES6引入方式
300
- import { S3MTileset } from "@mapgis/webclient-cesium-plugin"
271
+ import { NavigationTool } from "@mapgis/webclient-cesium-plugin"
301
272
 
302
- // 服务基地址
303
- const url = "//www.supermapol.com/realspace/services/3D-BIMBaoZha-2/rest/realspace"
304
- // 添加S3MTileSet
305
- const s3mTileSet = await S3MTileset.fromUrl(url, {
306
- // 是否显示s3m模型
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 Fri Feb 06 2026 14:59:55 GMT+0800 (中国标准时间)
313
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
347
314
  </footer>
348
315
  </div>
349
316
  </div>