@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
@@ -88,7 +88,7 @@
88
88
 
89
89
 
90
90
  <div class="tag-source">
91
- engineExtensions/tools/MeasureLengthTool.js, line 3
91
+ engineExtensions/tools/MeasureLengthTool.js, line 8
92
92
  </div>
93
93
 
94
94
  </div>
@@ -99,7 +99,9 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>距离测量工具</p>
102
+ <p>距离测量工具。</p>
103
+ <p>该工具负责在 Cesium 场景中管理连续或单次的距离量算流程,并封装直线量算、
104
+ 贴地量算、结果标注与清理控制。</p>
103
105
  </div>
104
106
 
105
107
 
@@ -146,7 +148,7 @@
146
148
 
147
149
  <td class="description last">
148
150
 
149
- <p>viewer对象</p></td>
151
+ <p>Cesium 视图对象。</p></td>
150
152
  </tr>
151
153
 
152
154
 
@@ -169,7 +171,7 @@
169
171
 
170
172
  <td class="description last">
171
173
 
172
- <p>包含以下属性的对象</p>
174
+ <p>距离量算配置项。</p>
173
175
 
174
176
 
175
177
  <table class="params">
@@ -223,7 +225,7 @@
223
225
 
224
226
 
225
227
 
226
- <p>回调函数</p></td>
228
+ <p>量算结束回调,返回结果值与参与量算的坐标点。</p></td>
227
229
  </tr>
228
230
 
229
231
 
@@ -259,7 +261,7 @@
259
261
 
260
262
 
261
263
 
262
- <p>测量完毕后提示框的回调函数,可以覆盖提示内容</p></td>
264
+ <p>标注内容回调,用于覆盖默认提示文字。</p></td>
263
265
  </tr>
264
266
 
265
267
 
@@ -1726,6 +1728,7 @@ modify 修改人:周凌风 2020年9月25日 添加针对地形数据进行贴
1726
1728
 
1727
1729
  <pre class="prettyprint"><code>// ES5引入方式
1728
1730
  const { MeasureLengthTool } = zondy.cesium
1731
+
1729
1732
  // ES6引入方式
1730
1733
  import { MeasureLengthTool } from "@mapgis/webclient-cesium-plugin"
1731
1734
 
@@ -1958,7 +1961,7 @@ measureLengthTool.startTool(); //开始测量
1958
1961
 
1959
1962
 
1960
1963
  <div class="tag-source">
1961
- engineExtensions/tools/MeasureLengthTool.js, line 249
1964
+ engineExtensions/tools/MeasureLengthTool.js, line 262
1962
1965
  </div>
1963
1966
 
1964
1967
  </div>
@@ -1969,7 +1972,7 @@ measureLengthTool.startTool(); //开始测量
1969
1972
 
1970
1973
 
1971
1974
  <div class="description">
1972
- <p>清除所有测量结果,仍可绘制(绘制事件仍然是激活状态)</p>
1975
+ <p>清除全部距离量算结果,并在允许连续绘制时重新进入激活状态。</p>
1973
1976
  </div>
1974
1977
 
1975
1978
 
@@ -2029,7 +2032,7 @@ measureLengthTool.startTool(); //开始测量
2029
2032
 
2030
2033
 
2031
2034
  <div class="tag-source">
2032
- engineExtensions/tools/MeasureLengthTool.js, line 142
2035
+ engineExtensions/tools/MeasureLengthTool.js, line 152
2033
2036
  </div>
2034
2037
 
2035
2038
  </div>
@@ -2040,7 +2043,7 @@ measureLengthTool.startTool(); //开始测量
2040
2043
 
2041
2044
 
2042
2045
  <div class="description">
2043
- <p>开始测量</p>
2046
+ <p>激活距离量算流程并创建当前绘制工具。</p>
2044
2047
  </div>
2045
2048
 
2046
2049
 
@@ -2100,7 +2103,7 @@ measureLengthTool.startTool(); //开始测量
2100
2103
 
2101
2104
 
2102
2105
  <div class="tag-source">
