@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
@@ -83,7 +83,7 @@
83
83
  <div class="nameContainer">
84
84
  <h4 class="name" id="MapGISTileAvailability">
85
85
 
86
- new MapGISTileAvailability<span class="signature">(layers)</span>
86
+ new MapGISTileAvailability<span class="signature">(<span class="optional">layers</span>)</span>
87
87
  </h4>
88
88
 
89
89
 
@@ -99,7 +99,9 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>MapGIS的TileAvailability类,重写了Cesium.TileAvailability的所有方法,支持在内部自动筛选要使用的地形图层</p>
102
+ <p>MapGIS 地形瓦片可用性管理器。</p>
103
+ <p>该类用于聚合多个地形图层的 <code>availability</code> 信息,并在查询瓦片可用性时自动选择当前
104
+ 坐标范围内应使用的地形子图层。适用于多 DEM 服务混合加载场景。</p>
103
105
  </div>
104
106
 
105
107
 
@@ -120,6 +122,8 @@
120
122
  <th>Type</th>
121
123
 
122
124
 
125
+ <th>Default</th>
126
+
123
127
 
124
128
  <th class="last">Description</th>
125
129
  </tr>
@@ -143,10 +147,23 @@
143
147
  </td>
144
148
 
145
149
 
150
+ <td class="default">
151
+
152
+ []
153
+
154
+ </td>
155
+
146
156
 
147
157
  <td class="description last">
148
158
 
149
- <p>地形图层数组</p></td>
159
+
160
+ <span class="optional"> 可选</span>
161
+
162
+
163
+
164
+
165
+
166
+ <p>地形图层数组。每个图层对象需提供 <code>availability</code> 与范围判断所需信息。</p></td>
150
167
  </tr>
151
168
 
152
169
 
@@ -191,6 +208,21 @@
191
208
 
192
209
 
193
210
 
211
+ <h5>Example</h5>
212
+
213
+
214
+
215
+ <pre class="prettyprint"><code>// ES5引入方式
216
+ const { MapGISTileAvailability } = zondy.cesium
217
+
218
+ // ES6引入方式
219
+ import { MapGISTileAvailability } from '@mapgis/webclient-cesium-plugin'
220
+
221
+ const availability = new MapGISTileAvailability(layers)
222
+ const visible = availability.isTileAvailable(level, x, y)</code></pre>
223
+
224
+
225
+
194
226
  </dd>
195
227
 
196
228
 
@@ -219,12 +251,12 @@
219
251
  <div class="nameContainer">
220
252
  <h4 class="name" id="addAvailableTileRange">
221
253
 
222
- addAvailableTileRange<span class="signature">(level, startX, startY, endX, endY)</span>
254
+ addAvailableTileRange<span class="signature">(level, startX, startY, endX, endY)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{void}</span>
223
255
  </h4>
224
256
 
225
257
 
226
258
  <div class="tag-source">
227
- engineExtensions/core/MapGISTileAvailability.js, line 27
259
+ engineExtensions/core/MapGISTileAvailability.js, line 41
228
260
  </div>
229
261
 
230
262
  </div>
@@ -235,8 +267,9 @@
235
267
 
236
268
 
237
269
  <div class="description">
238
- <p>Marks a rectangular range of tiles in a particular level as being available. For best performance,
239
- add your ranges in order of increasing level.</p>
270
+ <p>向目标地形子图层登记指定级别的可用瓦片范围。</p>
271
+ <p>该方法会先依据级别与范围中心点选择一个应答地形图层,再把当前范围转发到该图层
272
+ 自身的 <code>availability</code> 对象中。</p>
240
273
  </div>
241
274
 
242
275
 
@@ -283,7 +316,7 @@ add your ranges in order of increasing level.</p>
283
316
 
284
317
  <td class="description last">
285
318
 
286
- <p>The level.</p></td>
319
+ <p>瓦片级别。</p></td>
287
320
  </tr>
288
321
 
