@mapgis/webclient-cesium-plugin 17.8.0 → 17.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/README.md +280 -474
  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 +92 -41
  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,27 +88,21 @@
88
88
 
89
89
 
90
90
  <div class="tag-source">
91
- engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 28
91
+ engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 30
92
92
  </div>
93
93
 
94
94
  </div>
95
95
 
96
96
 
97
- <p class="summary"><h5>请参考以下示例:</h5>
98
- <a href='#example1'>1、添加一个MapGIS矢量瓦片图层:原生接口开发</a><br>
99
- <a href='http://10.10.130.72:8086/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>2、卷帘</a><br>
100
- <a href='http://10.10.130.72:8086/#/example-gallery/cesium#vectorTile' target='_blank'>3、更多图层加载示例</a>
101
- <h5>支持如下方法:</h5>
102
- <a href='#fromUrl'>[1、通过URL来构造一个MapGISVectorTileImageryProvider对象]</a><br/>
103
- <a href='#getLabelClass'>[2、获取注记的渲染模式]</a><br/>
104
- <a href='#destroy'>[3、销毁MapGISVectorTileImageryProvider的相关事件和私有变量]</a><br/></p>
105
-
106
97
  </dt>
107
98
  <dd>
108
99
 
109
100
 
110
101
  <div class="description">
111
102
  <p>MapGIS矢量瓦片服务接入类</p>
103
+ <p>该类用于将 MapGIS 矢量瓦片服务适配为 Cesium 可加载的影像提供器,并在内部处理样式转换、瓦片队列和注记渲染。
104
+ 适用于需要在三维场景中加载矢量瓦片并保留样式语义的场景。
105
+ 调用方可通过 <code>labelsRenderMode</code> 控制注记渲染策略,并通过 <code>fromUrl</code> 快速完成服务初始化。</p>
112
106
  </div>
113
107
 
114
108
 
@@ -155,7 +149,7 @@
155
149
 
156
150
  <td class="description last">
157
151
 
158
- <p>初始化参数</p>
152
+ <p>初始化参数。</p>
159
153
 
160
154
 
161
155
  <table class="params">
@@ -209,7 +203,7 @@
209
203
 
210
204
 
211
205
 
212
- <p>矢量瓦片样式,必填,请参考Mapboxgl的矢量瓦片标准文档:https://docs.mapbox.com/style-spec/reference/</p></td>
206
+ <p>矢量瓦片样式对象,格式遵循 Mapbox Style 规范。</p></td>
213
207
  </tr>
214
208
 
215
209
 
@@ -245,7 +239,7 @@
245
239
 
246
240
 
247
241
 
248
- <p>Cesium的场景对象,必填,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=Scene' target='_blank'>详见Cesium.Scene</a></p></td>
242
+ <p>Cesium 场景对象。</p></td>
249
243
  </tr>
250
244
 
251
245
 
@@ -284,7 +278,7 @@
284
278
 
285
279
 
286
280
 
287
- <p>矢量瓦片服务的平铺方案,必填,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=TilingScheme' target='_blank'>详见Cesium.TilingScheme</a></p></td>
281
+ <p>矢量瓦片平铺方案。</p></td>
288
282
  </tr>
289
283
 
290
284
 
@@ -320,7 +314,7 @@
320
314
 
321
315
 
322
316
 
323
- <p>瓦片宽度</p></td>
317
+ <p>瓦片宽度。</p></td>
324
318
  </tr>
325
319
 
326
320
 
@@ -356,7 +350,7 @@
356
350
 
357
351
 
358
352
 
359
- <p>瓦片高度</p></td>
353
+ <p>瓦片高度。</p></td>
360
354
  </tr>
361
355
 
362
356
 
@@ -392,7 +386,7 @@
392
386
 
393
387
 
394
388
 
395
- <p>图层显示范围,超出范围不会额外请求瓦片,若不设置,则从tilingScheme中获取,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=Rectangle' target='_blank'>详见Cesium.Rectangle</a></p></td>
389
+ <p>图层显示范围,不设置时默认取平铺方案范围。</p></td>
396
390
  </tr>
397
391
 
398
392
 
@@ -428,7 +422,7 @@
428
422
 
429
423
 
430
424
 