2103
- engineExtensions/tools/MeasureLengthTool.js, line 230
2106
+ engineExtensions/tools/MeasureLengthTool.js, line 243
2104
2107
  </div>
2105
2108
 
2106
2109
  </div>
@@ -2111,7 +2114,7 @@ measureLengthTool.startTool(); //开始测量
2111
2114
 
2112
2115
 
2113
2116
  <div class="description">
2114
- <p>结束测量,测量工具处于不能绘制(不激活状态)</p>
2117
+ <p>停止距离量算。</p>
2115
2118
  </div>
2116
2119
 
2117
2120
 
@@ -2173,7 +2176,7 @@ measureLengthTool.startTool(); //开始测量
2173
2176
 
2174
2177
 
2175
2178
 
2176
- <p>是否保留测量结果。默认为false不保留测量结果</p></td>
2179
+ <p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
2177
2180
  </tr>
2178
2181
 
2179
2182
 
@@ -2234,7 +2237,7 @@ measureLengthTool.startTool(); //开始测量
2234
2237
 
2235
2238
 
2236
2239
  <footer>
2237
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
2240
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
2238
2241
  </footer>
2239
2242
  </div>
2240
2243
  </div>
@@ -88,7 +88,7 @@
88
88
 
89
89
 
90
90
  <div class="tag-source">
91
- engineExtensions/tools/MeasureSlopeTool.js, line 2
91
+ engineExtensions/tools/MeasureSlopeTool.js, line 8
92
92
  </div>
93
93
 
94
94
  </div>
@@ -99,7 +99,9 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>坡度测量工具</p>
102
+ <p>坡度测量工具。</p>
103
+ <p>该工具负责在 Cesium 场景中管理连续或单次的坡度量算流程,并封装量算结果、
104
+ 标注提示与结果清理控制。</p>
103
105
  </div>
104
106
 
105
107
 
@@ -146,7 +148,7 @@
146
148
 
147
149
  <td class="description last">
148
150
 
149
- <p>视图</p></td>
151
+ <p>Cesium 视图对象。</p></td>
150
152
  </tr>
151
153
 
152
154
 
@@ -169,7 +171,7 @@
169
171
 
170
172
  <td class="description last">
171
173
 
172
- <p>包含以下属性的对象</p>
174
+ <p>坡度量算配置项。</p>
173
175
 
174
176
 
175
177
  <table class="params">
@@ -223,7 +225,7 @@
223
225
 
224
226
 
225
227
 
226
- <p>回调函数</p></td>
228
+ <p>量算结束回调。</p></td>
227
229
  </tr>
228
230
 
229
231
 
@@ -259,7 +261,7 @@
259
261
 
260
262
 
261
263
 
262
- <p>测量完毕后提示框的回调函数,可以覆盖提示内容</p></td>
264
+ <p>标注内容回调,用于覆盖默认提示文字。</p></td>
263
265
  </tr>
264
266
 
265
267
 
@@ -295,7 +297,7 @@
295
297
 
296
298
 
297
299
 
298
- <p>只要小于这个距离深度检测就会失效,就会一直显示在最前面 不会被遮挡</p></td>
300
+ <p>小于该距离时禁用深度检测,使标注保持前置显示。</p></td>
299
301
  </tr>
300
302
 
301
303
 
@@ -329,7 +331,7 @@
329
331
 
330
332
 
331
333
 
332
- <p>线段颜色</p></td>
334
+ <p>线段颜色。</p></td>
333
335
  </tr>
334
336
 
335
337
 
@@ -363,7 +365,7 @@
363
365
 
364
366
 
365
367
 
366
- <p>点颜色</p></td>
368
+ <p>节点颜色。</p></td>
367
369
  </tr>
368
370
 
369
371
 
@@ -399,7 +401,7 @@
399
401
 
400
402
 
401
403
 
402
- <p>label 文字的样式,支持填充、线框。填充和线框, FILL, OUTLINE, FILL_AND_OUTLINE</p></td>
404
+ <p>label 文字样式,支持 <code>FILL</code>、<code>OUTLINE</code>、<code>FILL_AND_OUTLINE</code>。</p></td>
403
405
  </tr>