289
322
 
@@ -306,7 +339,7 @@ add your ranges in order of increasing level.</p>
306
339
 
307
340
  <td class="description last">
308
341
 
309
- <p>The X coordinate of the first available tiles at the level.</p></td>
342
+ <p>范围起始瓦片的 X 坐标。</p></td>
310
343
  </tr>
311
344
 
312
345
 
@@ -329,7 +362,7 @@ add your ranges in order of increasing level.</p>
329
362
 
330
363
  <td class="description last">
331
364
 
332
- <p>The Y coordinate of the first available tiles at the level.</p></td>
365
+ <p>范围起始瓦片的 Y 坐标。</p></td>
333
366
  </tr>
334
367
 
335
368
 
@@ -352,7 +385,7 @@ add your ranges in order of increasing level.</p>
352
385
 
353
386
  <td class="description last">
354
387
 
355
- <p>The X coordinate of the last available tiles at the level.</p></td>
388
+ <p>范围结束瓦片的 X 坐标。</p></td>
356
389
  </tr>
357
390
 
358
391
 
@@ -375,7 +408,7 @@ add your ranges in order of increasing level.</p>
375
408
 
376
409
  <td class="description last">
377
410
 
378
- <p>The Y coordinate of the last available tiles at the level.</p></td>
411
+ <p>范围结束瓦片的 Y 坐标。</p></td>
379
412
  </tr>
380
413
 
381
414
 
@@ -418,6 +451,35 @@ add your ranges in order of increasing level.</p>
418
451
 
419
452
 
420
453
 
454
+ <h5>Returns:</h5>
455
+
456
+
457
+
458
+ <table class="params">
459
+ <thead>
460
+ <tr>
461
+
462
+ <th>Type</th>
463
+ <th class="last">Description</th>
464
+ </tr>
465
+ </thead>
466
+ <tbody>
467
+
468
+ <tr>
469
+
470
+ <td class="type">
471
+
472
+ void
473
+
474
+
475
+ </td>
476
+ <td class="description last"></td>
477
+ </tr>
478
+
479
+ </tbody>
480
+ </table>
481
+
482
+
421
483
 
422
484
 
423
485
  </dd>
@@ -433,7 +495,7 @@ add your ranges in order of increasing level.</p>
433
495
 
434
496
 
435
497
  <div class="tag-source">
436
- engineExtensions/core/MapGISTileAvailability.js, line 77
498
+ engineExtensions/core/MapGISTileAvailability.js, line 81
437
499
  </div>
438
500
 
439
501
  </div>
@@ -444,10 +506,9 @@ add your ranges in order of increasing level.</p>
444
506
 
445
507
 
446
508
  <div class="description">
447
- <p>Finds the most detailed level that is available <em>everywhere</em> within a given rectangle. More detailed
448
- tiles may be available in parts of the rectangle, but not the whole thing. The return value of this
449
- function may be safely passed to Cesium.sampleTerrain for any position within the rectangle. This function
450
- usually completes in time logarithmic to the number of rectangles added with zondy.cesium.MapGISTileAvailability.addAvailableTileRange()</p>
509
+ <p>计算指定范围整体都可用的最高瓦片级别。</p>
510
+ <p>与“局部区域有更高精度瓦片”不同,该方法返回的是整个矩形范围内都能稳定使用的最高级别。
511
+ 适用于在执行范围级高程采样、裁剪分析或预取地形数据前确定统一的安全级别。</p>
451
512
  </div>
452
513
 
453
514
 
@@ -494,7 +555,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
494
555
 
495
556
  <td class="description last">
496
557
 
497
- <p>The rectangle.</p></td>
558
+ <p>待查询的范围。</p></td>
498
559
  </tr>
499
560
 
500
561
 
@@ -559,7 +620,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
559
620
 
560
621
 
561
622
  </td>
