@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.
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
@@ -99,7 +99,7 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>通视分析</p>
102
+ <p>通视分析工具,用于判断视点与目标点之间是否可见,并支持环视可视域分析。</p>
103
103
  </div>
104
104
 
105
105
 
@@ -429,10 +429,13 @@
429
429
 
430
430
  <h5>Example</h5>
431
431
 
432
+ <p class="code-caption"><h7>通视分析与环视分析</h7></p>
433
+
432
434
 
433
435
 
434
436
  <pre class="prettyprint"><code>// ES5引入方式
435
437
  const { VisiblityAnalysis } = zondy.cesium
438
+
436
439
  // ES6引入方式
437
440
  import { VisiblityAnalysis } from "@mapgis/webclient-cesium-plugin"
438
441
 
@@ -754,7 +757,7 @@ visiblity.destroy();</code></pre>
754
757
 
755
758
  <dt>
756
759
  <div class="nameContainer">
757
- <h4 class="name" id="unvisibleColor">unvisibleColor<span class="type-signature type cesium.color">Cesium.Color</span> </h4>
760
+ <h4 class="name" id="unVisiblityPosition">unVisiblityPosition<span class="type-signature type cesium.cartesian3">Cesium.Cartesian3</span> </h4>
758
761
  </div>
759
762
 
760
763
 
@@ -762,7 +765,7 @@ visiblity.destroy();</code></pre>
762
765
  <dd>
763
766
 
764
767
  <div class="description">
765
- <p>设置不可视段颜色</p>
768
+ <p>遮挡点</p>
766
769
  </div>
767
770
 
768
771
 
@@ -799,7 +802,7 @@ visiblity.destroy();</code></pre>
799
802
 
800
803
  <dt>
801
804
  <div class="nameContainer">
802
- <h4 class="name" id="unVisiblityPosition">unVisiblityPosition<span class="type-signature type cesium.cartesian3">Cesium.Cartesian3</span> </h4>
805
+ <h4 class="name" id="unvisibleColor">unvisibleColor<span class="type-signature type cesium.color">Cesium.Color</span> </h4>
803
806
  </div>
804
807
 
805
808
 
@@ -807,7 +810,7 @@ visiblity.destroy();</code></pre>
807
810
  <dd>
808
811
 
809
812
  <div class="description">
810
- <p>遮挡点</p>
813
+ <p>设置不可视段颜色</p>
811
814
  </div>
812
815
 
813
816
 
@@ -994,7 +997,7 @@ visiblity.destroy();</code></pre>
994
997
 
995
998
 
996
999
  <div class="tag-source">
997
- engineExtensions/analysis/VisiblityAnalysis.js, line 239
1000
+ engineExtensions/analysis/VisiblityAnalysis.js, line 217
998
1001
  </div>
999
1002
 
1000
1003
  </div>
@@ -1005,7 +1008,7 @@ visiblity.destroy();</code></pre>
1005
1008
 
1006
1009
 
1007
1010
  <div class="description">
1008
- <p>根据两点坐标判断两点之间是否可视,返回结果</p>
1011
+ <p>根据视点和目标点判断两点之间是否互相可视。</p>
1009
1012
  </div>
1010
1013
 
1011
1014
 
@@ -1052,7 +1055,7 @@ visiblity.destroy();</code></pre>
1052
1055
 
1053
1056
  <td class="description last">
1054
1057
 
1055
- <p>视点</p></td>
1058
+ <p>视点。</p></td>
1056
1059
  </tr>
1057
1060
 
1058
1061
 
@@ -1075,7 +1078,7 @@ visiblity.destroy();</code></pre>
1075
1078
 
1076
1079
  <td class="description last">
1077
1080
 
1078
- <p>目标点</p></td>
1081
+ <p>目标点。</p></td>
1079
1082
  </tr>
1080
1083
 
1081
1084
 
@@ -1140,7 +1143,7 @@ visiblity.destroy();</code></pre>
1140
1143
 
1141
1144
 
1142
1145
  </td>
