@cesium/engine 13.1.0 → 14.0.0

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 (139) hide show
  1. package/Build/Workers/{chunk-R2KGFZBA.js → chunk-3JBEPBPL.js} +13 -13
  2. package/Build/Workers/{chunk-NQDKNE7V.js → chunk-3LYROPON.js} +13 -13
  3. package/Build/Workers/{chunk-CNPP6TQ2.js → chunk-3PIZQT3I.js} +4 -4
  4. package/Build/Workers/{chunk-MGABCOOH.js → chunk-3QLSKXKF.js} +6 -6
  5. package/Build/Workers/{chunk-THDHWSEJ.js → chunk-4CHMVQTQ.js} +4 -4
  6. package/Build/Workers/{chunk-SAKQO5NX.js → chunk-5KWRW7YL.js} +2 -2
  7. package/Build/Workers/{chunk-EHGQQA7C.js → chunk-5S5OOA6U.js} +1 -1
  8. package/Build/Workers/{chunk-LFUFGHL3.js → chunk-77XPS7ZA.js} +10 -10
  9. package/Build/Workers/{chunk-GIOZHX7U.js → chunk-7EO56M5R.js} +2 -2
  10. package/Build/Workers/{chunk-PM76TX2X.js → chunk-7UHKH6M3.js} +6 -6
  11. package/Build/Workers/{chunk-GSLKQJM2.js → chunk-7ZB2RVIQ.js} +10 -10
  12. package/Build/Workers/{chunk-2SRHVCFD.js → chunk-B4GSRXE3.js} +6 -6
  13. package/Build/Workers/{chunk-J7BMSSY7.js → chunk-CI2HEJFC.js} +13 -13
  14. package/Build/Workers/{chunk-BMFWWTD7.js → chunk-D7ZBZPHV.js} +5 -5
  15. package/Build/Workers/{chunk-5JY4LYO3.js → chunk-DT5NFR5C.js} +7 -7
  16. package/Build/Workers/{chunk-AXYZUG4N.js → chunk-ED6GLQTK.js} +1 -1
  17. package/Build/Workers/{chunk-APCS5YJI.js → chunk-EWDGNOJE.js} +7 -7
  18. package/Build/Workers/{chunk-TOHDFUJM.js → chunk-F4CUH4MR.js} +4 -4
  19. package/Build/Workers/{chunk-EYZFEJX3.js → chunk-FFBJDW4A.js} +6 -6
  20. package/Build/Workers/{chunk-K6SQV4IS.js → chunk-FX4R4MTH.js} +6 -6
  21. package/Build/Workers/{chunk-B6IJY6AN.js → chunk-FYGLNDKG.js} +7 -7
  22. package/Build/Workers/{chunk-OARMSJUU.js → chunk-G3BVMPWG.js} +2 -2
  23. package/Build/Workers/{chunk-EJ5DT5BP.js → chunk-HEZHXDYB.js} +1 -1
  24. package/Build/Workers/{chunk-YVGU235V.js → chunk-HKHQ3EDR.js} +4 -4
  25. package/Build/Workers/{chunk-CBE4HRBH.js → chunk-HUFQVUMY.js} +7 -7
  26. package/Build/Workers/{chunk-S3UM4OKP.js → chunk-J7IH4EYI.js} +7 -7
  27. package/Build/Workers/{chunk-IP7F2MVW.js → chunk-JHBPC4LK.js} +7 -7
  28. package/Build/Workers/{chunk-ZWSWJYJP.js → chunk-JPDKYBLF.js} +13 -13
  29. package/Build/Workers/{chunk-5ICYLS6B.js → chunk-K4AH3TDT.js} +10 -10
  30. package/Build/Workers/{chunk-OGRXNUR2.js → chunk-KHWLAQVA.js} +1 -1
  31. package/Build/Workers/{chunk-KRVALCCI.js → chunk-KM6MITPF.js} +5 -5
  32. package/Build/Workers/{chunk-B34JXFHF.js → chunk-KSYBJA4M.js} +5 -5
  33. package/Build/Workers/{chunk-OZTFRHA2.js → chunk-LJBJM6VI.js} +6 -6
  34. package/Build/Workers/{chunk-M2AA2ARJ.js → chunk-LNSWJ43X.js} +11 -11
  35. package/Build/Workers/{chunk-PBJQFLKS.js → chunk-LOZ4NKY3.js} +11 -11
  36. package/Build/Workers/{chunk-54I6VSRP.js → chunk-LS3KVHYY.js} +6 -6
  37. package/Build/Workers/{chunk-3SCCWLZS.js → chunk-MVM4JV5U.js} +9 -9
  38. package/Build/Workers/{chunk-PTFIVVLX.js → chunk-N2XAJBC6.js} +12 -12
  39. package/Build/Workers/{chunk-FNCXBBCF.js → chunk-OMXHEJTK.js} +2 -2
  40. package/Build/Workers/{chunk-IXNXKVOB.js → chunk-PWF4EY5P.js} +4 -4
  41. package/Build/Workers/{chunk-DWIKWWEE.js → chunk-Q4ZVWJXX.js} +5 -5
  42. package/Build/Workers/{chunk-WUIDEXAN.js → chunk-SDIDRZDG.js} +7 -7
  43. package/Build/Workers/{chunk-UBAHTE4Q.js → chunk-TVL3F7IU.js} +1 -1
  44. package/Build/Workers/{chunk-KO232FLP.js → chunk-TY4DKOWR.js} +2 -2
  45. package/Build/Workers/{chunk-WE4KF4AM.js → chunk-VCNOFQYH.js} +9 -9
  46. package/Build/Workers/{chunk-2ONAV62A.js → chunk-WEHZP4SE.js} +7 -7
  47. package/Build/Workers/{chunk-HI73PIPQ.js → chunk-WVNLSTOF.js} +2 -2
  48. package/Build/Workers/{chunk-LQT2ZK7D.js → chunk-XK4OP6VA.js} +17 -17
  49. package/Build/Workers/{chunk-K62EHZFT.js → chunk-YJX7X577.js} +15 -15
  50. package/Build/Workers/{chunk-T34EOLFR.js → chunk-Z3QWTHI7.js} +14 -14
  51. package/Build/Workers/{chunk-WAJNX74N.js → chunk-ZGFIT57T.js} +17 -17
  52. package/Build/Workers/{chunk-5I3LPAS7.js → chunk-ZMNLEL6W.js} +5 -5
  53. package/Build/Workers/combineGeometry.js +22 -22
  54. package/Build/Workers/createBoxGeometry.js +16 -16
  55. package/Build/Workers/createBoxOutlineGeometry.js +14 -14
  56. package/Build/Workers/createCircleGeometry.js +24 -24
  57. package/Build/Workers/createCircleOutlineGeometry.js +17 -17
  58. package/Build/Workers/createCoplanarPolygonGeometry.js +31 -31
  59. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
  60. package/Build/Workers/createCorridorGeometry.js +27 -27
  61. package/Build/Workers/createCorridorOutlineGeometry.js +26 -26
  62. package/Build/Workers/createCylinderGeometry.js +18 -18
  63. package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
  64. package/Build/Workers/createEllipseGeometry.js +24 -24
  65. package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
  66. package/Build/Workers/createEllipsoidGeometry.js +17 -17
  67. package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
  68. package/Build/Workers/createFrustumGeometry.js +16 -16
  69. package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
  70. package/Build/Workers/createGeometry.js +22 -22
  71. package/Build/Workers/createGroundPolylineGeometry.js +20 -20
  72. package/Build/Workers/createPlaneGeometry.js +14 -14
  73. package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
  74. package/Build/Workers/createPolygonGeometry.js +30 -30
  75. package/Build/Workers/createPolygonOutlineGeometry.js +28 -28
  76. package/Build/Workers/createPolylineGeometry.js +23 -23
  77. package/Build/Workers/createPolylineVolumeGeometry.js +29 -29
  78. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
  79. package/Build/Workers/createRectangleGeometry.js +25 -25
  80. package/Build/Workers/createRectangleOutlineGeometry.js +18 -18
  81. package/Build/Workers/createSimplePolylineGeometry.js +21 -21
  82. package/Build/Workers/createSphereGeometry.js +17 -17
  83. package/Build/Workers/createSphereOutlineGeometry.js +16 -16
  84. package/Build/Workers/createTaskProcessorWorker.js +3 -3
  85. package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
  86. package/Build/Workers/createVectorTileGeometries.js +22 -22
  87. package/Build/Workers/createVectorTilePoints.js +12 -12
  88. package/Build/Workers/createVectorTilePolygons.js +20 -20
  89. package/Build/Workers/createVectorTilePolylines.js +13 -13
  90. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
  91. package/Build/Workers/createVerticesFromHeightmap.js +20 -20
  92. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
  93. package/Build/Workers/createWallGeometry.js +22 -22
  94. package/Build/Workers/createWallOutlineGeometry.js +21 -21
  95. package/Build/Workers/decodeDraco.js +15 -14
  96. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  97. package/Build/Workers/decodeI3S.js +10 -10
  98. package/Build/Workers/transcodeKTX2.js +7 -7
  99. package/Build/Workers/transferTypedArrayTest.js +1 -1
  100. package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
  101. package/Source/Core/Color.js +3 -3
  102. package/Source/Core/Credit.js +3 -3
  103. package/Source/Core/DistanceDisplayCondition.js +3 -3
  104. package/Source/Core/Ion.js +1 -1
  105. package/Source/Core/OrientedBoundingBox.js +2 -2
  106. package/Source/Core/Spherical.js +3 -3
  107. package/Source/Core/writeTextToCanvas.js +0 -1
  108. package/Source/DataSources/BoundingSphereState.js +3 -3
  109. package/Source/DataSources/DataSourceClock.js +1 -1
  110. package/Source/DataSources/DataSourceDisplay.js +5 -2
  111. package/Source/Renderer/AutomaticUniforms.js +2 -2
  112. package/Source/Scene/ArcGisMapService.js +1 -1
  113. package/Source/Scene/Billboard.js +1 -1
  114. package/Source/Scene/Cesium3DTile.js +56 -28
  115. package/Source/Scene/Cesium3DTilesVoxelProvider.js +17 -0
  116. package/Source/Scene/ClippingPolygon.js +2 -2
  117. package/Source/Scene/GltfDracoLoader.js +45 -0
  118. package/Source/Scene/GltfIndexBufferLoader.js +5 -0
  119. package/Source/Scene/GltfLoader.js +17 -2
  120. package/Source/Scene/GltfVertexBufferLoader.js +13 -0
  121. package/Source/Scene/ITwinData.js +47 -1
  122. package/Source/Scene/ImageryLayer.js +1 -1
  123. package/Source/Scene/Label.js +1 -1
  124. package/Source/Scene/LabelCollection.js +0 -11
  125. package/Source/Scene/Multiple3DTileContent.js +21 -8
  126. package/Source/Scene/PointPrimitive.js +1 -1
  127. package/Source/Scene/ResourceCache.js +17 -1
  128. package/Source/Scene/VoxelPrimitive.js +124 -0
  129. package/Source/Scene/VoxelProvider.js +10 -0
  130. package/Source/Scene/VoxelTraversal.js +88 -12
  131. package/Source/Scene/WebMapTileServiceImageryProvider.js +2 -2
  132. package/Source/Scene/createGooglePhotorealistic3DTileset.js +5 -8
  133. package/Source/Shaders/PolylineCommon.glsl +1 -1
  134. package/Source/Shaders/PolylineCommon.js +1 -1
  135. package/Source/Widget/CesiumWidget.js +16 -10
  136. package/Source/Workers/decodeDraco.js +4 -4
  137. package/index.d.ts +152 -38
  138. package/index.js +299 -299
  139. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3553,11 +3553,11 @@ export class Color {
3553
3553
  static clone(color: Color, result?: Color): Color;
3554
3554
  /**
3555
3555
  * Returns true if the first Color equals the second color.
3556
- * @param left - The first Color to compare for equality.
3557
- * @param right - The second Color to compare for equality.
3556
+ * @param [left] - The first Color to compare for equality.
3557
+ * @param [right] - The second Color to compare for equality.
3558
3558
  * @returns <code>true</code> if the Colors are equal; otherwise, <code>false</code>.
3559
3559
  */
3560
- static equals(left: Color, right: Color): boolean;
3560
+ static equals(left?: Color, right?: Color): boolean;
3561
3561
  /**
3562
3562
  * Returns a duplicate of a Color instance.
3563
3563
  * @param [result] - The object to store the result in, if undefined a new instance will be created.
@@ -3566,10 +3566,10 @@ export class Color {
3566
3566
  clone(result?: Color): Color;
3567
3567
  /**
3568
3568
  * Returns true if this Color equals other.
3569
- * @param other - The Color to compare for equality.
3569
+ * @param [other] - The Color to compare for equality.
3570
3570
  * @returns <code>true</code> if the Colors are equal; otherwise, <code>false</code>.
3571
3571
  */
3572
- equals(other: Color): boolean;
3572
+ equals(other?: Color): boolean;
3573
3573
  /**
3574
3574
  * Returns <code>true</code> if this Color equals other componentwise within the specified epsilon.
3575
3575
  * @param other - The Color to compare for equality.
@@ -4963,17 +4963,17 @@ export class Credit {
4963
4963
  readonly element: HTMLElement;
4964
4964
  /**
4965
4965
  * Returns true if the credits are equal
4966
- * @param left - The first credit
4967
- * @param right - The second credit
4966
+ * @param [left] - The first credit
4967
+ * @param [right] - The second credit
4968
4968
  * @returns <code>true</code> if left and right are equal, <code>false</code> otherwise.
4969
4969
  */
4970
- static equals(left: Credit, right: Credit): boolean;
4970
+ static equals(left?: Credit, right?: Credit): boolean;
4971
4971
  /**
4972
4972
  * Returns true if the credits are equal
4973
- * @param credit - The credit to compare to.
4973
+ * @param [credit] - The credit to compare to.
4974
4974
  * @returns <code>true</code> if left and right are equal, <code>false</code> otherwise.
4975
4975
  */
4976
- equals(credit: Credit): boolean;
4976
+ equals(credit?: Credit): boolean;
4977
4977
  /**
4978
4978
  * Duplicates a Credit instance.
4979
4979
  * @param [credit] - The Credit to duplicate.
@@ -5349,11 +5349,11 @@ export class DistanceDisplayCondition {
5349
5349
  static unpack(array: number[], startingIndex?: number, result?: DistanceDisplayCondition): DistanceDisplayCondition;
5350
5350
  /**
5351
5351
  * Determines if two distance display conditions are equal.
5352
- * @param left - A distance display condition.
5353
- * @param right - Another distance display condition.
5352
+ * @param [left] - A distance display condition.
5353
+ * @param [right] - Another distance display condition.
5354
5354
  * @returns Whether the two distance display conditions are equal.
5355
5355
  */
5356
- static equals(left: DistanceDisplayCondition, right: DistanceDisplayCondition): boolean;
5356
+ static equals(left?: DistanceDisplayCondition, right?: DistanceDisplayCondition): boolean;
5357
5357
  /**
5358
5358
  * Duplicates a distance display condition instance.
5359
5359
  * @param [value] - The distance display condition to duplicate.
@@ -5369,10 +5369,10 @@ export class DistanceDisplayCondition {
5369
5369
  clone(result?: DistanceDisplayCondition): DistanceDisplayCondition;
5370
5370
  /**
5371
5371
  * Determines if this distance display condition is equal to another.
5372
- * @param other - Another distance display condition.
5372
+ * @param [other] - Another distance display condition.
5373
5373
  * @returns Whether this distance display condition is equal to the other.
5374
5374
  */
5375
- equals(other: DistanceDisplayCondition): boolean;
5375
+ equals(other?: DistanceDisplayCondition): boolean;
5376
5376
  }