562
- <td class="description last">The best available level for the entire rectangle.</td>
623
+ <td class="description last">当前矩形范围整体可用的最高级别;若没有可用结果,则返回 <code>0</code>。</td>
563
624
  </tr>
564
625
 
565
626
  </tbody>
@@ -581,7 +642,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
581
642
 
582
643
 
583
644
  <div class="tag-source">
584
- engineExtensions/core/MapGISTileAvailability.js, line 126
645
+ engineExtensions/core/MapGISTileAvailability.js, line 125
585
646
  </div>
586
647
 
587
648
  </div>
@@ -592,16 +653,9 @@ usually completes in time logarithmic to the number of rectangles added with zon
592
653
 
593
654
 
594
655
  <div class="description">
595
- <p>Computes a bit mask indicating which of a tile's four children exist.
596
- If a child's bit is set, a tile is available for that child. If it is cleared,
597
- the tile is not available. The bit values are as follows:</p>
598
- <table>
599
- <tr><th>Bit Position</th><th>Bit Value</th><th>Child Tile</th></tr>
600
- <tr><td>0</td><td>1</td><td>Southwest</td></tr>
601
- <tr><td>1</td><td>2</td><td>Southeast</td></tr>
602
- <tr><td>2</td><td>4</td><td>Northwest</td></tr>
603
- <tr><td>3</td><td>8</td><td>Northeast</td></tr>
604
- </table>
656
+ <p>计算父瓦片四个子瓦片的可用性掩码。</p>
657
+ <p>返回值遵循 Cesium 的子瓦片位标记约定:<code>1</code> 表示西南,<code>2</code> 表示东南,<code>4</code> 表示西北,
658
+ <code>8</code> 表示东北。可用于判断后续是否继续细分某个父瓦片。</p>
605
659
  </div>
606
660
 
607
661
 
@@ -648,7 +702,7 @@ the tile is not available. The bit values are as follows:</p>
648
702
 
649
703
  <td class="description last">
650
704
 
651
- <p>The level of the parent tile.</p></td>
705
+ <p>父瓦片级别。</p></td>
652
706
  </tr>
653
707
 
654
708
 
@@ -671,7 +725,7 @@ the tile is not available. The bit values are as follows:</p>
671
725
 
672
726
  <td class="description last">
673
727
 
674
- <p>The X coordinate of the parent tile.</p></td>
728
+ <p>父瓦片的 X 坐标。</p></td>
675
729
  </tr>
676
730
 
677
731
 
@@ -694,7 +748,7 @@ the tile is not available. The bit values are as follows:</p>
694
748
 
695
749
  <td class="description last">
696
750
 
697
- <p>The Y coordinate of the parent tile.</p></td>
751
+ <p>父瓦片的 Y 坐标。</p></td>
698
752
  </tr>
699
753
 
700
754
 
@@ -759,7 +813,7 @@ the tile is not available. The bit values are as follows:</p>
759
813
 
760
814
 
761
815
  </td>
762
- <td class="description last">The bit mask indicating child availability.</td>
816
+ <td class="description last">子瓦片可用性掩码;若未命中任何地形图层,则返回 <code>0</code>。</td>
763
817
  </tr>
764
818
 
765
819
  </tbody>
@@ -781,7 +835,7 @@ the tile is not available. The bit values are as follows:</p>
781
835
 
782
836
 
783
837
  <div class="tag-source">
784
- engineExtensions/core/MapGISTileAvailability.js, line 55
838
+ engineExtensions/core/MapGISTileAvailability.js, line 60
785
839
  </div>
786
840
 
787
841
  </div>
@@ -792,8 +846,9 @@ the tile is not available. The bit values are as follows:</p>
792
846
 
793
847
 
794
848
  <div class="description">
795
- <p>Determines the level of the most detailed tile covering the position. This function
796
- usually completes in time logarithmic to the number of rectangles added with zondy.cesium.MapGISTileAvailability.addAvailableTileRange()</p>
849
+ <p>计算指定位置可命中的最高可用瓦片级别。</p>
850
+ <p>该方法会依次查询当前聚合的地形图层,并返回第一个大于 <code>0</code> 的可用级别。
851
+ 适用于在采样高程或决定请求精度前,先判断当前位置可以使用到的地形细节层级。</p>
797
852
  </div>
