@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
@@ -94,17 +94,12 @@
94
94
  </div>
95
95
 
96
96
 
97
- <p class="summary"><h5>支持如下方法:</h5>
98
- <a href='#worldToWindowCoordinates'>[1、适配Cesium不同版本的worldToWindowCoordinates方法,将世界坐标中的位置转换为窗口坐标]</a><br/>
99
- <a href='#fromGltfAsync'>[2、适配Cesium不同版本的fromGltfAsync方法,异步创建GLTF模型]</a><br/>
100
- <a href='#fromBoundingSphere'>[3、适配Cesium不同版本的fromBoundingSphere方法]</a><br/></p>
101
-
102
97
  </dt>
103
98
  <dd>
104
99
 
105
100
 
106
101
  <div class="description">
107
- <p>适配不同版本Cesium接口方法类</p>
102
+ <p>适配不同 Cesium 版本差异接口的工具类。</p>
108
103
  </div>
109
104
 
110
105
 
@@ -153,12 +148,16 @@
153
148
 
154
149
  <h5>Example</h5>
155
150
 
151
+ <p class="code-caption"><h7>调用 Cesium 兼容适配方法</h7></p>
152
+
156
153
 
157
154
 
158
155
  <pre class="prettyprint"><code>// ES5引入方式
159
156
  const { CompatibleFunc } = zondy.cesium
157
+
160
158
  // ES6引入方式
161
159
  import { CompatibleFunc } from "@mapgis/webclient-cesium-plugin"
160
+
162
161
  const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
163
162
  scene,
164
163
  Cesium.Cartesian3.fromDegrees(0, 0, 0)
@@ -199,7 +198,7 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
199
198
 
200
199
 
201
200
  <div class="tag-source">
202
- engineExtensions/util/CompatibleFunc.js, line 67
201
+ engineExtensions/util/CompatibleFunc.js, line 70
203
202
  </div>
204
203
 
205
204
  </div>
@@ -210,7 +209,8 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
210
209
 
211
210
 
212
211
  <div class="description">
213
- <p>适配Cesium不同版本的fromBoundingSphere方法。Create a rectangle from a bounding sphere, ignoring height.</p>
212
+ <p>适配不同 Cesium 版本的 <code>fromBoundingSphere</code> 方法。
213
+ 该方法会在忽略高度的前提下,根据包围球计算矩形范围。</p>
214
214
  </div>
215
215
 
216
216
 
@@ -268,7 +268,7 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
268
268
 
269
269
 
270
270
 
271
- <p>The bounding sphere.</p></td>
271
+ <p>包围球对象。</p></td>
272
272
  </tr>
273
273
 
274
274
 
@@ -304,7 +304,7 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
304
304
 
305
305
 
306
306
 
307
- <p>The ellipsoid.</p></td>
307
+ <p>椭球对象。</p></td>
308
308
  </tr>
309
309
 
310
310
 
@@ -338,7 +338,7 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
338
338
 
339
339
 
340
340
 
341
- <p>The object onto which to store the result, or undefined if a new instance should be created.</p></td>
341
+ <p>用于接收结果的矩形对象;未提供时返回新对象。</p></td>
342
342
  </tr>
343
343
 
344
344
 
@@ -388,33 +388,22 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
388
388
  <table class="params">
389
389
  <thead>
390
390
  <tr>
391
- <th>Name</th>
391
+
392
392
  <th>Type</th>
393
393
  <th class="last">Description</th>
394
394
  </tr>
395
395
  </thead>
396
396
  <tbody>
397
397
 
398
- <tr>
399
- <td class="name"><code>The</code></td>
400
- <td class="type">
401
-
402
- Cesium.Rectangle
403
-
404
-
405
- </td>
406
- <td class="description last">modified result parameter or a new Rectangle instance if none was provided.</td>
407
- </tr>
408
-
409
398
  <tr>
410
399
 
411
400
  <td class="type">