431
- <p>矢量瓦片的最小显示级别</p></td>
425
+ <p>最小显示级别。</p></td>
432
426
  </tr>
433
427
 
434
428
 
@@ -464,7 +458,7 @@
464
458
 
465
459
 
466
460
 
467
- <p>矢量瓦片的最大显示级别</p></td>
461
+ <p>最大显示级别。</p></td>
468
462
  </tr>
469
463
 
470
464
 
@@ -503,7 +497,7 @@
503
497
 
504
498
 
505
499
 
506
- <p>“视图的显示级别,超出瓦片数据自身支持的级别”时,是否对瓦片进行拉伸显示。此值未定义或者设置为true时,超出范围后,会采用最接近一级的瓦片进行拉伸或缩放显示。反之,超出范围后,瓦片不再显示</p></td>
500
+ <p>超出原始级别时是否拉伸最近一级图片继续显示。</p></td>
507
501
  </tr>
508
502
 
509
503
 
@@ -539,7 +533,7 @@
539
533
 
540
534
 
541
535
 
542
- <p>token名</p></td>
536
+ <p>token 参数名。</p></td>
543
537
  </tr>
544
538
 
545
539
 
@@ -575,7 +569,7 @@
575
569
 
576
570
 
577
571
 
578
- <p>token值,只有当tokenValue存在时,才会绑定token</p></td>
572
+ <p>token 参数值。</p></td>
579
573
  </tr>
580
574
 
581
575
 
@@ -611,7 +605,7 @@
611
605
 
612
606
 
613
607
 
614
- <p>像素缩放因子,既canvas中一个像素对应屏幕像素的大小</p></td>
608
+ <p>像素缩放因子,即 canvas 像素到屏幕像素的比例。</p></td>
615
609
  </tr>
616
610
 
617
611
 
@@ -647,7 +641,7 @@
647
641
 
648
642
 
649
643
 
650
- <p>矢量瓦片中绘制的几何内容的缩放矩阵,默认是[0.125, 0, 0, 0.125, 0, 0],意味着将矢量瓦片里的内容缩放至1/8,并填充到canvas中</p></td>
644
+ <p>绘制到 canvas 时使用的几何缩放矩阵。</p></td>
651
645
  </tr>
652
646
 
653
647
 
@@ -681,7 +675,7 @@
681
675
 
682
676
 
683
677
 
684
- <p>矢量瓦片注记参数</p></td>
678
+ <p>子图层注记参数。</p></td>
685
679
  </tr>
686
680
 
687
681
 
@@ -715,7 +709,7 @@
715
709
 
716
710
 
717
711
 
718
- <p>指定矢量瓦片注记的渲染模式,仅在三维上有效。on-screen表示使用三维接口实时渲染注记;off-screen表示通过先将注记渲染到图片上,再通过三维接口渲染到屏幕。</p></td>
712
+ <p>注记渲染模式。<code>on-screen</code> 表示实时渲染,<code>off-screen</code> 表示先渲染到图片后再显示。</p></td>
719
713
  </tr>
720
714
 
721
715
 
@@ -749,7 +743,7 @@
749
743
 
750
744
 
751
745
 
752
- <p>图层加载成功后的回调函数</p></td>
746
+ <p>图层加载成功后的回调承诺。</p></td>
753
747
  </tr>
754
748
 
755
749
 
@@ -802,14 +796,13 @@
802
796
 
803
797
  <h5>Example</h5>
804
798
 
805
- <p class="code-caption"><h7 id='example1'>添加一个MapGIS矢量瓦片图层:原生接口开发</h7></p>
806
-
807
799
 
808
800
 
809
801
  <pre class="prettyprint"><code>// ES5引入方式
810
802
  const { MapGISVectorTileImageryProvider } = zondy.cesium
803
+
811
804
  // ES6引入方式
812
- import { MapGISVectorTileImageryProvider } from "@mapgis/webclient-cesium-plugin"
805
+ import { MapGISVectorTileImageryProvider } from '@mapgis/webclient-cesium-plugin'
813
806
 
814
807
  const url = 'http://localhost:8089/igs/rest/services/VectorTile/example/VectorTileServer'