5377
5377
 
5378
5378
  /**
@@ -12024,11 +12024,11 @@ export class OrientedBoundingBox {
12024
12024
  /**
12025
12025
  * Compares the provided OrientedBoundingBox componentwise and returns
12026
12026
  * <code>true</code> if they are equal, <code>false</code> otherwise.
12027
- * @param left - The first OrientedBoundingBox.
12028
- * @param right - The second OrientedBoundingBox.
12027
+ * @param [left] - The first OrientedBoundingBox.
12028
+ * @param [right] - The second OrientedBoundingBox.
12029
12029
  * @returns <code>true</code> if left and right are equal, <code>false</code> otherwise.
12030
12030
  */
12031
- static equals(left: OrientedBoundingBox, right: OrientedBoundingBox): boolean;
12031
+ static equals(left?: OrientedBoundingBox, right?: OrientedBoundingBox): boolean;
12032
12032
  /**
12033
12033
  * Duplicates this OrientedBoundingBox instance.
12034
12034
  * @param [result] - The object onto which to store the result.
@@ -16175,11 +16175,11 @@ export class Spherical {
16175
16175
  static normalize(spherical: Spherical, result?: Spherical): Spherical;
16176
16176
  /**
16177
16177
  * Returns true if the first spherical is equal to the second spherical, false otherwise.
16178
- * @param left - The first Spherical to be compared.
16179
- * @param right - The second Spherical to be compared.
16178
+ * @param [left] - The first Spherical to be compared.
16179
+ * @param [right] - The second Spherical to be compared.
16180
16180
  * @returns true if the first spherical is equal to the second spherical, false otherwise.
16181
16181
  */