412
401
 
413
- *
402
+ Cesium.Rectangle
414
403
 
415
404
 
416
405
  </td>
417
- <td class="description last"></td>
406
+ <td class="description last">计算得到的矩形范围。</td>
418
407
  </tr>
419
408
 
420
409
  </tbody>
@@ -436,7 +425,7 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
436
425
 
437
426
 
438
427
  <div class="tag-source">
439
- engineExtensions/util/CompatibleFunc.js, line 46
428
+ engineExtensions/util/CompatibleFunc.js, line 48
440
429
  </div>
441
430
 
442
431
  </div>
@@ -447,8 +436,9 @@ const windowCoordinates = CompatibleFunc.worldToWindowCoordinates(
447
436
 
448
437
 
449
438
  <div class="description">
450
- <p>适配Cesium不同版本的fromGltfAsync方法,异步创建GLTF模型。
451
- Cesium1.122中该方法为Cesium.Model.fromGltfAsync。Cesium1.84中该方法为Cesium.Model.fromGltf。<a id='fromGltfAsync'></a></p>
439
+ <p>适配不同 Cesium 版本的 <code>fromGltfAsync</code> 方法。
440
+ Cesium 1.122 中对应 <code>Cesium.Model.fromGltfAsync</code>;
441
+ Cesium 1.84 中对应 <code>Cesium.Model.fromGltf</code>。</p>
452
442
  </div>
453
443
 
454
444
 
@@ -515,7 +505,7 @@ Cesium1.122中该方法为Cesium.Model.fromGltfAsync。Cesium1.84中该方法为
515
505
 
516
506
 
517
507
  </td>
518
- <td class="description last">fromGltfAsync方法</td>
508
+ <td class="description last">兼容后的 GLTF 模型创建方法。</td>
519
509
  </tr>
520
510
 
521
511
  </tbody>
@@ -548,8 +538,9 @@ Cesium1.122中该方法为Cesium.Model.fromGltfAsync。Cesium1.84中该方法为
548
538
 
549
539
 
550
540
  <div class="description">
551
- <p>适配Cesium不同版本的worldToWindowCoordinates方法,将世界坐标中的位置转换为窗口坐标。
552
- Cesium1.122中该方法为Cesium.SceneTransforms.worldToWindowCoordinates。Cesium1.84中该方法为Cesium.SceneTransforms.wgs84ToWindowCoordinates。<a id='worldToWindowCoordinates'></a></p>
541
+ <p>适配不同 Cesium 版本的 <code>worldToWindowCoordinates</code> 方法。
542
+ Cesium 1.122 中对应 <code>Cesium.SceneTransforms.worldToWindowCoordinates</code>;
543
+ Cesium 1.84 中对应 <code>Cesium.SceneTransforms.wgs84ToWindowCoordinates</code>。</p>
553
544
  </div>
554
545
 
555
546
 
@@ -616,7 +607,7 @@ Cesium1.122中该方法为Cesium.SceneTransforms.worldToWindowCoordinates。Cesi
616
607
 
617
608
 
618
609
  </td>
619
- <td class="description last">worldToWindowCoordinates方法</td>
610
+ <td class="description last">兼容后的窗口坐标转换方法。</td>
620
611
  </tr>
621
612
 
622
613
  </tbody>
@@ -641,7 +632,7 @@ Cesium1.122中该方法为Cesium.SceneTransforms.worldToWindowCoordinates。Cesi
641
632
 
642
633
 
643
634
  <footer>
644
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
635
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
645
636
  </footer>
646
637
  </div>
647
638
  </div>
@@ -71,6 +71,8 @@
71
71
 
72
72
  </h2>
73
73
 
74
+ <div class="class-description"><p>自定义DC</p></div>
75
+
74
76
  </header>
75
77
 
76
78
  <article>
@@ -98,10 +100,6 @@
98
100
  <dd>
99
101
 
100
102
 
101
- <div class="description">
102
- <p>自定义DC</p>
103
- </div>
104
-
105
103
 
106
104
 
107
105
 
@@ -178,7 +176,7 @@
178
176
 
179
177
 
180
178
  <footer>
181
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
179
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
182
180
  </footer>
183
181
  </div>
184
182
  </div>
@@ -477,7 +477,7 @@ const projection = new CustomProjection({
477
477
 
478
478
 
479
479
  <div class="tag-source">
480
- engineExtensions/core/CustomProjection.js, line 55
480
+ engineExtensions/core/CustomProjection.js, line 53
481
481
  </div>
482
482
 
483
483
  </div>
@@ -657,7 +657,7 @@ const projection = new CustomProjection({
657
657
 
658
658
 
659
659
  <div class="tag-source">
660
- engineExtensions/core/CustomProjection.js, line 107
660
+ engineExtensions/core/CustomProjection.js, line 102
661
661
  </div>
662
662
 
663
663
  </div>
@@ -840,7 +840,7 @@ const projection = new CustomProjection({
840
840
 
841
841
 
842
842
  <footer>
843
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
843
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
844
844
  </footer>
845
845
  </div>
846
846
  </div>
@@ -94,29 +94,18 @@
94
94
  </div>
95
95
 
96
96
 
97
- <p class="summary"><h5>请参考以下示例:</h5>
98
- <a href='#example1'>[1、创建自定义瓦片切分规则]</a><br/>
99
- <a href='http://10.10.130.72:8086/#/modules/cesium/layer/internetLayer/baidu' target='_blank'>[2、百度地图]</a><br/>
100
- <a href='http://10.10.130.72:8086/#/modules/cesium/layer/internetLayer/custom' target='_blank'>[3、自定义裁图方式地图]</a><br/>
101
- <a href='http://10.10.130.72:8086/#/example-gallery/cesium#layer' target='_blank'>[4、更多示例请参考数据图层示例]</a><br/>
102
- <h5>支持如下方法:</h5>
103
- <a href='#getNumberOfXTilesAtLevel'>[1、获取指定详细级别X方向上的瓦片总数]</a><br/>
104
- <a href='#getNumberOfYTilesAtLevel'>[2、获取指定详细级别Y方向上的瓦片总数]</a><br/>
105
- <a href='#positionToTileXY'>[3、计算一个坐标点在某一详细级别中位于某一瓦片的X、Y坐标]</a><br/>
106
- <a href='#rectangleToNativeRectangle'>[4、将以地理坐标经纬度弧度指定的矩形转换到此瓦片平铺方案的投影坐标系]</a><br/>
107
- <a href='#tileXYToNativeRectangle'>[5、将瓦片平铺的X、Y坐标和详细级别转换为以此瓦片平铺方案的投影坐标系表示的矩形]</a><br/>
108
- <a href='#tileXYToRectangle'>[6、将瓦片平铺的X、Y坐标和高度转换为以弧度表示的矩形范围]</a><br/></p>
109
-
110
97
  </dt>
111
98
  <dd>
112
99
 
113
100
 
114
101
  <div class="description">
115
- <p>自定义瓦片平铺方案,在使用时有如下限制:</p>
116
- <ol>
117
- <li>裁图原点必须在地图范围的左上角区域;</li>
118
- <li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
119
- </ol>
102
+ <p>自定义瓦片平铺方案。</p>
103
+ <p>该类用于描述非标准切片服务的瓦片编号、数据范围和投影换算规则,负责在地理坐标、
104
+ 投影坐标与瓦片行列号之间进行双向转换。适用于 WMTS、自定义互联网底图或服务端
105
+ 直接返回 <code>tileInfo</code> 的切片服务接入场景。</p>
106
+ <p>当前实现要求裁图原点位于地图范围左上区域,且瓦片组织方式与常见 Web 地图一致:
107
+ X 方向从左向右递增,Y 方向从上向下递增。若服务采用其他编号方向,需要通过
108
+ <code>axisDirection</code> 和 <code>tileInfo</code> 先完成兼容配置。</p>
120
109
  </div>
121
110
 
122
111
 
@@ -137,6 +126,8 @@
137
126
  <th>Type</th>
138
127
 
139
128
 
129
+ <th>Default</th>
130
+
140
131
 
141
132
  <th class="last">Description</th>
142
133
  </tr>
@@ -160,6 +151,12 @@
160
151
  </td>
161
152
 
162
153
 
154
+ <td class="default">
155
+
156
+ {}
157
+
158
+ </td>
159
+
163
160
 
164
161
  <td class="description last">
165
162
 
@@ -170,7 +167,7 @@
170
167
 
171
168
 
172
169
 
173
- <p>构造函数的参数对象,包含的属性如下:</p>
170
+ <p>构造参数。</p>
174
171
 
175
172
 
176
173
  <table class="params">
@@ -224,7 +221,7 @@
224
221
 
225
222
 
226
223
 
227
- <p>表面被瓦片平铺的参考椭球体,默认为WGS84椭球体</p></td>
224
+ <p>参与瓦片范围计算的参考椭球体。未传入时使用 WGS84。</p></td>
228
225
  </tr>
229
226
 
230
227
 
@@ -258,7 +255,7 @@
258
255
 
259
256
 
260
257
 
261
- <p>投影坐标系的通识文本(Well Known Text)</p></td>
258
+ <p>投影坐标系的 WKT 定义。适用于按投影文本恢复平铺方案。</p></td>
262
259
  </tr>
263
260
 
264
261
 
@@ -292,7 +289,7 @@
292
289
 
293
290
 
294
291
 
295
- <p>投影坐标系的通识编码(Well Known ID)</p></td>
292
+ <p>投影坐标系编码。适用于按已知 WKID 恢复平铺方案。</p></td>
296
293
  </tr>
297
294
 
298
295
 
@@ -306,6 +303,9 @@
306
303
 
307
304
 
308
305
  <span class="param-type">Object</span>
306
+ |
307
+
308
+ <span class="param-type">TileInfo</span>
309
309
 
310
310
 
311
311
 
@@ -320,13 +320,11 @@
320
320
  <td class="description last">
321
321
 
322
322
 
323
- <span class="optional"> 可选</span>
324
-
325
323
 
326
324
 
327
325
 
328
326
 
329
- <p>必传。瓦片的属性信息,地图服务可以不提供该参数,该参数有固定的格式要求,详见下方示例</p></td>
327
+ <p>瓦片元信息。用于定义原点、LOD、分辨率和瓦片尺寸,是切片计算的基础输入。</p></td>
330
328
  </tr>
331
329
 
332
330
 
@@ -360,7 +358,7 @@
360
358
 
361
359
 
362
360
 
363
- <p>瓦片组织方向(裁图方向)。axisDirection.x=1代表x轴由左往右为正,axisDirection.x=-1代表x轴由右往左为正;axisDirection.y=1代表x轴由下往上为正,axisDirection.y=-1代表x轴由上往下为正。例如wmts的axisDirection为{x:1,y:-1}。</p></td>
361
+ <p>瓦片编号方向。<code>x=1/-1</code> 分别表示 X 轴正向为左到右/右到左,<code>y=1/-1</code> 分别表示 Y 轴正向为下到上/上到下。</p></td>
364
362
  </tr>
365
363
 
366
364
 
@@ -394,7 +392,7 @@
394
392
 
395
393
 
396
394
 
397
- <p>地图数据范围的西南角</p></td>
395
+ <p>数据范围的西南角投影坐标。通常在无法直接从 <code>tileInfo</code> 推断范围时传入。</p></td>
398
396
  </tr>
399
397
 
400
398
 
@@ -428,7 +426,7 @@
428
426
 
429
427
 
430
428
 
431
- <p>地图数据范围的东北角</p></td>
429
+ <p>数据范围的东北角投影坐标。通常与 <code>rectangleSouthwest</code> 配合使用。</p></td>
432
430
  </tr>
433
431
 
434
432
 
@@ -487,8 +485,9 @@
487
485
 
488
486
  <pre class="prettyprint"><code>// ES5引入方式
489
487
  const { CustomTilingScheme } = zondy
488
+
490
489
  // ES6引入方式
491
- import { CustomTilingScheme } from "@mapgis/webclient-cesium-plugin"
490
+ import { CustomTilingScheme } from '@mapgis/webclient-cesium-plugin'
492
491
 
493
492
  // 瓦片的属性信息
494
493
  const tileInfo = {
@@ -815,7 +814,7 @@ const tilingScheme = new CustomTilingScheme({
815
814
 
816
815
 
817
816
  <div class="tag-source">
818
- engineExtensions/core/CustomTilingScheme.js, line 523
817
+ engineExtensions/core/CustomTilingScheme.js, line 432
819
818
  </div>
820
819
 
821
820
  </div>
@@ -960,7 +959,7 @@ const tilingScheme = new CustomTilingScheme({
960
959
 
961
960
 
962
961
  <div class="tag-source">
963
- engineExtensions/core/CustomTilingScheme.js, line 540
962
+ engineExtensions/core/CustomTilingScheme.js, line 448
964
963
  </div>
965
964
 
966
965
  </div>
@@ -1105,7 +1104,7 @@ const tilingScheme = new CustomTilingScheme({
1105
1104
 
1106
1105
 
1107
1106
  <div class="tag-source">
1108
- engineExtensions/core/CustomTilingScheme.js, line 712
1107
+ engineExtensions/core/CustomTilingScheme.js, line 596
1109
1108
  </div>
1110
1109
 
1111
1110
  </div>
@@ -1313,7 +1312,7 @@ const tilingScheme = new CustomTilingScheme({
1313
1312
 
1314
1313
 
1315
1314
  <div class="tag-source">
1316
- engineExtensions/core/CustomTilingScheme.js, line 558
1315
+ engineExtensions/core/CustomTilingScheme.js, line 465
1317
1316
  </div>
1318
1317
 
1319
1318
  </div>
@@ -1493,7 +1492,7 @@ const tilingScheme = new CustomTilingScheme({
1493
1492
 
1494
1493
 
1495
1494
  <div class="tag-source">
1496
- engineExtensions/core/CustomTilingScheme.js, line 589
1495
+ engineExtensions/core/CustomTilingScheme.js, line 491
1497
1496
  </div>
1498
1497
 
1499
1498
  </div>
@@ -1729,7 +1728,7 @@ const tilingScheme = new CustomTilingScheme({
1729
1728
 
1730
1729
 
1731
1730
  <div class="tag-source">
1732
- engineExtensions/core/CustomTilingScheme.js, line 649
1731
+ engineExtensions/core/CustomTilingScheme.js, line 537
1733
1732
  </div>
1734
1733
 
1735
1734
  </div>
@@ -1968,7 +1967,7 @@ const tilingScheme = new CustomTilingScheme({
1968
1967
 
1969
1968
 
1970
1969
  <footer>
1971
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
1970
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
1972
1971
  </footer>
1973
1972
  </div>
1974
1973
  </div>
@@ -94,17 +94,14 @@
94
94
  </div>
95
95
 
96
96
 
97
- <p class="summary"><h5>请参考以下示例:</h5>
98
- <a href='#example1'>1、填挖方分析</a>
99
- <h5>支持如下方法:</h5>
100
- <a href='#start'>[1、开始分析]</a><br/></p>
101
-
102
97
  </dt>
103
98
  <dd>
104
99
 
105
100
 
106
101
  <div class="description">
107
- <p>填挖方分析</p>
102
+ <p>填挖方分析工具。</p>
103
+ <p><code>CutFillAnalysis</code> 会在指定区域内生成采样格网,并基于地形、模型或场景高度结果计算填方体积、挖方体积和表面积。
104
+ 适用于土方量估算、场地平整评估和施工前地形测算等场景。</p>
108
105
  </div>
109
106
 
110
107
 
@@ -143,7 +140,7 @@
143
140
  <td class="type">
144
141
 
145
142
 
146
- <span class="param-type">Object</span>
143
+ <span class="param-type"><a href="Cesium.Viewer.html">Cesium.Viewer</a></span>
147
144
 
148
145
 
149
146
 
@@ -162,7 +159,7 @@
162
159
 
163
160
 
164
161
 
165
- <p>场景视图对象,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html' target='_blank'>详见Cesium.Viewer</a></p></td>
162
+ <p>场景视图对象。</p></td>
166
163
  </tr>
167
164
 
168
165
 
@@ -198,7 +195,7 @@
198
195
 
199
196
 
200
197
 
201
- <p>附加参数</p>
198
+ <p>填挖方分析初始化参数。</p>
202
199
 
203
200
 
204
201
  <table class="params">
@@ -229,7 +226,7 @@
229
226
  <td class="type">
230
227
 
231
228
 
232
- <span class="param-type">Object</span>
229
+ <span class="param-type">*</span>
233
230
 
234
231
 
235
232
 
@@ -252,7 +249,7 @@
252
249
 
253
250
 
254
251
 
255
- <p>地形图层</p></td>
252
+ <p>采样数据源,默认使用当前地形图层。</p></td>
256
253
  </tr>
257
254
 
258
255
 
@@ -288,7 +285,7 @@
288
285
 
289
286
 
290
287
 
291
- <p>X坐标方向采样点的个数,数值越大采样点越多,采样耗时越久</p></td>
288
+ <p>X 方向采样点个数,数值越大采样越密集。</p></td>
292
289
  </tr>
293
290
 
294
291
 
@@ -324,7 +321,7 @@
324
321
 
325
322
 
326
323
 
327
- <p>Y坐标方向采样点的个数,数值越大采样点越多,采样耗时越久</p></td>
324
+ <p>Y 方向采样点个数,数值越大采样越密集。</p></td>
328
325
  </tr>
329
326
 
330
327
 
@@ -360,7 +357,7 @@
360
357
 
361
358
 
362
359
 
363
- <p>设定格子X方向距离,默认为负值的情况下,使用直接设定paneNumber的采样点个数</p></td>
360
+ <p>X 方向格网边长,单位为米;小于等于 0 时按采样点个数划分。</p></td>
364
361
  </tr>
365
362
 
366
363
 
@@ -396,7 +393,7 @@
396
393
 
397
394
 
398
395
 
399
- <p>设定格子Y方向距离</p></td>
396
+ <p>Y 方向格网边长,单位为米;小于等于 0 时按采样点个数划分。</p></td>
400
397
  </tr>
401
398
 
402
399
 
@@ -432,7 +429,7 @@
432
429
 
433
430
 
434
431
 
435
- <p>填挖方平整高程,低于该高度会计算填方体积,高于该高度会计算挖方体积</p></td>
432
+ <p>基准平整高程。低于该高度的区域计为填方,高于该高度的区域计为挖方。</p></td>
436
433
  </tr>
437
434
 
438
435
 
@@ -468,7 +465,7 @@
468
465
 
469
466
 
470
467
 
471
- <p>要采样的数据类型,0.0:地形,1.0:模型,2.0:场景(地形加模型),请注意当采样类型选择,模型或场景是,采样速度会变慢</p></td>
468
+ <p>采样类型。<code>0</code> 表示地形,<code>1</code> 表示模型,<code>2</code> 表示地形与模型混合场景。</p></td>
472
469
  </tr>
473
470
 
474
471
 
@@ -490,8 +487,6 @@
490
487
 
491
488
  <td class="default">
492
489
 
493
- null
494
-
495
490
  </td>
496
491
 
497
492
 
@@ -504,7 +499,7 @@
504
499
 
505
500
 
506
501
 
507
- <p>结果回调函数</p></td>
502
+ <p>分析完成后的结果回调函数。</p></td>
508
503
  </tr>
509
504
 
510
505
 
@@ -540,7 +535,7 @@
540
535
 
541
536
 
542
537
 
543
- <p>地形取高程时使用的地形层级,默认使用最精细级</p></td>
538
+ <p>地形取高时使用的地形层级,默认使用最精细级。</p></td>
544
539
  </tr>
545
540
 
546
541
 
@@ -599,6 +594,7 @@
599
594
 
600
595
  <pre class="prettyprint"><code>// ES5引入方式
601
596
  const { CutFillAnalysis } = zondy.cesium
597
+
602
598
  // ES6引入方式
603
599
  import { CutFillAnalysis } from "@mapgis/webclient-cesium-plugin"
604
600
 
@@ -1247,12 +1243,12 @@ cutFill.start(minMax)</code></pre>
1247
1243
  <div class="nameContainer">
1248
1244
  <h4 class="name" id="start">
1249
1245
 
1250
- start<span class="signature">(params)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
1246
+ start<span class="signature">(params, <span class="optional">terrainData</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
1251
1247
  </h4>
1252
1248
 
1253
1249
 
1254
1250
  <div class="tag-source">
1255
- engineExtensions/analysis/CutFillAnalysis.js, line 678
1251
+ engineExtensions/analysis/CutFillAnalysis.js, line 664
1256
1252
  </div>
1257
1253
 
1258
1254
  </div>
@@ -1263,7 +1259,8 @@ cutFill.start(minMax)</code></pre>
1263
1259
 
1264
1260
 
1265
1261
  <div class="description">
1266
- <p>开始分析<a id='start'/></p>
1262
+ <p>启动一次填挖方分析。</p>
1263
+ <p>该方法会根据输入范围和当前采样配置生成格网点,并按 <code>dataType</code> 选择地形、模型或场景高程采样流程。</p>
1267
1264
  </div>
1268
1265
 
1269
1266
 
@@ -1310,7 +1307,42 @@ cutFill.start(minMax)</code></pre>
1310
1307
 
1311
1308
  <td class="description last">
1312
1309
 
1313
- <p>最小最大经纬度值</p></td>
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+ <p>由 <code>getMinAndMaxCartesian</code> 返回的最小外接经纬度范围。</p></td>
1316
+ </tr>
1317
+
1318
+
1319
+
1320
+ <tr>
1321
+
1322
+ <td class="name"><code>terrainData</code></td>
1323
+
1324
+
1325
+ <td class="type">
1326
+
1327
+
1328
+ <span class="param-type">*</span>
1329
+
1330
+
1331
+
1332
+ </td>
1333
+
1334
+
1335
+
1336
+ <td class="description last">
1337
+
1338
+
1339
+ <span class="optional"> 可选</span>
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+ <p>可选的地形或场景数据源;传入后会覆盖实例当前的数据源。</p></td>
1314
1346
  </tr>
1315
1347
 
1316
1348
 
@@ -1375,7 +1407,7 @@ cutFill.start(minMax)</code></pre>
1375
1407
 
1376
1408
 
1377
1409
  </td>
1378
- <td class="description last">成功返回 true</td>
1410
+ <td class="description last">是否已成功启动分析流程。</td>
1379
1411
  </tr>
1380
1412
 
1381
1413
  </tbody>
@@ -1400,7 +1432,7 @@ cutFill.start(minMax)</code></pre>
1400
1432
 
1401
1433
 
1402
1434
  <footer>
1403
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
1435
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
1404
1436
  </footer>
1405
1437
  </div>
1406
1438
  </div>