815
808
  const addImageryProvider = async (url) => {
@@ -1042,7 +1035,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1042
1035
  <dd>
1043
1036
 
1044
1037
  <div class="description">
1045
- <p>图层是否加载完毕</p>
1038
+ <p>当前 provider 是否已完成初始化。</p>
1046
1039
  </div>
1047
1040
 
1048
1041
 
@@ -1502,16 +1495,87 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1502
1495
 
1503
1496
  <dl>
1504
1497
 
1498
+ <dt>
1499
+ <div class="nameContainer">
1500
+ <h4 class="name" id="destroy">
1501
+
1502
+ destroy<span class="signature">()</span>
1503
+ </h4>
1504
+
1505
+
1506
+ <div class="tag-source">
1507
+ engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 934
1508
+ </div>
1509
+
1510
+ </div>
1511
+
1512
+
1513
+ </dt>
1514
+ <dd>
1515
+
1516
+
1517
+ <div class="description">
1518
+ <p>销毁 provider 持有的事件与注记图层资源。</p>
1519
+ </div>
1520
+
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+ <dl class="details">
1530
+
1531
+
1532
+
1533
+
1534
+
1535
+
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+
1547
+
1548
+
1549
+
1550
+
1551
+ </dl>
1552
+
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+ </dd>
1566
+
1567
+
1568
+
1505
1569
  <dt>
1506
1570
  <div class="nameContainer">
1507
1571
  <h4 class="name" id=".fromUrl">
1508
1572
 
1509
- MapGISVectorTileImageryProvider.fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Cesium.MapGISVectorTileImageryProvider}</span>
1573
+ MapGISVectorTileImageryProvider.fromUrl<span class="signature">(url, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="Promise.html">Promise</a>.&lt;<a href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a>>}</span>
1510
1574
  </h4>
1511
1575
 
1512
1576
 
1513
1577
  <div class="tag-source">
1514
- engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 247
1578
+ engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 265
1515
1579
  </div>
1516
1580
 
1517
1581
  </div>
@@ -1522,7 +1586,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1522
1586
 
1523
1587
 
1524
1588
  <div class="description">
1525
- <p>通过URL来构造一个MapGISVectorTileImageryProvider对象<a id='fromUrl'/></p>
1589
+ <p>根据服务地址加载矢量瓦片元信息并创建 provider。</p>
1526
1590
  </div>
1527
1591
 
1528
1592
 
@@ -1543,6 +1607,8 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1543
1607
  <th>Type</th>
1544
1608
 
1545
1609
 
1610
+ <th>Default</th>
1611
+
1546
1612
 
1547
1613
  <th class="last">Description</th>
1548
1614
  </tr>
@@ -1569,10 +1635,19 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1569
1635
  </td>
1570
1636
 
1571
1637
 
1638
+ <td class="default">
1639
+
1640
+ </td>
1641
+
1572
1642
 
1573
1643
  <td class="description last">
1574
1644
 
1575
- <p>服务的基地址,支持url字符串和Cesium.Resource两种类型,当类型为Cesium.Resource时,支持传入额外请求参数、请求头参数等,具体请参考<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Resource.html' target='_blank'>Cesium.Resource</a></p></td>
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+ <p>矢量瓦片服务基地址。</p></td>
1576
1651
  </tr>
1577
1652
 
1578
1653
 
@@ -1592,10 +1667,23 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1592
1667
  </td>
1593
1668
 
1594
1669
 
1670
+ <td class="default">
1671
+
1672
+ {}
1673
+
1674
+ </td>
1675
+
1595
1676
 
1596
1677
  <td class="description last">
1597
1678
 
1598
- <p>额外的构造参数,参考MapGISVectorTileImageryProvider的初始化参数</p></td>
1679
+
1680
+ <span class="optional"> 可选</span>
1681
+
1682
+
1683
+
1684
+
1685
+
1686
+ <p>附加构造参数,支持覆盖服务元信息中的默认值。</p></td>
1599
1687
  </tr>
1600
1688
 
1601
1689
 
@@ -1656,11 +1744,11 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1656
1744
 
1657
1745
  <td class="type">
1658
1746
 
1659
- Cesium.MapGISVectorTileImageryProvider
1747
+ <a href="Promise.html">Promise</a>.&lt;<a href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a>>
1660
1748
 
1661
1749
 