404
406
 
405
407
 
@@ -435,7 +437,7 @@
435
437
 
436
438
 
437
439
 
438
- <p>label 的字体以及大小 @see <a href="https://html.spec.whatwg.org/multipage/canvas.html#text-styles">https://html.spec.whatwg.org/multipage/canvas.html#text-styles</a></p></td>
440
+ <p>label 字体与字号。</p></td>
439
441
  </tr>
440
442
 
441
443
 
@@ -471,7 +473,7 @@
471
473
 
472
474
 
473
475
 
474
- <p>label 的字体颜色</p></td>
476
+ <p>label 文字颜色。</p></td>
475
477
  </tr>
476
478
 
477
479
 
@@ -507,7 +509,7 @@
507
509
 
508
510
 
509
511
 
510
- <p>label 文字线框的颜色</p></td>
512
+ <p>label 描边颜色。</p></td>
511
513
  </tr>
512
514
 
513
515
 
@@ -543,7 +545,7 @@
543
545
 
544
546
 
545
547
 
546
- <p>label 的外轮廓边线</p></td>
548
+ <p>label 外轮廓宽度。</p></td>
547
549
  </tr>
548
550
 
549
551
 
@@ -579,7 +581,7 @@
579
581
 
580
582
 
581
583
 
582
- <p>label 的摆放位置</p></td>
584
+ <p>label 摆放位置。</p></td>
583
585
  </tr>
584
586
 
585
587
 
@@ -615,7 +617,7 @@
615
617
 
616
618
 
617
619
 
618
- <p>是否显示 label 的背景</p></td>
620
+ <p>是否显示 label 背景。</p></td>
619
621
  </tr>
620
622
 
621
623
 
@@ -651,7 +653,7 @@
651
653
 
652
654
 
653
655
 
654
- <p>lable 背景的颜色</p></td>
656
+ <p>label 背景色。</p></td>
655
657
  </tr>
656
658
 
657
659
 
@@ -687,7 +689,7 @@
687
689
 
688
690
 
689
691
 
690
- <p>label 相对于设定点的偏移位置</p></td>
692
+ <p>label 相对锚点的屏幕偏移。</p></td>
691
693
  </tr>
692
694
 
693
695
 
@@ -723,7 +725,7 @@
723
725
 
724
726
 
725
727
 
726
- <p>是否连续绘制,true:是,false:否</p></td>
728
+ <p>是否连续绘制。</p></td>
727
729
  </tr>
728
730
 
729
731
 
@@ -759,7 +761,43 @@
759
761
 
760
762
 
761
763
 
762
- <p>是否显示多个测量结果,true:是,false:否</p></td>
764
+ <p>是否显示多个量算结果。</p></td>
765
+ </tr>
766
+
767
+
768
+
769
+ <tr>
770
+
771
+ <td class="name"><code>enableAvoidance</code></td>
772
+
773
+
774
+ <td class="type">
775
+
776
+
777
+ <span class="param-type">Boolean</span>
778
+
779
+
780
+
781
+ </td>
782
+
783
+
784
+ <td class="default">
785
+
786
+ false
787
+
788
+ </td>
789
+
790
+
791
+ <td class="description last">
792
+
793
+
794
+ <span class="optional"> 可选</span>
795
+
796
+
797
+
798
+
799
+
800
+ <p>是否开启量算结果标签避让。</p></td>
763
801
  </tr>
764
802
 
765
803
 
@@ -823,13 +861,14 @@
823
861
 
824
862
  <pre class="prettyprint"><code>// ES5引入方式
825
863
  const { MeasureSlopeTool } = zondy.cesium
864
+
826
865
  // ES6引入方式
827
866
  import { MeasureSlopeTool } from "@mapgis/webclient-cesium-plugin"
828
867
 