16182
- static equals(left: Spherical, right: Spherical): boolean;
16182
+ static equals(left?: Spherical, right?: Spherical): boolean;
16183
16183
  /**
16184
16184
  * Returns true if the first spherical is within the provided epsilon of the second spherical, false otherwise.
16185
16185
  * @param left - The first Spherical to be compared.
@@ -16190,10 +16190,10 @@ export class Spherical {
16190
16190
  static equalsEpsilon(left: Spherical, right: Spherical, epsilon?: number): boolean;
16191
16191
  /**
16192
16192
  * Returns true if this spherical is equal to the provided spherical, false otherwise.
16193
- * @param other - The Spherical to be compared.
16193
+ * @param [other] - The Spherical to be compared.
16194
16194
  * @returns true if this spherical is equal to the provided spherical, false otherwise.
16195
16195
  */
16196
- equals(other: Spherical): boolean;
16196
+ equals(other?: Spherical): boolean;
16197
16197
  /**
16198
16198
  * Creates a duplicate of this Spherical.
16199
16199
  * @param [result] - The object to store the result into, if undefined a new instance will be created.
@@ -18761,7 +18761,6 @@ export function subdivideArray(array: any[], numberOfArrays: number): void;
18761
18761
  * @param text - The text to write.
18762
18762
  * @param [options] - Object with the following properties:
18763
18763
  * @param [options.font = '10px sans-serif'] - The CSS font to use.
18764
- * @param [options.textBaseline = 'bottom'] - The baseline of the text.
18765
18764
  * @param [options.fill = true] - Whether to fill the text.
18766
18765
  * @param [options.stroke = false] - Whether to stroke the text.
18767
18766
  * @param [options.fillColor = Color.WHITE] - The fill color.
@@ -18775,7 +18774,6 @@ export function subdivideArray(array: any[], numberOfArrays: number): void;
18775
18774
  */