1143
- <td class="description last">visible 两点之间是否可视</td>
1146
+ <td class="description last">两点之间是否可视。</td>
1144
1147
  </tr>
1145
1148
 
1146
1149
  </tbody>
@@ -1162,7 +1165,7 @@ visiblity.destroy();</code></pre>
1162
1165
 
1163
1166
 
1164
1167
  <div class="tag-source">
1165
- engineExtensions/analysis/VisiblityAnalysis.js, line 273
1168
+ engineExtensions/analysis/VisiblityAnalysis.js, line 248
1166
1169
  </div>
1167
1170
 
1168
1171
  </div>
@@ -1475,7 +1478,7 @@ visiblity.destroy();</code></pre>
1475
1478
 
1476
1479
 
1477
1480
  <footer>
1478
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:55 GMT+0800 (中国标准时间)
1481
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
1479
1482
  </footer>
1480
1483
  </div>
1481
1484
  </div>
@@ -99,7 +99,7 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>体积云</p>
102
+ <p>体积云效果对象,用于在指定矩形范围内渲染可随相机高度动态调节的云层。</p>
103
103
  </div>
104
104
 
105
105
 
@@ -146,7 +146,7 @@
146
146
 
147
147
  <td class="description last">
148
148
 
149
-
149
+ <p>初始化参数</p>
150
150
 
151
151
 
152
152
  <table class="params">
@@ -177,7 +177,7 @@
177
177
  <td class="type">
178
178
 
179
179
 
180
- <span class="param-type">Boolean</span>
180
+ <span class="param-type"><a href="Cesium.Viewer.html">Cesium.Viewer</a></span>
181
181
 
182
182
 
183
183
 
@@ -192,13 +192,11 @@
192
192
  <td class="description last">
193
193
 
194
194
 
195
- <span class="optional"> 可选</span>
196
-
197
195
 
198
196
 
199
197
 
200
198
 
201
- <p>Cesium场景视图对象</p></td>
199
+ <p>Cesium 场景视图对象</p></td>
202
200
  </tr>
203
201
 
204
202
 
@@ -211,7 +209,7 @@
211
209
  <td class="type">
212
210
 
213
211
 
214
- <span class="param-type">Number</span>
212
+ <span class="param-type">Cesium.Rectangle</span>
215
213
 
216
214
 
217
215
 
@@ -220,7 +218,7 @@
220
218
 
221
219
  <td class="default">
222
220
 
223
- new Cesium.Rectangle.fromDegrees(-180, -90, 180, 90)
221
+ Cesium.Rectangle.fromDegrees(-180, -90, 180, 90)
224
222
 
225
223
  </td>
226
224
 
@@ -234,7 +232,7 @@
234
232
 
235
233
 
236
234
 
237
- <p>云层的区域范围,默认为全球范围</p></td>
235
+ <p>云层覆盖范围,默认使用全球矩形</p></td>
238
236
  </tr>
239
237
 
240
238
 
@@ -270,7 +268,7 @@
270
268
 
271
269
 
272
270
 
273
- <p>云层的底部高度,取值范围为[0,20000],单位米,默认值为7500</p></td>
271
+ <p>云层底部高度,单位米,取值范围建议为 <code>[0, 20000]</code></p></td>
274
272
  </tr>
275
273
 
276
274
 
@@ -306,7 +304,7 @@
306
304
 
307
305
 
308
306
 
309
- <p>云层的顶部高度,取值范围为[0,20000],单位米,默认值为8000</p></td>
307
+ <p>云层顶部高度,单位米,取值范围建议为 <code>[0, 20000]</code></p></td>
310
308
  </tr>
311
309
 
312
310
 
@@ -342,7 +340,7 @@
342
340
 
343
341
 
344
342
 
345
- <p>云层的密度,取值范围为[0,1],0最稀疏,1最密集,默认值为0.27</p></td>
343
+ <p>云层密度,取值范围 <code>[0, 1]</code></p></td>
346
344
  </tr>
347
345
 
348
346
 
@@ -378,7 +376,7 @@
378
376
 
379
377
 
380
378
 