798
853
 
799
854
 
@@ -840,7 +895,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
840
895
 
841
896
  <td class="description last">
842
897
 
843
- <p>The position for which to determine the maximum available level. The height component is ignored.</p></td>
898
+ <p>待查询的位置。仅使用经纬度,忽略高度值。</p></td>
844
899
  </tr>
845
900
 
846
901
 
@@ -888,7 +943,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
888
943
  <dl>
889
944
  <dt>
890
945
  <div class="param-desc">
891
- <p>If position is outside any tile according to the tiling scheme.</p>
946
+ <p>当位置超出当前平铺方案支持范围时,底层 Cesium 可能抛出异常。</p>
892
947
  </div>
893
948
  </dt>
894
949
  <dt>
@@ -932,7 +987,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
932
987
 
933
988
 
934
989
  </td>
935
- <td class="description last">The level of the most detailed tile covering the position.</td>
990
+ <td class="description last">当前位置可用的最高级别;若所有图层都未命中,则返回 <code>0</code>。</td>
936
991
  </tr>
937
992
 
938
993
  </tbody>
@@ -954,7 +1009,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
954
1009
 
955
1010
 
956
1011
  <div class="tag-source">
957
- engineExtensions/core/MapGISTileAvailability.js, line 99
1012
+ engineExtensions/core/MapGISTileAvailability.js, line 104
958
1013
  </div>
959
1014
 
960
1015
  </div>
@@ -965,7 +1020,9 @@ usually completes in time logarithmic to the number of rectangles added with zon
965
1020
 
966
1021
 
967
1022
  <div class="description">
968
- <p>Determines if a particular tile is available.</p>
1023
+ <p>判断指定行列号的瓦片是否可用。</p>
1024
+ <p>该方法会先根据级别和瓦片坐标选出当前应使用的地形子图层,再委托对应图层的
1025
+ <code>availability</code> 对象完成最终判断。适用于在发起地形请求前做快速可用性检查。</p>
969
1026
  </div>
970
1027
 
971
1028
 
@@ -1012,7 +1069,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
1012
1069
 
1013
1070
  <td class="description last">
1014
1071
 
1015
- <p>The tile level to check.</p></td>
1072
+ <p>待检查的瓦片级别。</p></td>
1016
1073
  </tr>
1017
1074
 
1018
1075
 
@@ -1035,7 +1092,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
1035
1092
 
1036
1093
  <td class="description last">
1037
1094
 
1038
- <p>The X coordinate of the tile to check.</p></td>
1095
+ <p>待检查瓦片的 X 坐标。</p></td>
1039
1096
  </tr>
1040
1097
 
1041
1098
 
@@ -1058,7 +1115,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
1058
1115
 
1059
1116
  <td class="description last">
1060
1117
 
1061
- <p>The Y coordinate of the tile to check.</p></td>
1118
+ <p>待检查瓦片的 Y 坐标。</p></td>
1062
1119
  </tr>
1063
1120
 
1064
1121
 
@@ -1123,7 +1180,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
1123
1180
 
1124
1181
 
1125
1182
  </td>
1126
- <td class="description last">True if the tile is available; otherwise, false.</td>
1183
+ <td class="description last"><code>true</code> 表示当前瓦片在至少一个可见地形图层中可用;否则返回 <code>false</code>。</td>
1127
1184
  </tr>
1128
1185
 
1129
1186
  </tbody>
@@ -1148,7 +1205,7 @@ usually completes in time logarithmic to the number of rectangles added with zon
1148
1205
 
1149
1206
 
1150
1207
  <footer>
1151
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
1208
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
1152
1209
  </footer>
1153
1210
  </div>
1154
1211
  </div>