1662
1750
  </td>
1663
- <td class="description last">初始化完毕的MapGISVectorTileImageryProvider对象</td>
1751
+ <td class="description last">已初始化的 provider 实例。</td>
1664
1752
  </tr>
1665
1753
 
1666
1754
  </tbody>
@@ -1677,12 +1765,12 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1677
1765
  <div class="nameContainer">
1678
1766
  <h4 class="name" id=".getLabelClass">
1679
1767
 
1680
- MapGISVectorTileImageryProvider.getLabelClass<span class="signature">(sublayerLabelingInfos)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{LabelClass}</span>
1768
+ MapGISVectorTileImageryProvider.getLabelClass<span class="signature">(sublayerLabelingInfos)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{LabelClass|undefined}</span>
1681
1769
  </h4>
1682
1770
 
1683
1771
 
1684
1772
  <div class="tag-source">
1685
- engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 265
1773
+ engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 284
1686
1774
  </div>
1687
1775
 
1688
1776
  </div>
@@ -1693,7 +1781,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1693
1781
 
1694
1782
 
1695
1783
  <div class="description">
1696
- <p>获取注记的渲染模式<a id='getLabelClass'/></p>
1784
+ <p>从子图层注记配置中提取首个可用的 <code>LabelClass</code>。</p>
1697
1785
  </div>
1698
1786
 
1699
1787
 
@@ -1740,7 +1828,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1740
1828
 
1741
1829
  <td class="description last">
1742
1830
 
1743
- <p>要添加注记的初始化参数</p></td>
1831
+ <p>子图层注记初始化参数。</p></td>
1744
1832
  </tr>
1745
1833
 
1746
1834
 
@@ -1802,10 +1890,13 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1802
1890
  <td class="type">
1803
1891
 
1804
1892
  LabelClass
1893
+ |
1894
+
1895
+ undefined
1805
1896
 
1806
1897
 
1807
1898
  </td>
1808
- <td class="description last"></td>
1899
+ <td class="description last">命中的注记样式;若未配置则返回 <code>undefined</code>。</td>
1809
1900
  </tr>
1810
1901
 
1811
1902
  </tbody>
@@ -1814,77 +1905,6 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1814
1905
 
1815
1906
 
1816
1907
 
1817
- </dd>
1818
-
1819
-
1820
-
1821
- <dt>
1822
- <div class="nameContainer">
1823
- <h4 class="name" id="destroy">
1824
-
1825
- destroy<span class="signature">()</span>
1826
- </h4>
1827
-
1828
-
1829
- <div class="tag-source">
1830
- engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 932
1831
- </div>
1832
-
1833
- </div>
1834
-
1835
-
1836
- </dt>
1837
- <dd>
1838
-
1839
-
1840
- <div class="description">
1841
- <p>销毁MapGISVectorTileImageryProvider的相关事件和私有变量<a id='destroy'/></p>
1842
- </div>
1843
-
1844
-
1845
-
1846
-
1847
-
1848
-
1849
-
1850
-
1851
-
1852
- <dl class="details">
1853
-
1854
-
1855
-
1856
-
1857
-
1858
-
1859
-
1860
-
1861
-
1862
-
1863
-
1864
-
1865
-
1866
-
1867
-
1868
-
1869
-
1870
-
1871
-
1872
-
1873
-
1874
- </dl>
1875
-
1876
-
1877
-
1878
-
1879
-
1880
-
1881
-
1882
-
1883
-
1884
-
1885
-
1886
-
1887
-
1888
1908
  </dd>
1889
1909
 
1890
1910
  </dl>
@@ -1901,7 +1921,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
1901
1921
 
1902
1922
 
1903
1923
  <footer>
1904
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Wed Feb 04 2026 18:31:34 GMT+0800 (中国标准时间)
1924
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
1905
1925
  </footer>
1906
1926
  </div>
1907
1927
  </div>
@@ -88,7 +88,7 @@
88
88
 
89
89
 
90
90
  <div class="tag-source">
91
- engineExtensions/tools/MeasureAreaTool.js, line 3
91
+ engineExtensions/tools/MeasureAreaTool.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
 
@@ -1227,6 +1229,42 @@
1227
1229
  </tr>
1228
1230
 