18776
18775
  export function writeTextToCanvas(text: string, options?: {
18777
18776
  font?: string;
18778
- textBaseline?: string;
18779
18777
  fill?: boolean;
18780
18778
  stroke?: boolean;
18781
18779
  fillColor?: Color;
@@ -19041,6 +19039,21 @@ export class BillboardVisualizer {
19041
19039
  destroy(): void;
19042
19040
  }
19043
19041
 
19042
+ /**
19043
+ * The BoundingSphere has been computed.
19044
+ */
19045
+ export const DONE = 0;
19046
+
19047
+ /**
19048
+ * The BoundingSphere is still being computed.
19049
+ */
19050
+ export const PENDING = 1;
19051
+
19052
+ /**
19053
+ * The BoundingSphere does not exist.
19054
+ */
19055
+ export const FAILED = 2;
19056
+
19044
19057
  /**
19045
19058
  * A {@link GeometryUpdater} for boxes.
19046
19059
  * Clients do not normally create this class directly, but instead rely on {@link DataSourceDisplay}.
@@ -20438,10 +20451,10 @@ export class DataSourceClock {
20438
20451
  clone(result?: DataSourceClock): DataSourceClock;
20439
20452
  /**
20440
20453
  * Returns true if this DataSourceClock is equivalent to the other
20441
- * @param other - The other DataSourceClock to compare to.
20454
+ * @param [other] - The other DataSourceClock to compare to.
20442
20455
  * @returns <code>true</code> if the DataSourceClocks are equal; otherwise, <code>false</code>.
20443
20456
  */
20444
- equals(other: DataSourceClock): boolean;
20457
+ equals(other?: DataSourceClock): boolean;
20445
20458
  /**
20446
20459
  * Assigns each unassigned property on this object to the value
20447
20460
  * of the same property on the provided source object.
@@ -26475,10 +26488,10 @@ export class Billboard {
26475
26488
  /**
26476
26489
  * Determines if this billboard equals another billboard. Billboards are equal if all their properties
26477
26490
  * are equal. Billboards in different collections can be equal.
26478
- * @param other - The billboard to compare for equality.
26491
+ * @param [other] - The billboard to compare for equality.
26479
26492
  * @returns <code>true</code> if the billboards are equal; otherwise, <code>false</code>.
26480
26493
  */
26481
- equals(other: Billboard): boolean;
26494
+ equals(other?: Billboard): boolean;
26482
26495
  }
26483
26496
 
26484
26497
  /**
@@ -30646,7 +30659,7 @@ export class ClippingPolygon {
30646
30659
  * @param right - The second polygon.
30647
30660
  * @returns <code>true</code> if left and right are equal, <code>false</code> otherwise.
30648
30661
  */
30649
- static equals(left: Plane, right: Plane): boolean;
30662
+ static equals(left: ClippingPolygon, right: ClippingPolygon): boolean;
30650
30663
  /**
30651
30664
  * Computes a cartographic rectangle which encloses the polygon defined by the list of positions, including cases over the international date line and the poles.
30652
30665
  * @param [result] - An object in which to store the result.
@@ -34033,6 +34046,13 @@ export namespace ITwinData {
34033
34046
  * @param [rootDocument] - The path of the root document for this reality data
34034
34047
  */
34035
34048
  function createDataSourceForRealityDataId(iTwinId: string, realityDataId: string, type?: ITwinPlatform.RealityDataType, rootDocument?: string): Promise<GeoJsonDataSource | KmlDataSource>;
34049
+ /**
34050
+ * Load data from the Geospatial Features API as GeoJSON.
34051
+ * @param iTwinId - The id of the iTwin to load data from
34052
+ * @param collectionId - The id of the data collection to load
34053
+ * @param [limit = 10000] - number of items per page, must be between 1 and 10,000 inclusive
34054
+ */
34055
+ function loadGeospatialFeatures(iTwinId: string, collectionId: string, limit?: number): Promise<GeoJsonDataSource>;
34036
34056
  }