381
- <p>云层移动速度,取值范围为[0,1],0最慢,1最快,默认值为0.1</p></td>
379
+ <p>云层移动速度,取值范围 <code>[0, 1]</code></p></td>
382
380
  </tr>
383
381
 
384
382
 
@@ -414,7 +412,7 @@
414
412
 
415
413
 
416
414
 
417
- <p>云层移动方向,取值范围为[0,360],0为正北方向,顺时针方向旋转,默认值为90,为正东方向</p></td>
415
+ <p>云层移动方向,取值范围 <code>[0, 360]</code>,<code>0</code> 为正北方向,顺时针旋转</p></td>
418
416
  </tr>
419
417
 
420
418
 
@@ -427,7 +425,7 @@
427
425
  <td class="type">
428
426
 
429
427
 
430
- <span class="param-type">Number</span>
428
+ <span class="param-type">Boolean</span>
431
429
 
432
430
 
433
431
 
@@ -450,7 +448,7 @@
450
448
 
451
449
 
452
450
 
453
- <p>云层的显隐,默认值为true,可见</p></td>
451
+ <p>云层是否显示</p></td>
454
452
  </tr>
455
453
 
456
454
 
@@ -486,7 +484,7 @@
486
484
 
487
485
 
488
486
 
489
- <p>云层可见的最低相机高度,当相机高度小于minCameraHeight或者大于maxCameraHeigh时,云层将不可见,默认值为0</p></td>
487
+ <p>云层可见的最低相机高度;当相机高度超出 <code>[minCameraHeight, maxCameraHeight]</code> 时云层不可见</p></td>
490
488
  </tr>
491
489
 
492
490
 
@@ -522,7 +520,43 @@
522
520
 
523
521
 
524
522
 
525
- <p>云层可见的最高相机高度,当相机高度小于minCameraHeight或者大于maxCameraHeigh时,云层将不可见,默认值为25000</p></td>
523
+ <p>云层可见的最高相机高度;当相机高度超出 <code>[minCameraHeight, maxCameraHeight]</code> 时云层不可见</p></td>
524
+ </tr>
525
+
526
+
527
+
528
+ <tr>
529
+
530
+ <td class="name"><code>depthWrite</code></td>
531
+
532
+
533
+ <td class="type">
534
+
535
+
536
+ <span class="param-type">Boolean</span>
537
+
538
+
539
+
540
+ </td>
541
+
542
+
543
+ <td class="default">
544
+
545
+ true
546
+
547
+ </td>
548
+
549
+
550
+ <td class="description last">
551
+
552
+
553
+ <span class="optional"> 可选</span>
554
+
555
+
556
+
557
+
558
+
559
+ <p>深度写入控制;开启后可支持体积光、SSR 等特效,使用大气雾或水面特效时通常需要关闭</p></td>
526
560
  </tr>
527
561
 
528
562
 
@@ -575,9 +609,22 @@
575
609
 
576
610
  <h5>Example</h5>
577
611
 
612
+ <p class="code-caption"><h7>创建体积云</h7></p>
613
+
578
614
 
579
615
 