1229
1231
 
1232
+
1233
+ <tr>
1234
+
1235
+ <td class="name"><code>enableAvoidance</code></td>
1236
+
1237
+
1238
+ <td class="type">
1239
+
1240
+
1241
+ <span class="param-type">Boolean</span>
1242
+
1243
+
1244
+
1245
+ </td>
1246
+
1247
+
1248
+ <td class="default">
1249
+
1250
+ false
1251
+
1252
+ </td>
1253
+
1254
+
1255
+ <td class="description last">
1256
+
1257
+
1258
+ <span class="optional"> 可选</span>
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+ <p>是否开启量算结果标签避让</p></td>
1265
+ </tr>
1266
+
1267
+
1230
1268
  </tbody>
1231
1269
  </table>
1232
1270
  </td>
@@ -1287,6 +1325,7 @@
1287
1325
 
1288
1326
  <pre class="prettyprint"><code>// ES5引入方式
1289
1327
  const { MeasureAreaTool } = zondy.cesium
1328
+
1290
1329
  // ES6引入方式
1291
1330
  import { MeasureAreaTool } from "@mapgis/webclient-cesium-plugin"
1292
1331
 
@@ -1381,7 +1420,7 @@ measureAreaTool.startTool(); //开始测量
1381
1420
 
1382
1421
 
1383
1422
  <div class="tag-source">
1384
- engineExtensions/tools/MeasureAreaTool.js, line 237
1423
+ engineExtensions/tools/MeasureAreaTool.js, line 253
1385
1424
  </div>
1386
1425
 
1387
1426
  </div>
@@ -1392,7 +1431,7 @@ measureAreaTool.startTool(); //开始测量
1392
1431
 
1393
1432
 
1394
1433
  <div class="description">
1395
- <p>清除所有测量结果,仍可绘制(绘制事件仍然是激活状态)</p>
1434
+ <p>清除全部面积量算结果,并在允许连续绘制时重新进入激活状态。</p>
1396
1435
  </div>
1397
1436
 
1398
1437
 
@@ -1452,7 +1491,7 @@ measureAreaTool.startTool(); //开始测量
1452
1491
 
1453
1492
 
1454
1493
  <div class="tag-source">
1455
- engineExtensions/tools/MeasureAreaTool.js, line 126
1494
+ engineExtensions/tools/MeasureAreaTool.js, line 138
1456
1495
  </div>
1457
1496
 
1458
1497
  </div>
@@ -1463,7 +1502,7 @@ measureAreaTool.startTool(); //开始测量
1463
1502
 
1464
1503
 
1465
1504
  <div class="description">
1466
- <p>开始测量</p>
1505
+ <p>激活面积量算流程并创建当前绘制工具。</p>
1467
1506
  </div>
1468
1507
 
1469
1508
 
@@ -1523,7 +1562,7 @@ measureAreaTool.startTool(); //开始测量
1523
1562
 
1524
1563
 
1525
1564
  <div class="tag-source">
1526
- engineExtensions/tools/MeasureAreaTool.js, line 218
1565
+ engineExtensions/tools/MeasureAreaTool.js, line 234
1527
1566
  </div>
1528
1567
 
1529
1568
  </div>
@@ -1534,7 +1573,7 @@ measureAreaTool.startTool(); //开始测量
1534
1573
 
1535
1574
 
1536
1575
  <div class="description">
1537
- <p>结束测量,测量工具处于不能绘制(不激活状态)</p>
1576
+ <p>停止面积量算。</p>
1538
1577
  </div>
1539
1578
 
1540
1579
 
@@ -1596,7 +1635,7 @@ measureAreaTool.startTool(); //开始测量
1596
1635
 
1597
1636
 
1598
1637
 
1599
- <p>是否保留测量结果。默认为false不保留测量结果</p></td>
1638
+ <p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
1600
1639
  </tr>
1601
1640
 
1602
1641
 
@@ -1657,7 +1696,7 @@ measureAreaTool.startTool(); //开始测量
1657
1696
 
1658
1697
 
1659
1698
  <footer>
1660
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Wed Feb 04 2026 18:31:34 GMT+0800 (中国标准时间)
1699
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
1661
1700
  </footer>
1662
1701
  </div>
1663
1702
  </div>