34037
34057
 
34038
34058
  /**
@@ -34386,10 +34406,10 @@ export class ImageryLayer {
34386
34406
  * alert(`Encountered an error while creating an imagery layer! ${error}`);
34387
34407
  * });
34388
34408
  * @param imageryProviderPromise - A promise which resolves to a imagery provider
34389
- * @param options - An object describing initialization options
34409
+ * @param [options] - An object describing initialization options
34390
34410
  * @returns The created imagery layer.
34391
34411
  */
34392
- static fromProviderAsync(imageryProviderPromise: Promise<ImageryProvider>, options: ImageryLayer.ConstructorOptions): ImageryLayer;
34412
+ static fromProviderAsync(imageryProviderPromise: Promise<ImageryProvider>, options?: ImageryLayer.ConstructorOptions): ImageryLayer;
34393
34413
  /**
34394
34414
  * Create a new imagery layer for ion's default global base imagery layer, currently Bing Maps. The layer will handle any asynchronous loads or errors, and begin rendering the imagery layer once ready.
34395
34415
  * @example
@@ -35217,10 +35237,10 @@ export class Label {
35217
35237
  /**
35218
35238
  * Determines if this label equals another label. Labels are equal if all their properties
35219
35239
  * are equal. Labels in different collections can be equal.
35220
- * @param other - The label to compare for equality.
35240
+ * @param [other] - The label to compare for equality.
35221
35241
  * @returns <code>true</code> if the labels are equal; otherwise, <code>false</code>.
35222
35242
  */