829
- function callBack(arg){ }
830
- var measureSlopeTool = new MeasureSlopeTool(viewer,{callBack:callBack});
831
- measureSlopeTool.startTool(); //开始测量
832
- //measureSlopeTool.stopTool(); //结束测量</code></pre>
868
+ function callBack(arg) {}
869
+ var measureSlopeTool = new MeasureSlopeTool(viewer, { callBack: callBack })
870
+ measureSlopeTool.startTool()
871
+ // measureSlopeTool.stopTool()</code></pre>
833
872
 
834
873
 
835
874
 
@@ -863,7 +902,7 @@ measureSlopeTool.startTool(); //开始测量
863
902
  <dd>
864
903
 
865
904
  <div class="description">
866
- <p>坡度值</p>
905
+ <p>当前坡度值。</p>
867
906
  </div>
868
907
 
869
908
 
@@ -908,7 +947,7 @@ measureSlopeTool.startTool(); //开始测量
908
947
  <dd>
909
948
 
910
949
  <div class="description">
911
- <p>右键是否继续重新</p>
950
+ <p>右键后是否重新开始量算。</p>
912
951
  </div>
913
952
 
914
953
 
@@ -960,7 +999,7 @@ measureSlopeTool.startTool(); //开始测量
960
999
 
961
1000
 
962
1001
  <div class="tag-source">
963
- engineExtensions/tools/MeasureSlopeTool.js, line 169
1002
+ engineExtensions/tools/MeasureSlopeTool.js, line 181
964
1003
  </div>
965
1004
 
966
1005
  </div>
@@ -971,7 +1010,7 @@ measureSlopeTool.startTool(); //开始测量
971
1010
 
972
1011
 
973
1012
  <div class="description">
974
- <p>清除所有测量结果,仍可绘制(绘制事件仍然是激活状态)</p>
1013
+ <p>清除全部坡度量算结果,并在允许连续绘制时重新进入激活状态。</p>
975
1014
  </div>
976
1015
 
977
1016
 
@@ -1031,7 +1070,7 @@ measureSlopeTool.startTool(); //开始测量
1031
1070
 
1032
1071
 
1033
1072
  <div class="tag-source">
1034
- engineExtensions/tools/MeasureSlopeTool.js, line 59
1073
+ engineExtensions/tools/MeasureSlopeTool.js, line 70
1035
1074
  </div>
1036
1075
 
1037
1076
  </div>
@@ -1042,7 +1081,7 @@ measureSlopeTool.startTool(); //开始测量
1042
1081
 
1043
1082
 
1044
1083
  <div class="description">
1045
- <p>开始测量</p>
1084
+ <p>激活坡度量算流程并创建当前绘制工具。</p>
1046
1085
  </div>
1047
1086
 
1048
1087
 
@@ -1102,7 +1141,7 @@ measureSlopeTool.startTool(); //开始测量
1102
1141
 
1103
1142
 
1104
1143
  <div class="tag-source">
1105
- engineExtensions/tools/MeasureSlopeTool.js, line 150
1144
+ engineExtensions/tools/MeasureSlopeTool.js, line 162
1106
1145
  </div>
1107
1146
 
1108
1147
  </div>
@@ -1113,7 +1152,7 @@ measureSlopeTool.startTool(); //开始测量
1113
1152
 
1114
1153
 
1115
1154
  <div class="description">
1116
- <p>结束测量,测量工具处于不能绘制(不激活状态)</p>
1155
+ <p>停止坡度量算。</p>
1117
1156
  </div>
1118
1157
 
1119
1158
 
@@ -1175,7 +1214,7 @@ measureSlopeTool.startTool(); //开始测量
1175
1214
 
1176
1215
 
1177
1216
 
1178
- <p>是否保留测量结果。默认为false不保留测量结果。</p></td>
1217
+ <p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
1179
1218
  </tr>
1180
1219
 
1181
1220
 
@@ -1236,7 +1275,7 @@ measureSlopeTool.startTool(); //开始测量
1236
1275
 
1237
1276
 
1238
1277
  <footer>
1239
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
1278
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
1240
1279
  </footer>
1241
1280
  </div>
1242
1281
  </div>