580
- <pre class="prettyprint"><code>const volumeCloud = new VolumeCloud({
581
616
  viewer
617
+ <pre class="prettyprint"><code>// ES5引入方式
618
+ const { VolumeCloud } = zondy.cesium
619
+
620
+ // ES6引入方式
621
+ import { VolumeCloud } from "@mapgis/webclient-cesium-plugin"
622
+
623
+ const volumeCloud = new VolumeCloud({
624
+ viewer,
625
+ rectangle: Cesium.Rectangle.fromDegrees(110, 28, 116, 33),
626
+ minHeight: 7500,
627
+ maxHeight: 9000
628
+ })</code></pre>
582
629
 
583
630
 
584
631
 
@@ -637,6 +684,51 @@
637
684
 
638
685
 
639
686
 
687
+
688
+ </dl>
689
+
690
+
691
+
692
+ </dd>
693
+
694
+
695
+
696
+ <dt>
697
+ <div class="nameContainer">
698
+ <h4 class="name" id="depthWrite">depthWrite<span class="type-signature type boolean">Boolean</span> </h4>
699
+ </div>
700
+
701
+
702
+ </dt>
703
+ <dd>
704
+
705
+ <div class="description">
706
+ <p>深度写入控制,默认值为true,开启深度写入支持体积光、SSR等特效;在使用大气雾、水面特效时需要关闭深度写入;</p>
707
+ </div>
708
+
709
+
710
+
711
+ <dl class="details">
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
640
732
 
641
733
  </dl>
642
734
 
@@ -978,7 +1070,7 @@
978
1070
 
979
1071
 
980
1072
  <div class="tag-source">
981
- engineExtensions/effects/VolumeCloud.js, line 249
1073
+ engineExtensions/effects/VolumeCloud.js, line 277
982
1074
  </div>
983
1075
 
984
1076
  </div>
@@ -1052,7 +1144,7 @@
1052
1144
 
1053
1145
 
1054
1146
  <footer>
1055
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:55 GMT+0800 (中国标准时间)
1147
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
1056
1148
  </footer>
1057
1149
  </div>
1058
1150
  </div>
@@ -83,7 +83,7 @@
83
83
  <div class="nameContainer">
84
84
  <h4 class="name" id="VolumeFluidSource">
85
85
 
86
- new VolumeFluidSource<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
86
+ new VolumeFluidSource<span class="signature">(<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
 
@@ -99,7 +99,7 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>全域流体源对象</p>
102
+ <p>全域流体源对象。</p>
103
103
  </div>
104
104
 
105
105
 
@@ -146,7 +146,14 @@
146
146
 
147
147
  <td class="description last">
148
148
 
149
- <p>实例化全域流体源对象所需的参数</p>
149
+
150
+ <span class="optional"> 可选</span>
151
+
152
+
153
+
154
+
155
+
156
+ <p>创建全域流体源对象的参数。</p>
150
157
 
151
158
 
152
159
  <table class="params">
@@ -200,7 +207,7 @@
200
207
 
201
208
 
202
209
 
203
- <p>全域流体源的强度(每小时多少毫米)</p></td>
210
+ <p>全域流体源强度,单位为毫米每小时。</p></td>
204
211
  </tr>
205
212
 
206
213
 
@@ -271,7 +278,7 @@
271
278
 
272
279
 
273
280
  </td>
274
- <td class="description last">返回根据参数实例化的全域流体源对象</td>
281
+ <td class="description last">返回全域流体源对象实例。</td>
275
282
  </tr>
276
283
 
277
284
  </tbody>
@@ -286,7 +293,16 @@
286
293
 
287
294
 
288
295
 
289
- <pre class="prettyprint"><code>// ES5引入方式
290
296
  intensity: 500000,
297
+ <pre class="prettyprint"><code>// ES5引入方式
298
+ const { VolumeFluidSource } = zondy.cesium
299
+
300
+ // ES6引入方式
301
+ import { VolumeFluidSource } from "@mapgis/webclient-cesium-plugin"
302
+
303
+ // 创建全域流体源对象
304
+ const volumeFluidSource = new VolumeFluidSource({
305
+ intensity: 500000,
306
+ })</code></pre>
291
307
 
292
308
 
293
309
 
@@ -320,7 +336,7 @@
320
336
  <dd>
321
337
 
322
338
  <div class="description">
323
- <p>全域流体源的强度(每小时多少毫米)</p>
339
+ <p>获取或设置全域流体源强度。</p>
324
340
  </div>
325
341
 
326
342
 
@@ -371,7 +387,7 @@
371
387
 
372
388
 
373
389
  <footer>
374
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:55 GMT+0800 (中国标准时间)
390
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
375
391
  </footer>
376
392
  </div>
377
393
  </div>
@@ -94,15 +94,14 @@
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>WFS图层的工具类</p>
102
+ <p>WFS 图层适配工具。</p>
103
+ <p>该工具用于把 WFS 图层查询结果转换为 Cesium primitive,适合在客户端先完成
104
+ WFS 查询和渲染器赋值,再把结果送入三维场景。</p>
106
105
  </div>
107
106
 
108
107
 
@@ -182,7 +181,7 @@
182
181
 
183
182
 
184
183
  <div class="tag-source">
185
- view/utils/WFSLayerUtil.js, line 43
184
+ view/utils/WFSLayerUtil.js, line 51
186
185
  </div>
187
186
 
188
187
  </div>
@@ -193,7 +192,7 @@
193
192
 
194
193
 
195
194
  <div class="description">
196
- <p>将单个要素或要素集合转换为Cesium原生Primitive的方法</p>
195
+ <p>将一个或多个 WFS 要素转换为 Cesium primitive。</p>
197
196
  </div>
198
197
 
199
198
 
@@ -243,7 +242,7 @@
243
242
 
244
243
  <td class="description last">
245
244
 
246
- <p>单个要素或要素集合</p></td>
245
+ <p>单个要素或要素集合。</p></td>
247
246
  </tr>
248
247
 
249
248
 
@@ -308,7 +307,7 @@
308
307
 
309
308
 
310
309
  </td>
311
- <td class="description last">转换后的Primitive数组</td>
310
+ <td class="description last">转换后的 primitive 数组。</td>
312
311
  </tr>
313
312
 
314
313
  </tbody>
@@ -321,7 +320,37 @@
321
320
 
322
321
 
323
322
 
324
- <pre class="prettyprint"><code>const url = 'http://10.10.130.72:8089/igs/rest/services/Map/湖北省4326/WFSServer'
325
323
  const renderer = new SimpleRenderer({
326
324
  //...
327
325
  })
328
326
  // 创建wfsLayer对象
329
327
  const wfsLayer = new WFSLayer({
330
328
  url,
331
329
  sublayerId: 'Map_湖北省4326:t70',
332
330
  })
333
331
  // 请求获取要素集
334
332
  const featureSet = await wfsLayer.queryFeatures()
335
333
  const features = featureSet.features
336
334
  // 为要素集设置renderer
337
335
  RendererUtil.updateRenderer(features, renderer)
338
336
  // 将要素集转换为原生Primitive对象
339
337
  const primitives = WFSLayerUtil.toPrimitive(features, {
340
338
  viewer
341
339
  })
342
340
  // 将Primitive对象添加到场景中
343
341
  for (let i = 0; i < primitives.length; i++) {
344
342
  viewer.scene.primitives.add(primitives[i])
345
343
  }
344
+ <pre class="prettyprint"><code>// ES5引入方式
345
+ const { WFSLayerUtil } = zondy.cesium.util
346
+
347
+ // ES6引入方式
348
+ import { WFSLayerUtil } from '@mapgis/webclient-cesium-plugin'
349
+
350
+ const url = 'http://10.10.130.72:8089/igs/rest/services/Map/湖北省4326/WFSServer'
351
+ const addWFS = async (url) => {
352
+ const renderer = new SimpleRenderer({
353
+ //...
354
+ })
355
+ // 创建wfsLayer对象
356
+ const wfsLayer = new WFSLayer({
357
+ url,
358
+ sublayerId: 'Map_湖北省4326:t70',
359
+ })
360
+ // 请求获取要素集
361
+ const featureSet = await wfsLayer.queryFeatures()
362
+ const features = featureSet.features
363
+ // 为要素集设置renderer
364
+ RendererUtil.updateRenderer(features, renderer)
365
+ // 将要素集转换为原生Primitive对象
366
+ const primitives = WFSLayerUtil.toPrimitive(features, {
367
+ viewer
368
+ })
369
+ // 将Primitive对象添加到场景中
370
+ for (let i = 0; i < primitives.length; i++) {
371
+ viewer.scene.primitives.add(primitives[i])
372
+ }
373
+ }
374
+ addWFS(url)</code></pre>
346
375
 
347
376
 
348
377
 
@@ -341,7 +370,7 @@
341
370
 
342
371
 
343
372
  <footer>
344
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:55 GMT+0800 (中国标准时间)
373
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
345
374
  </footer>
346
375
  </div>
347
376
  </div>