35223
- equals(other: Label): boolean;
35243
+ equals(other?: Label): boolean;
35224
35244
  /**
35225
35245
  * Returns true if this object was destroyed; otherwise, false.
35226
35246
  * <br /><br />
@@ -39282,10 +39302,10 @@ export class PointPrimitive {
39282
39302
  /**
39283
39303
  * Determines if this point equals another point. Points are equal if all their properties
39284
39304
  * are equal. Points in different collections can be equal.
39285
- * @param other - The point to compare for equality.
39305
+ * @param [other] - The point to compare for equality.
39286
39306
  * @returns <code>true</code> if the points are equal; otherwise, <code>false</code>.
39287
39307
  */
39288
- equals(other: PointPrimitive): boolean;
39308
+ equals(other?: PointPrimitive): boolean;
39289
39309
  }
39290
39310
 
39291
39311
  /**
@@ -43513,6 +43533,95 @@ export class VoxelPrimitive {
43513
43533
  customShader?: CustomShader;
43514
43534
  clock?: Clock;
43515
43535
  });
43536
+ /**
43537
+ * The number of levels of detail containing available tiles in the tileset.
43538
+ */
43539
+ readonly availableLevels: number | undefined;
43540
+ /**
43541
+ * The event fired to indicate that a tile's content was loaded.
43542
+ * <p>
43543
+ * This event is fired during the tileset traversal while the frame is being rendered
43544
+ * so that updates to the tile take effect in the same frame. Do not create or modify
43545
+ * Cesium entities or primitives during the event listener.
43546
+ * </p>
43547
+ * @example
43548
+ * voxelPrimitive.tileLoad.addEventListener(function() {
43549
+ * console.log('A tile was loaded.');
43550
+ * });
43551
+ */
43552
+ tileLoad: Event;
43553
+ /**
43554
+ * This event fires once for each visible tile in a frame.
43555
+ * <p>
43556
+ * This event is fired during the traversal while the frame is being rendered.
43557
+ * @example
43558
+ * voxelPrimitive.tileVisible.addEventListener(function() {
43559
+ * console.log('A tile is visible.');
43560
+ * });
43561
+ */
43562
+ tileVisible: Event;
43563
+ /**
43564
+ * The event fired to indicate that a tile's content failed to load.
43565
+ * @example
43566
+ * voxelPrimitive.tileFailed.addEventListener(function() {
43567
+ * console.log('An error occurred loading tile.');
43568
+ * });
43569
+ */
43570
+ tileFailed: Event;
43571
+ /**
43572
+ * The event fired to indicate that a tile's content was unloaded.
43573
+ * @example
43574
+ * voxelPrimitive.tileUnload.addEventListener(function() {
43575
+ * console.log('A tile was unloaded from the cache.');
43576
+ * });
43577
+ */
43578
+ tileUnload: Event;
43579
+ /**
43580
+ * The event fired to indicate progress of loading new tiles. This event is fired when a new tile
43581
+ * is requested, when a requested tile is finished downloading, and when a downloaded tile has been
43582
+ * processed and is ready to render.
43583
+ * <p>
43584
+ * The number of pending tile requests, <code>numberOfPendingRequests</code>, and number of tiles
43585
+ * processing, <code>numberOfTilesProcessing</code> are passed to the event listener.
43586
+ * </p>
43587
+ * <p>
43588
+ * This event is fired at the end of the frame after the scene is rendered.
43589
+ * </p>
43590
+ * @example
43591
+ * voxelPrimitive.loadProgress.addEventListener(function(numberOfPendingRequests, numberOfTilesProcessing) {
43592
+ * if ((numberOfPendingRequests === 0) && (numberOfTilesProcessing === 0)) {
43593
+ * console.log('Finished loading');
43594
+ * return;
43595
+ * }
43596
+ *
43597
+ * console.log(`Loading: requests: ${numberOfPendingRequests}, processing: ${numberOfTilesProcessing}`);
43598
+ * });
43599
+ */
43600
+ loadProgress: Event;
43601
+ /**
43602
+ * The event fired to indicate that all tiles that meet the screen space error this frame are loaded. The voxel
43603
+ * primitive is completely loaded for this view.
43604
+ * <p>
43605
+ * This event is fired at the end of the frame after the scene is rendered.
43606
+ * </p>
43607
+ * @example
43608
+ * voxelPrimitive.allTilesLoaded.addEventListener(function() {
43609
+ * console.log('All tiles are loaded');
43610
+ * });
43611
+ */
43612
+ allTilesLoaded: Event;
43613
+ /**
43614
+ * The event fired to indicate that all tiles that meet the screen space error this frame are loaded. This event
43615
+ * is fired once when all tiles in the initial view are loaded.
43616
+ * <p>
43617
+ * This event is fired at the end of the frame after the scene is rendered.
43618
+ * </p>
43619
+ * @example
43620
+ * voxelPrimitive.initialTilesLoaded.addEventListener(function() {
43621
+ * console.log('Initial tiles are loaded');
43622
+ * });
43623
+ */
43624
+ initialTilesLoaded: Event;
43516
43625
  /**
43517
43626
  * Gets a value indicating whether or not the primitive is ready for use.
43518
43627
  */
@@ -43729,6 +43838,11 @@ export class VoxelProvider {
43729
43838
  }): Promise<any[][]> | undefined;
43730
43839
  }
43731
43840
 
43841
+ /**
43842
+ * The number of levels of detail containing available tiles in the tileset.
43843
+ */
43844
+ export const availableLevels: number | undefined;
43845
+
43732
43846
  export const shaderUniforms: {
43733
43847
  [key: string]: any;
43734
43848
  };
@@ -44029,7 +44143,7 @@ export namespace WebMapTileServiceImageryProvider {
44029
44143
  * @example
44030
44144
  * // Example 1. USGS shaded relief tiles (KVP)
44031
44145
  * const shadedRelief1 = new Cesium.WebMapTileServiceImageryProvider({
44032
- * url : 'http://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/WMTS',
44146
+ * url : 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/WMTS',
44033
44147
  * layer : 'USGSShadedReliefOnly',
44034
44148
  * style : 'default',
44035
44149
  * format : 'image/jpeg',
@@ -44042,7 +44156,7 @@ export namespace WebMapTileServiceImageryProvider {
44042
44156
  * @example
44043
44157
  * // Example 2. USGS shaded relief tiles (RESTful)
44044
44158
  * const shadedRelief2 = new Cesium.WebMapTileServiceImageryProvider({
44045
- * url : 'http://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/WMTS/tile/1.0.0/USGSShadedReliefOnly/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg',
44159
+ * url : 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/WMTS/tile/1.0.0/USGSShadedReliefOnly/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg',
44046
44160
  * layer : 'USGSShadedReliefOnly',
44047
44161
  * style : 'default',
44048
44162
  * format : 'image/jpeg',