mars3d-cesium 1.118.2 → 1.119.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 (119) hide show
  1. package/Build/Cesium/Cesium.d.ts +192 -118
  2. package/Build/Cesium/Cesium.js +14135 -14032
  3. package/Build/Cesium/ThirdParty/draco_decoder.wasm +0 -0
  4. package/Build/Cesium/Widgets/CesiumWidget/CesiumWidget.css +0 -5
  5. package/Build/Cesium/Widgets/widgets.css +0 -4
  6. package/Build/Cesium/Workers/{chunk-N3XTEYN7.js → chunk-2Y62SJ5M.js} +2 -2
  7. package/Build/Cesium/Workers/{chunk-AKQVXQ63.js → chunk-3AGK2YGE.js} +2 -2
  8. package/Build/Cesium/Workers/{chunk-47FNQ3EJ.js → chunk-3GUOVF7B.js} +1 -1
  9. package/Build/Cesium/Workers/{chunk-GDOGBFLS.js → chunk-3HJM4DNA.js} +2 -2
  10. package/Build/Cesium/Workers/chunk-4IAJQOFI.js +26 -0
  11. package/Build/Cesium/Workers/chunk-4QTCIDG4.js +26 -0
  12. package/Build/Cesium/Workers/{chunk-UNIYOESN.js → chunk-4WSWBQPX.js} +2 -2
  13. package/Build/Cesium/Workers/{chunk-HPTI5WKC.js → chunk-5XIPW2N4.js} +2 -2
  14. package/Build/Cesium/Workers/{chunk-HCDRWLCA.js → chunk-6APME2VO.js} +2 -2
  15. package/Build/Cesium/Workers/chunk-6IEKOAAO.js +26 -0
  16. package/Build/Cesium/Workers/{chunk-XHYV45FE.js → chunk-6TDCJQKI.js} +2 -2
  17. package/Build/Cesium/Workers/{chunk-35L7SERS.js → chunk-7TYSIAS6.js} +2 -2
  18. package/Build/Cesium/Workers/chunk-A37TTN4T.js +28 -0
  19. package/Build/Cesium/Workers/{chunk-LLPSTVTG.js → chunk-BJT6N7D2.js} +2 -2
  20. package/Build/Cesium/Workers/{chunk-ELEMPPBH.js → chunk-BWSUBYAI.js} +1 -1
  21. package/Build/Cesium/Workers/chunk-DH3YQ56F.js +26 -0
  22. package/Build/Cesium/Workers/{chunk-NHVHST2K.js → chunk-DMIF3TJ3.js} +2 -2
  23. package/Build/Cesium/Workers/{chunk-JYR6ZO3O.js → chunk-EDMSGCXM.js} +1 -1
  24. package/Build/Cesium/Workers/{chunk-2Q45BLNU.js → chunk-FI7FQWFK.js} +6 -6
  25. package/Build/Cesium/Workers/{chunk-QVAXIKFT.js → chunk-GDH3Q66C.js} +2 -2
  26. package/Build/Cesium/Workers/chunk-I33DDHVP.js +26 -0
  27. package/Build/Cesium/Workers/{chunk-V3STV64N.js → chunk-IWAQ2DE4.js} +1 -1
  28. package/Build/Cesium/Workers/{chunk-GRQJA7VU.js → chunk-J644FLPC.js} +2 -2
  29. package/Build/Cesium/Workers/{chunk-DK7EPJJ4.js → chunk-JDQIUPWT.js} +2 -2
  30. package/Build/Cesium/Workers/{chunk-AA7HEUEL.js → chunk-K2K5RZSV.js} +2 -2
  31. package/Build/Cesium/Workers/{chunk-R353GDGO.js → chunk-KCAPKETN.js} +2 -2
  32. package/Build/Cesium/Workers/chunk-KCNAH63E.js +26 -0
  33. package/Build/Cesium/Workers/{chunk-ZRCL3S3F.js → chunk-KEK6OS4C.js} +2 -2
  34. package/Build/Cesium/Workers/{chunk-AAHM5BPS.js → chunk-L2WB5XBS.js} +2 -2
  35. package/Build/Cesium/Workers/{chunk-C5K42NBM.js → chunk-L534BPPX.js} +2 -2
  36. package/Build/Cesium/Workers/{chunk-JZQF6PVS.js → chunk-LNY47VRK.js} +2 -2
  37. package/Build/Cesium/Workers/{chunk-FQ7PQKW4.js → chunk-LQRYAIPK.js} +2 -2
  38. package/Build/Cesium/Workers/{chunk-7FQCYCGP.js → chunk-MKOJDBDR.js} +2 -2
  39. package/Build/Cesium/Workers/{chunk-5CILLLVY.js → chunk-N5IDJRBB.js} +2 -2
  40. package/Build/Cesium/Workers/{chunk-YLVQS6AU.js → chunk-NUBJ7BVV.js} +2 -2
  41. package/Build/Cesium/Workers/chunk-O4WI7D7B.js +26 -0
  42. package/Build/Cesium/Workers/{chunk-RSAYBK4H.js → chunk-PSM2OZFQ.js} +2 -2
  43. package/Build/Cesium/Workers/{chunk-RDLHEPG7.js → chunk-QJHYMZPL.js} +2 -2
  44. package/Build/Cesium/Workers/{chunk-WPDSM74B.js → chunk-QU7IDCXZ.js} +2 -2
  45. package/Build/Cesium/Workers/{chunk-LN3RWAT2.js → chunk-SQHFMRD4.js} +1 -1
  46. package/Build/Cesium/Workers/{chunk-J7OZQ77D.js → chunk-TPVKDNQ2.js} +2 -2
  47. package/Build/Cesium/Workers/{chunk-GYEWC3ID.js → chunk-U4UUGLXG.js} +2 -2
  48. package/Build/Cesium/Workers/chunk-VJTHPHYB.js +26 -0
  49. package/Build/Cesium/Workers/{chunk-ZOK4LVL2.js → chunk-VMVQRCQY.js} +2 -2
  50. package/Build/Cesium/Workers/{chunk-3W3JE3DO.js → chunk-XCNSARVR.js} +2 -2
  51. package/Build/Cesium/Workers/{chunk-7RUNMTZZ.js → chunk-XJG4HLYX.js} +2 -2
  52. package/Build/Cesium/Workers/{chunk-QNNTZZUK.js → chunk-YIILRZ3A.js} +2 -2
  53. package/Build/Cesium/Workers/chunk-ZB22F4F4.js +26 -0
  54. package/Build/Cesium/Workers/{chunk-RSKAECPB.js → chunk-ZLFFYFO6.js} +2 -2
  55. package/Build/Cesium/Workers/chunk-ZUOZYKYZ.js +26 -0
  56. package/Build/Cesium/Workers/{chunk-O7RRRDDC.js → chunk-ZVFSUDGR.js} +2 -2
  57. package/Build/Cesium/Workers/{chunk-NGDTT2BL.js → chunk-ZWNHW2OC.js} +2 -2
  58. package/Build/Cesium/Workers/combineGeometry.js +2 -2
  59. package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
  60. package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
  61. package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
  62. package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
  63. package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
  64. package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
  65. package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
  66. package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
  67. package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
  68. package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
  69. package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
  70. package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
  71. package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
  72. package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
  73. package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
  74. package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
  75. package/Build/Cesium/Workers/createGeometry.js +2 -2
  76. package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
  77. package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
  78. package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
  79. package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
  80. package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
  81. package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
  82. package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
  83. package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
  84. package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
  85. package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
  86. package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
  87. package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
  88. package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
  89. package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
  90. package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
  91. package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
  92. package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
  93. package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
  94. package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
  95. package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  96. package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  97. package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
  98. package/Build/Cesium/Workers/createWallGeometry.js +2 -2
  99. package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
  100. package/Build/Cesium/Workers/decodeDraco.js +2 -2
  101. package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  102. package/Build/Cesium/Workers/decodeI3S.js +2 -2
  103. package/Build/Cesium/Workers/transcodeKTX2.js +2 -2
  104. package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
  105. package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
  106. package/Build/Cesium/index.cjs +14102 -13999
  107. package/Build/Cesium/index.js +14134 -14031
  108. package/package.json +1 -1
  109. package/Build/Cesium/Workers/chunk-3AONKUSC.js +0 -28
  110. package/Build/Cesium/Workers/chunk-7SDM3KO6.js +0 -26
  111. package/Build/Cesium/Workers/chunk-CHAPVB4B.js +0 -26
  112. package/Build/Cesium/Workers/chunk-CM7HPSRQ.js +0 -26
  113. package/Build/Cesium/Workers/chunk-DEBML4AU.js +0 -26
  114. package/Build/Cesium/Workers/chunk-DMLEGVIP.js +0 -26
  115. package/Build/Cesium/Workers/chunk-KB42KGYV.js +0 -26
  116. package/Build/Cesium/Workers/chunk-NIIBRS6Z.js +0 -26
  117. package/Build/Cesium/Workers/chunk-RGG2GVTT.js +0 -26
  118. package/Build/Cesium/Workers/chunk-UKPQ3IIC.js +0 -26
  119. package/Build/Cesium/Workers/chunk-UTIPHELW.js +0 -26
@@ -597,9 +597,9 @@ export namespace ArcGISTiledElevationTerrainProvider {
597
597
  /**
598
598
  * Initialization options for the ArcGISTiledElevationTerrainProvider constructor
599
599
  * @property [token] - The authorization token to use to connect to the service.
600
- * @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified,
600
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
601
601
  this parameter is ignored and the tiling scheme's ellipsoid is used instead.
602
- If neither parameter is specified, the WGS84 ellipsoid is used.
602
+ If neither parameter is specified, the default ellipsoid is used.
603
603
  */
604
604
  type ConstructorOptions = {
605
605
  token?: string;
@@ -1104,7 +1104,7 @@ export class BoundingSphere {
1104
1104
  * Computes a bounding sphere from a rectangle in 3D. The bounding sphere is created using a subsample of points
1105
1105
  on the ellipsoid and contained in the rectangle. It may not be accurate for all rectangles on all types of ellipsoids.
1106
1106
  * @param [rectangle] - The valid rectangle used to create a bounding sphere.
1107
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid used to determine positions of the rectangle.
1107
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine positions of the rectangle.
1108
1108
  * @param [surfaceHeight = 0.0] - The height above the surface of the ellipsoid.
1109
1109
  * @param [result] - The object onto which to store the result.
1110
1110
  * @returns The modified result parameter or a new BoundingSphere instance if none was provided.
@@ -2199,7 +2199,7 @@ export class Cartesian3 {
2199
2199
  * @param longitude - The longitude, in degrees
2200
2200
  * @param latitude - The latitude, in degrees
2201
2201
  * @param [height = 0.0] - The height, in meters, above the ellipsoid.
2202
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the position lies.
2202
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
2203
2203
  * @param [result] - The object onto which to store the result.
2204
2204
  * @returns The position
2205
2205
  */
@@ -2211,7 +2211,7 @@ export class Cartesian3 {
2211
2211
  * @param longitude - The longitude, in radians
2212
2212
  * @param latitude - The latitude, in radians
2213
2213
  * @param [height = 0.0] - The height, in meters, above the ellipsoid.
2214
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the position lies.
2214
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
2215
2215
  * @param [result] - The object onto which to store the result.
2216
2216
  * @returns The position
2217
2217
  */
@@ -2221,7 +2221,7 @@ export class Cartesian3 {
2221
2221
  * @example
2222
2222
  * const positions = Cesium.Cartesian3.fromDegreesArray([-115.0, 37.0, -107.0, 33.0]);
2223
2223
  * @param coordinates - A list of longitude and latitude values. Values alternate [longitude, latitude, longitude, latitude...].
2224
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the coordinates lie.
2224
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the coordinates lie.
2225
2225
  * @param [result] - An array of Cartesian3 objects to store the result.
2226
2226
  * @returns The array of positions.
2227
2227
  */
@@ -2231,7 +2231,7 @@ export class Cartesian3 {
2231
2231
  * @example
2232
2232
  * const positions = Cesium.Cartesian3.fromRadiansArray([-2.007, 0.645, -1.867, .575]);
2233
2233
  * @param coordinates - A list of longitude and latitude values. Values alternate [longitude, latitude, longitude, latitude...].
2234
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the coordinates lie.
2234
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the coordinates lie.
2235
2235
  * @param [result] - An array of Cartesian3 objects to store the result.
2236
2236
  * @returns The array of positions.
2237
2237
  */
@@ -2241,7 +2241,7 @@ export class Cartesian3 {
2241
2241
  * @example
2242
2242
  * const positions = Cesium.Cartesian3.fromDegreesArrayHeights([-115.0, 37.0, 100000.0, -107.0, 33.0, 150000.0]);
2243
2243
  * @param coordinates - A list of longitude, latitude and height values. Values alternate [longitude, latitude, height, longitude, latitude, height...].
2244
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the position lies.
2244
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
2245
2245
  * @param [result] - An array of Cartesian3 objects to store the result.
2246
2246
  * @returns The array of positions.
2247
2247
  */
@@ -2251,7 +2251,7 @@ export class Cartesian3 {
2251
2251
  * @example
2252
2252
  * const positions = Cesium.Cartesian3.fromRadiansArrayHeights([-2.007, 0.645, 100000.0, -1.867, .575, 150000.0]);
2253
2253
  * @param coordinates - A list of longitude, latitude and height values. Values alternate [longitude, latitude, height, longitude, latitude, height...].
2254
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the position lies.
2254
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
2255
2255
  * @param [result] - An array of Cartesian3 objects to store the result.
2256
2256
  * @returns The array of positions.
2257
2257
  */
@@ -2697,7 +2697,7 @@ export class Cartographic {
2697
2697
  * Creates a new Cartographic instance from a Cartesian position. The values in the
2698
2698
  resulting object will be in radians.
2699
2699
  * @param cartesian - The Cartesian position to convert to cartographic representation.
2700
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the position lies.
2700
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
2701
2701
  * @param [result] - The object onto which to store the result.
2702
2702
  * @returns The modified result parameter, new Cartographic instance if none was provided, or undefined if the cartesian is at the center of the ellipsoid.
2703
2703
  */
@@ -2706,7 +2706,7 @@ export class Cartographic {
2706
2706
  * Creates a new Cartesian3 instance from a Cartographic input. The values in the inputted
2707
2707
  object should be in radians.
2708
2708
  * @param cartographic - Input to be converted into a Cartesian3 output.
2709
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the position lies.
2709
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
2710
2710
  * @param [result] - The object onto which to store the result.
2711
2711
  * @returns The position
2712
2712
  */
@@ -2871,7 +2871,7 @@ export namespace CesiumTerrainProvider {
2871
2871
  * @property [requestVertexNormals = false] - Flag that indicates if the client should request additional lighting information from the server, in the form of per vertex normals if available.
2872
2872
  * @property [requestWaterMask = false] - Flag that indicates if the client should request per tile water masks from the server, if available.
2873
2873
  * @property [requestMetadata = true] - Flag that indicates if the client should request per tile metadata from the server, if available.
2874
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
2874
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
2875
2875
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
2876
2876
  */
2877
2877
  type ConstructorOptions = {
@@ -3188,7 +3188,7 @@ const geometry = Cesium.CircleGeometry.createGeometry(circle);
3188
3188
  * @param options - Object with the following properties:
3189
3189
  * @param options.center - The circle's center point in the fixed frame.
3190
3190
  * @param options.radius - The radius in meters.
3191
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid the circle will be on.
3191
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the circle will be on.
3192
3192
  * @param [options.height = 0.0] - The distance in meters between the circle and the ellipsoid surface.
3193
3193
  * @param [options.granularity = 0.02] - The angular distance between points on the circle in radians.
3194
3194
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
@@ -3246,7 +3246,7 @@ const geometry = Cesium.CircleOutlineGeometry.createGeometry(circle);
3246
3246
  * @param options - Object with the following properties:
3247
3247
  * @param options.center - The circle's center point in the fixed frame.
3248
3248
  * @param options.radius - The radius in meters.
3249
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid the circle will be on.
3249
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the circle will be on.
3250
3250
  * @param [options.height = 0.0] - The distance in meters between the circle and the ellipsoid surface.
3251
3251
  * @param [options.granularity = 0.02] - The angular distance between points on the circle in radians.
3252
3252
  * @param [options.extrudedHeight = 0.0] - The distance in meters between the circle's extruded face and the ellipsoid surface.
@@ -4763,7 +4763,7 @@ export class ConstantSpline {
4763
4763
  * @param options.polygonHierarchy - A polygon hierarchy that can include holes.
4764
4764
  * @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
4765
4765
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
4766
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
4766
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
4767
4767
  * @param [options.textureCoordinates] - Texture coordinates as a {@link PolygonHierarchy} of {@link Cartesian2} points.
4768
4768
  */
4769
4769
  export class CoplanarPolygonGeometry {
@@ -4796,7 +4796,7 @@ export class CoplanarPolygonGeometry {
4796
4796
  * @param options.positions - An array of positions that defined the corner points of the polygon.
4797
4797
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
4798
4798
  * @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
4799
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
4799
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
4800
4800
  * @param [options.textureCoordinates] - Texture coordinates as a {@link PolygonHierarchy} of {@link Cartesian2} points.
4801
4801
  */
4802
4802
  static fromPositions(options: {
@@ -4920,7 +4920,7 @@ export enum CornerType {
4920
4920
  * @param options - Object with the following properties:
4921
4921
  * @param options.positions - An array of positions that define the center of the corridor.
4922
4922
  * @param options.width - The distance between the edges of the corridor in meters.
4923
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
4923
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
4924
4924
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
4925
4925
  * @param [options.height = 0] - The distance in meters between the ellipsoid surface and the positions.
4926
4926
  * @param [options.extrudedHeight] - The distance in meters between the ellipsoid surface and the extruded face.
@@ -4963,7 +4963,7 @@ export class CorridorGeometry {
4963
4963
  * @param options - Object with the following properties:
4964
4964
  * @param options.positions - An array of positions that define the center of the corridor.
4965
4965
  * @param options.width - The distance between the edges of the corridor in meters.
4966
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
4966
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
4967
4967
  * @param [options.cornerType = CornerType.ROUNDED] - Determines the style of the corners.
4968
4968
  * @param [result] - An object in which to store the result.
4969
4969
  * @returns The result rectangle.
@@ -4992,7 +4992,7 @@ export class CorridorGeometry {
4992
4992
  * @param options - Object with the following properties:
4993
4993
  * @param options.positions - An array of positions that define the center of the corridor outline.
4994
4994
  * @param options.width - The distance between the edges of the corridor outline.
4995
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
4995
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
4996
4996
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
4997
4997
  * @param [options.height = 0] - The distance in meters between the positions and the ellipsoid surface.
4998
4998
  * @param [options.extrudedHeight] - The distance in meters between the extruded face and the ellipsoid surface.
@@ -5110,9 +5110,9 @@ export function createWorldTerrainAsync(options?: {
5110
5110
  * A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
5111
5111
  * @example
5112
5112
  * // Create a credit with a tooltip, image and link
5113
- const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank"><img src="/images/cesium_logo.png" title="Cesium"/></a>');
5113
+ const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank"><img src="/images/cesium_logo.png" style="vertical-align: -7px" title="Cesium"/></a>');
5114
5114
  * @param html - An string representing an html code snippet
5115
- * @param [showOnScreen = false] - If true, the credit will be visible in the main credit container. Otherwise, it will appear in a popover
5115
+ * @param [showOnScreen = false] - If true, the credit will be visible in the main credit container. Otherwise, it will appear in a popover. All credits are displayed `inline`, if you have an image we recommend sizing it correctly to match the text or use css to `vertical-align` it.
5116
5116
  */
5117
5117
  export class Credit {
5118
5118
  constructor(html: string, showOnScreen?: boolean);
@@ -5235,9 +5235,9 @@ for these more sophisticated use cases.
5235
5235
  * @param [options.tilingScheme] - The tiling scheme specifying how the ellipsoidal
5236
5236
  surface is broken into tiles. If this parameter is not provided, a {@link GeographicTilingScheme}
5237
5237
  is used.
5238
- * @param [options.ellipsoid] - The ellipsoid. If the tilingScheme is specified,
5238
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
5239
5239
  this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
5240
- parameter is specified, the WGS84 ellipsoid is used.
5240
+ parameter is specified, the default ellipsoid is used.
5241
5241
  * @param [options.credit] - A credit for the data source, which is displayed on the canvas.
5242
5242
  */
5243
5243
  export class CustomHeightmapTerrainProvider {
@@ -5278,6 +5278,12 @@ export class CustomHeightmapTerrainProvider {
5278
5278
  value will always be false.
5279
5279
  */
5280
5280
  readonly hasVertexNormals: boolean;
5281
+ /**
5282
+ * Gets an object that can be used to determine availability of terrain from this provider, such as
5283
+ at points and in rectangles. This property may be undefined if availability
5284
+ information is not available.
5285
+ */
5286
+ readonly availability: TileAvailability;
5281
5287
  /**
5282
5288
  * Gets the number of columns per heightmap tile.
5283
5289
  */
@@ -5805,7 +5811,7 @@ const geometry = Cesium.EllipseGeometry.createGeometry(ellipse);
5805
5811
  * @param options.center - The ellipse's center point in the fixed frame.
5806
5812
  * @param options.semiMajorAxis - The length of the ellipse's semi-major axis in meters.
5807
5813
  * @param options.semiMinorAxis - The length of the ellipse's semi-minor axis in meters.
5808
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid the ellipse will be on.
5814
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the ellipse will be on.
5809
5815
  * @param [options.height = 0.0] - The distance in meters between the ellipse and the ellipsoid surface.
5810
5816
  * @param [options.extrudedHeight] - The distance in meters between the ellipse's extruded face and the ellipsoid surface.
5811
5817
  * @param [options.rotation = 0.0] - The angle of rotation counter-clockwise from north.
@@ -5852,7 +5858,7 @@ export class EllipseGeometry {
5852
5858
  * @param options.center - The ellipse's center point in the fixed frame.
5853
5859
  * @param options.semiMajorAxis - The length of the ellipse's semi-major axis in meters.
5854
5860
  * @param options.semiMinorAxis - The length of the ellipse's semi-minor axis in meters.
5855
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid the ellipse will be on.
5861
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the ellipse will be on.
5856
5862
  * @param [options.rotation = 0.0] - The angle of rotation counter-clockwise from north.
5857
5863
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The angular distance between points on the ellipse in radians.
5858
5864
  * @param [result] - An object in which to store the result
@@ -5888,7 +5894,7 @@ const geometry = Cesium.EllipseOutlineGeometry.createGeometry(ellipse);
5888
5894
  * @param options.center - The ellipse's center point in the fixed frame.
5889
5895
  * @param options.semiMajorAxis - The length of the ellipse's semi-major axis in meters.
5890
5896
  * @param options.semiMinorAxis - The length of the ellipse's semi-minor axis in meters.
5891
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid the ellipse will be on.
5897
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the ellipse will be on.
5892
5898
  * @param [options.height = 0.0] - The distance in meters between the ellipse and the ellipsoid surface.
5893
5899
  * @param [options.extrudedHeight] - The distance in meters between the ellipse's extruded face and the ellipsoid surface.
5894
5900
  * @param [options.rotation = 0.0] - The angle from north (counter-clockwise) in radians.
@@ -6004,6 +6010,18 @@ export class Ellipsoid {
6004
6010
  * An Ellipsoid instance initialized to a sphere with the lunar radius.
6005
6011
  */
6006
6012
  static readonly MOON: Ellipsoid;
6013
+ /**
6014
+ * The default ellipsoid used when not otherwise specified.
6015
+ * @example
6016
+ * Cesium.Ellipsoid.default = Cesium.Ellipsoid.MOON;
6017
+
6018
+ // Apollo 11 landing site
6019
+ const position = Cesium.Cartesian3.fromRadians(
6020
+ 0.67416,
6021
+ 23.47315,
6022
+ );
6023
+ */
6024
+ static default: Ellipsoid;
6007
6025
  /**
6008
6026
  * Duplicates an Ellipsoid instance.
6009
6027
  * @param [result] - The object onto which to store the result, or undefined if a new
@@ -6182,7 +6200,7 @@ export class Ellipsoid {
6182
6200
  * Initializes a geodesic on the ellipsoid connecting the two provided planetodetic points.
6183
6201
  * @param [start] - The initial planetodetic point on the path.
6184
6202
  * @param [end] - The final planetodetic point on the path.
6185
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the geodesic lies.
6203
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the geodesic lies.
6186
6204
  */
6187
6205
  export class EllipsoidGeodesic {
6188
6206
  constructor(start?: Cartographic, end?: Cartographic, ellipsoid?: Ellipsoid);
@@ -6355,7 +6373,7 @@ export class EllipsoidOutlineGeometry {
6355
6373
  * Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
6356
6374
  * @param [start] - The initial planetodetic point on the path.
6357
6375
  * @param [end] - The final planetodetic point on the path.
6358
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the rhumb line lies.
6376
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the rhumb line lies.
6359
6377
  */
6360
6378
  export class EllipsoidRhumbLine {
6361
6379
  constructor(start?: Cartographic, end?: Cartographic, ellipsoid?: Ellipsoid);
@@ -6384,7 +6402,7 @@ export class EllipsoidRhumbLine {
6384
6402
  * @param start - The initial planetodetic point on the path.
6385
6403
  * @param heading - The heading in radians.
6386
6404
  * @param distance - The rhumb line distance between the start and end point.
6387
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the rhumb line lies.
6405
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the rhumb line lies.
6388
6406
  * @param [result] - The object in which to store the result.
6389
6407
  * @returns The EllipsoidRhumbLine object.
6390
6408
  */
@@ -6432,7 +6450,7 @@ export class EllipsoidRhumbLine {
6432
6450
  If origin is not on the surface of the ellipsoid, it's surface projection will be used.
6433
6451
  If origin is at the center of the ellipsoid, an exception will be thrown.
6434
6452
  * @param origin - The point on the surface of the ellipsoid where the tangent plane touches.
6435
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to use.
6453
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use.
6436
6454
  */
6437
6455
  export class EllipsoidTangentPlane {
6438
6456
  constructor(origin: Cartesian3, ellipsoid?: Ellipsoid);
@@ -6464,7 +6482,7 @@ export class EllipsoidTangentPlane {
6464
6482
  * Creates a new instance from the provided ellipsoid and the center
6465
6483
  point of the provided Cartesians.
6466
6484
  * @param cartesians - The list of positions surrounding the center point.
6467
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to use.
6485
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use.
6468
6486
  * @returns The new instance of EllipsoidTangentPlane.
6469
6487
  */
6470
6488
  static fromPoints(cartesians: Cartesian3[], ellipsoid?: Ellipsoid): EllipsoidTangentPlane;
@@ -6520,9 +6538,9 @@ surface.
6520
6538
  * @param [options.tilingScheme] - The tiling scheme specifying how the ellipsoidal
6521
6539
  surface is broken into tiles. If this parameter is not provided, a {@link GeographicTilingScheme}
6522
6540
  is used.
6523
- * @param [options.ellipsoid] - The ellipsoid. If the tilingScheme is specified,
6541
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
6524
6542
  this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
6525
- parameter is specified, the WGS84 ellipsoid is used.
6543
+ parameter is specified, the default ellipsoid is used.
6526
6544
  */
6527
6545
  export class EllipsoidTerrainProvider {
6528
6546
  constructor(options?: {
@@ -6964,9 +6982,9 @@ export enum GeocodeType {
6964
6982
  /**
6965
6983
  * A simple map projection where longitude and latitude are linearly mapped to X and Y by multiplying
6966
6984
  them by the {@link Ellipsoid#maximumRadius}. This projection
6967
- is commonly known as geographic, equirectangular, equidistant cylindrical, or plate carrée. It
6985
+ is commonly known as geographic, equirectangular, equidistant cylindrical, or plate carrée. When using the WGS84 ellipsoid, it
6968
6986
  is also known as EPSG:4326.
6969
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid.
6987
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid.
6970
6988
  */
6971
6989
  export class GeographicProjection {
6972
6990
  constructor(ellipsoid?: Ellipsoid);
@@ -7005,8 +7023,8 @@ export class GeographicProjection {
7005
7023
  longitude and latitude are directly mapped to X and Y. This projection is commonly
7006
7024
  known as geographic, equirectangular, equidistant cylindrical, or plate carrée.
7007
7025
  * @param [options] - Object with the following properties:
7008
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose surface is being tiled. Defaults to
7009
- the WGS84 ellipsoid.
7026
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid whose surface is being tiled. Defaults to
7027
+ the default ellipsoid.
7010
7028
  * @param [options.rectangle = Rectangle.MAX_VALUE] - The rectangle, in radians, covered by the tiling scheme.
7011
7029
  * @param [options.numberOfLevelZeroTilesX = 2] - The number of tiles in the X direction at level zero of
7012
7030
  the tile tree.
@@ -7883,7 +7901,7 @@ export class GoogleEarthEnterpriseTerrainData {
7883
7901
  export namespace GoogleEarthEnterpriseTerrainProvider {
7884
7902
  /**
7885
7903
  * Initialization options for GoogleEarthEnterpriseTerrainProvider constructor
7886
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
7904
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
7887
7905
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
7888
7906
  */
7889
7907
  type ConstructorOptions = {
@@ -12018,7 +12036,7 @@ export class Occluder {
12018
12036
  /**
12019
12037
  * Computes a point that can be used as the occludee position to the visibility functions from a rectangle.
12020
12038
  * @param rectangle - The rectangle used to create a bounding sphere.
12021
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid used to determine positions of the rectangle.
12039
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine positions of the rectangle.
12022
12040
  * @returns An object containing two attributes: <code>occludeePoint</code> and <code>valid</code>
12023
12041
  which is a boolean value.
12024
12042
  */
@@ -12136,7 +12154,7 @@ export class OrientedBoundingBox {
12136
12154
  * @param rectangle - The cartographic rectangle on the surface of the ellipsoid.
12137
12155
  * @param [minimumHeight = 0.0] - The minimum height (elevation) within the tile.
12138
12156
  * @param [maximumHeight = 0.0] - The maximum height (elevation) within the tile.
12139
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the rectangle is defined.
12157
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle is defined.
12140
12158
  * @param [result] - The object onto which to store the result.
12141
12159
  * @returns The modified result parameter or a new OrientedBoundingBox instance if none was provided.
12142
12160
  */
@@ -13280,7 +13298,7 @@ const geometry = Cesium.PolygonGeometry.createGeometry(extrudedPolygon);
13280
13298
  * @param [options.extrudedHeight] - The distance in meters between the polygon's extruded face and the ellipsoid surface.
13281
13299
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
13282
13300
  * @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
13283
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13301
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13284
13302
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
13285
13303
  * @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
13286
13304
  * @param [options.closeTop = true] - When false, leaves off the top of an extruded polygon open.
@@ -13327,7 +13345,7 @@ export class PolygonGeometry {
13327
13345
  * @param [options.extrudedHeight] - The height of the polygon extrusion.
13328
13346
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
13329
13347
  * @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
13330
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13348
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13331
13349
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
13332
13350
  * @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
13333
13351
  * @param [options.closeTop = true] - When false, leaves off the top of an extruded polygon open.
@@ -13367,7 +13385,7 @@ export class PolygonGeometry {
13367
13385
  /**
13368
13386
  * Computes a rectangle which encloses the polygon defined by the list of positions, including cases over the international date line and the poles.
13369
13387
  * @param positions - A linear ring defining the outer boundary of the polygon.
13370
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13388
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13371
13389
  * @param [arcType = ArcType.GEODESIC] - The type of line the polygon edges must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.
13372
13390
  * @param [result] - An object in which to store the result.
13373
13391
  * @returns The result rectangle
@@ -13472,7 +13490,7 @@ const geometry = Cesium.PolygonOutlineGeometry.createGeometry(extrudedPolygon);
13472
13490
  * @param [options.height = 0.0] - The distance in meters between the polygon and the ellipsoid surface.
13473
13491
  * @param [options.extrudedHeight] - The distance in meters between the polygon's extruded face and the ellipsoid surface.
13474
13492
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
13475
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13493
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13476
13494
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
13477
13495
  * @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
13478
13496
  * @param [options.arcType = ArcType.GEODESIC] - The type of path the outline must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.
@@ -13526,7 +13544,7 @@ export class PolygonOutlineGeometry {
13526
13544
  * @param options.positions - An array of positions that defined the corner points of the polygon.
13527
13545
  * @param [options.height = 0.0] - The height of the polygon.
13528
13546
  * @param [options.extrudedHeight] - The height of the polygon extrusion.
13529
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13547
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13530
13548
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
13531
13549
  * @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
13532
13550
  * @param [options.arcType = ArcType.GEODESIC] - The type of path the outline must follow. Valid options are {@link LinkType.GEODESIC} and {@link ArcType.RHUMB}.
@@ -13571,7 +13589,7 @@ const geometry = Cesium.PolylineGeometry.createGeometry(polyline);
13571
13589
  * @param [options.arcType = ArcType.GEODESIC] - The type of line the polyline segments must follow.
13572
13590
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer.
13573
13591
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
13574
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13592
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13575
13593
  */
13576
13594
  export class PolylineGeometry {
13577
13595
  constructor(options: {
@@ -13635,7 +13653,7 @@ const volume = new Cesium.PolylineVolumeGeometry({
13635
13653
  * @param options - Object with the following properties:
13636
13654
  * @param options.polylinePositions - An array of {@link Cartesian3} positions that define the center of the polyline volume.
13637
13655
  * @param options.shapePositions - An array of {@link Cartesian2} positions that define the shape to be extruded along the polyline
13638
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13656
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13639
13657
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
13640
13658
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
13641
13659
  * @param [options.cornerType = CornerType.ROUNDED] - Determines the style of the corners.
@@ -13699,7 +13717,7 @@ const volumeOutline = new Cesium.PolylineVolumeOutlineGeometry({
13699
13717
  * @param options - Object with the following properties:
13700
13718
  * @param options.polylinePositions - An array of positions that define the center of the polyline volume.
13701
13719
  * @param options.shapePositions - An array of positions that define the shape to be extruded along the polyline
13702
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13720
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
13703
13721
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
13704
13722
  * @param [options.cornerType = CornerType.ROUNDED] - Determines the style of the corners.
13705
13723
  */
@@ -14576,7 +14594,7 @@ export class Rectangle {
14576
14594
  /**
14577
14595
  * Creates the smallest possible Rectangle that encloses all positions in the provided array.
14578
14596
  * @param cartesians - The list of Cartesian instances.
14579
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid the cartesians are on.
14597
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid the cartesians are on.
14580
14598
  * @param [result] - The object onto which to store the result, or undefined if a new instance should be created.
14581
14599
  * @returns The modified result parameter or a new Rectangle instance if none was provided.
14582
14600
  */
@@ -14584,7 +14602,7 @@ export class Rectangle {
14584
14602
  /**
14585
14603
  * Create a rectangle from a bounding sphere, ignoring height.
14586
14604
  * @param boundingSphere - The bounding sphere.
14587
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid.
14605
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid.
14588
14606
  * @param [result] - The object onto which to store the result, or undefined if a new instance should be created.
14589
14607
  * @returns The modified result parameter or a new Rectangle instance if none was provided.
14590
14608
  */
@@ -14727,7 +14745,7 @@ export class Rectangle {
14727
14745
  {@link BoundingSphere#fromPoints}. Sampling is necessary to account
14728
14746
  for rectangles that cover the poles or cross the equator.
14729
14747
  * @param rectangle - The rectangle to subsample.
14730
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to use.
14748
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use.
14731
14749
  * @param [surfaceHeight = 0.0] - The height of the rectangle above the ellipsoid.
14732
14750
  * @param [result] - The array of Cartesians onto which to store the result.
14733
14751
  * @returns The modified result parameter or a new Array of Cartesians instances if none was provided.
@@ -14755,7 +14773,7 @@ export class Rectangle {
14755
14773
  * @example
14756
14774
  * // 1. create a rectangle
14757
14775
  const rectangle = new Cesium.RectangleGeometry({
14758
- ellipsoid : Cesium.Ellipsoid.WGS84,
14776
+ ellipsoid : Cesium.Ellipsoid.default,
14759
14777
  rectangle : Cesium.Rectangle.fromDegrees(-80.0, 39.0, -74.0, 42.0),
14760
14778
  height : 10000.0
14761
14779
  });
@@ -14763,7 +14781,7 @@ const geometry = Cesium.RectangleGeometry.createGeometry(rectangle);
14763
14781
 
14764
14782
  // 2. create an extruded rectangle without a top
14765
14783
  const rectangle = new Cesium.RectangleGeometry({
14766
- ellipsoid : Cesium.Ellipsoid.WGS84,
14784
+ ellipsoid : Cesium.Ellipsoid.default,
14767
14785
  rectangle : Cesium.Rectangle.fromDegrees(-80.0, 39.0, -74.0, 42.0),
14768
14786
  height : 10000.0,
14769
14787
  extrudedHeight: 300000
@@ -14772,7 +14790,7 @@ const geometry = Cesium.RectangleGeometry.createGeometry(rectangle);
14772
14790
  * @param options - Object with the following properties:
14773
14791
  * @param options.rectangle - A cartographic rectangle with north, south, east and west properties in radians.
14774
14792
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
14775
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the rectangle lies.
14793
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle lies.
14776
14794
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
14777
14795
  * @param [options.height = 0.0] - The distance in meters between the rectangle and the ellipsoid surface.
14778
14796
  * @param [options.rotation = 0.0] - The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
@@ -14814,7 +14832,7 @@ export class RectangleGeometry {
14814
14832
  * Computes the bounding rectangle based on the provided options
14815
14833
  * @param options - Object with the following properties:
14816
14834
  * @param options.rectangle - A cartographic rectangle with north, south, east and west properties in radians.
14817
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the rectangle lies.
14835
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle lies.
14818
14836
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
14819
14837
  * @param [options.rotation = 0.0] - The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
14820
14838
  * @param [result] - An object in which to store the result.
@@ -14845,7 +14863,7 @@ export class RectangleGeometry {
14845
14863
  const geometry = Cesium.RectangleOutlineGeometry.createGeometry(rectangle);
14846
14864
  * @param options - Object with the following properties:
14847
14865
  * @param options.rectangle - A cartographic rectangle with north, south, east and west properties in radians.
14848
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid on which the rectangle lies.
14866
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle lies.
14849
14867
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
14850
14868
  * @param [options.height = 0.0] - The distance in meters between the rectangle and the ellipsoid surface.
14851
14869
  * @param [options.rotation = 0.0] - The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
@@ -16308,7 +16326,7 @@ export namespace Simon1994PlanetaryPositions {
16308
16326
  function computeSunPositionInEarthInertialFrame(julianDate?: JulianDate, result?: Cartesian3): Cartesian3;
16309
16327
  /**
16310
16328
  * Computes the position of the Moon in the Earth-centered inertial frame
16311
- * @param [julianDate] - The time at which to compute the Sun's position, if not provided the current system time is used.
16329
+ * @param [julianDate] - The time at which to compute the moon's position, if not provided the current system time is used.
16312
16330
  * @param [result] - The object onto which to store the result.
16313
16331
  * @returns Calculated moon position
16314
16332
  */
@@ -16334,7 +16352,7 @@ const geometry = Cesium.SimplePolylineGeometry.createGeometry(polyline);
16334
16352
  * @param [options.colorsPerVertex = false] - A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices.
16335
16353
  * @param [options.arcType = ArcType.GEODESIC] - The type of line the polyline segments must follow.
16336
16354
  * @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer.
16337
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
16355
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
16338
16356
  */
16339
16357
  export class SimplePolylineGeometry {
16340
16358
  constructor(options: {
@@ -17593,7 +17611,7 @@ export namespace Transforms {
17593
17611
  * Computes a 4x4 transformation matrix from a reference frame
17594
17612
  centered at the provided origin to the provided ellipsoid's fixed reference frame.
17595
17613
  * @param origin - The center point of the local reference frame.
17596
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17614
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17597
17615
  * @param [result] - The object onto which to store the result.
17598
17616
  */
17599
17617
  type LocalFrameToFixedFrame = (origin: Cartesian3, ellipsoid?: Ellipsoid, result?: Matrix4) => Matrix4;
@@ -17611,7 +17629,7 @@ export namespace Transforms {
17611
17629
  const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
17612
17630
  const transform = Cesium.Transforms.eastNorthUpToFixedFrame(center);
17613
17631
  * @param origin - The center point of the local reference frame.
17614
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17632
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17615
17633
  * @param [result] - The object onto which to store the result.
17616
17634
  * @returns The modified result parameter or a new Matrix4 instance if none was provided.
17617
17635
  */
@@ -17630,7 +17648,7 @@ export namespace Transforms {
17630
17648
  const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
17631
17649
  const transform = Cesium.Transforms.northEastDownToFixedFrame(center);
17632
17650
  * @param origin - The center point of the local reference frame.
17633
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17651
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17634
17652
  * @param [result] - The object onto which to store the result.
17635
17653
  * @returns The modified result parameter or a new Matrix4 instance if none was provided.
17636
17654
  */
@@ -17649,7 +17667,7 @@ export namespace Transforms {
17649
17667
  const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
17650
17668
  const transform = Cesium.Transforms.northUpEastToFixedFrame(center);
17651
17669
  * @param origin - The center point of the local reference frame.
17652
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17670
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17653
17671
  * @param [result] - The object onto which to store the result.
17654
17672
  * @returns The modified result parameter or a new Matrix4 instance if none was provided.
17655
17673
  */
@@ -17668,7 +17686,7 @@ export namespace Transforms {
17668
17686
  const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
17669
17687
  const transform = Cesium.Transforms.northWestUpToFixedFrame(center);
17670
17688
  * @param origin - The center point of the local reference frame.
17671
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17689
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17672
17690
  * @param [result] - The object onto which to store the result.
17673
17691
  * @returns The modified result parameter or a new Matrix4 instance if none was provided.
17674
17692
  */
@@ -17688,7 +17706,7 @@ export namespace Transforms {
17688
17706
  const transform = Cesium.Transforms.headingPitchRollToFixedFrame(center, hpr);
17689
17707
  * @param origin - The center point of the local reference frame.
17690
17708
  * @param headingPitchRoll - The heading, pitch, and roll.
17691
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17709
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17692
17710
  * @param [fixedFrameTransform = Transforms.eastNorthUpToFixedFrame] - A 4x4 transformation
17693
17711
  matrix from a reference frame to the provided ellipsoid's fixed reference frame
17694
17712
  * @param [result] - The object onto which to store the result.
@@ -17710,7 +17728,7 @@ export namespace Transforms {
17710
17728
  const quaternion = Cesium.Transforms.headingPitchRollQuaternion(center, hpr);
17711
17729
  * @param origin - The center point of the local reference frame.
17712
17730
  * @param headingPitchRoll - The heading, pitch, and roll.
17713
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17731
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17714
17732
  * @param [fixedFrameTransform = Transforms.eastNorthUpToFixedFrame] - A 4x4 transformation
17715
17733
  matrix from a reference frame to the provided ellipsoid's fixed reference frame
17716
17734
  * @param [result] - The object onto which to store the result.
@@ -17722,7 +17740,7 @@ export namespace Transforms {
17722
17740
  direction where a positive angle is increasing eastward. Pitch is the rotation from the local east-north plane. Positive pitch angles
17723
17741
  are above the plane. Negative pitch angles are below the plane. Roll is the first rotation applied about the local east axis.
17724
17742
  * @param transform - The transform
17725
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17743
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17726
17744
  * @param [fixedFrameTransform = Transforms.eastNorthUpToFixedFrame] - A 4x4 transformation
17727
17745
  matrix from a reference frame to the provided ellipsoid's fixed reference frame
17728
17746
  * @param [result] - The object onto which to store the result.
@@ -17817,7 +17835,7 @@ export namespace Transforms {
17817
17835
  * Transform a position and velocity to a rotation matrix.
17818
17836
  * @param position - The position to transform.
17819
17837
  * @param velocity - The velocity vector to transform.
17820
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose fixed frame is used in the transformation.
17838
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
17821
17839
  * @param [result] - The object onto which to store the result.
17822
17840
  * @returns The modified result parameter or a new Matrix3 instance if none was provided.
17823
17841
  */
@@ -18121,7 +18139,7 @@ export enum Visibility {
18121
18139
  export namespace VRTheWorldTerrainProvider {
18122
18140
  /**
18123
18141
  * Initialization options for the VRTheWorldTerrainProvider constructor
18124
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
18142
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
18125
18143
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
18126
18144
  */
18127
18145
  type ConstructorOptions = {
@@ -18247,7 +18265,7 @@ const geometry = Cesium.WallGeometry.createGeometry(wall);
18247
18265
  wall at <code>positions</code>. If undefined, the height of each position in used.
18248
18266
  * @param [options.minimumHeights] - An array parallel to <code>positions</code> that give the minimum height of the
18249
18267
  wall at <code>positions</code>. If undefined, the height at each position is 0.0.
18250
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid for coordinate manipulation
18268
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
18251
18269
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
18252
18270
  */
18253
18271
  export class WallGeometry {
@@ -18302,7 +18320,7 @@ export class WallGeometry {
18302
18320
  wall at <code>positions</code>. If undefined, the height of each position in used.
18303
18321
  * @param [options.minimumHeight] - A constant that defines the minimum height of the
18304
18322
  wall at <code>positions</code>. If undefined, the height at each position is 0.0.
18305
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid for coordinate manipulation
18323
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
18306
18324
  * @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
18307
18325
  */
18308
18326
  static fromConstantHeights(options: {
@@ -18342,7 +18360,7 @@ const geometry = Cesium.WallOutlineGeometry.createGeometry(wall);
18342
18360
  wall at <code>positions</code>. If undefined, the height of each position in used.
18343
18361
  * @param [options.minimumHeights] - An array parallel to <code>positions</code> that give the minimum height of the
18344
18362
  wall at <code>positions</code>. If undefined, the height at each position is 0.0.
18345
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid for coordinate manipulation
18363
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
18346
18364
  */
18347
18365
  export class WallOutlineGeometry {
18348
18366
  constructor(options: {
@@ -18395,7 +18413,7 @@ export class WallOutlineGeometry {
18395
18413
  wall at <code>positions</code>. If undefined, the height of each position in used.
18396
18414
  * @param [options.minimumHeight] - A constant that defines the minimum height of the
18397
18415
  wall at <code>positions</code>. If undefined, the height at each position is 0.0.
18398
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid for coordinate manipulation
18416
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
18399
18417
  */
18400
18418
  static fromConstantHeights(options: {
18401
18419
  positions: Cartesian3[];
@@ -18476,8 +18494,8 @@ export class WebMercatorProjection {
18476
18494
  * A tiling scheme for geometry referenced to a {@link WebMercatorProjection}, EPSG:3857. This is
18477
18495
  the tiling scheme used by Google Maps, Microsoft Bing Maps, and most of ESRI ArcGIS Online.
18478
18496
  * @param [options] - Object with the following properties:
18479
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid whose surface is being tiled. Defaults to
18480
- the WGS84 ellipsoid.
18497
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid whose surface is being tiled. Defaults to
18498
+ the default ellipsoid.
18481
18499
  * @param [options.numberOfLevelZeroTilesX = 1] - The number of tiles in the X direction at level zero of
18482
18500
  the tile tree.
18483
18501
  * @param [options.numberOfLevelZeroTilesY = 1] - The number of tiles in the Y direction at level zero of
@@ -21210,7 +21228,7 @@ export namespace EntityCollection {
21210
21228
  * A utility object for tracking an entity with the camera.
21211
21229
  * @param entity - The entity to track with the camera.
21212
21230
  * @param scene - The scene to use.
21213
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to use for orienting the camera.
21231
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use for orienting the camera.
21214
21232
  */
21215
21233
  export class EntityView {
21216
21234
  constructor(entity: Entity, scene: Scene, ellipsoid?: Ellipsoid);
@@ -21286,7 +21304,7 @@ color is used. Canvas objects are exported as PNG images.
21286
21304
  });
21287
21305
  * @param options - An object with the following properties:
21288
21306
  * @param options.entities - The EntityCollection to export as KML.
21289
- * @param [options.ellipsoid = Ellipsoid.WGS84] - The ellipsoid for the output file.
21307
+ * @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for the output file.
21290
21308
  * @param [options.modelCallback] - A callback that will be called with a {@link ModelGraphics} instance and should return the URI to use in the KML. Required if a model exists in the entity collection.
21291
21309
  * @param [options.time = entities.computeAvailability().start] - The time value to use to get properties that are not time varying in KML.
21292
21310
  * @param [options.defaultAvailability = entities.computeAvailability()] - The interval that will be sampled if an entity doesn't have an availability.
@@ -21917,7 +21935,7 @@ export namespace KmlDataSource {
21917
21935
  * Initialization options for the `load` method.
21918
21936
  * @property [sourceUri] - Overrides the url to use for resolving relative links and other KML network features.
21919
21937
  * @property [clampToGround = false] - true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
21920
- * @property [ellipsoid = Ellipsoid.WGS84] - The global ellipsoid used for geographical calculations.
21938
+ * @property [ellipsoid = Ellipsoid.default] - The global ellipsoid used for geographical calculations.
21921
21939
  * @property [screenOverlayContainer] - A container for ScreenOverlay images.
21922
21940
  */
21923
21941
  type LoadOptions = {
@@ -21933,7 +21951,7 @@ export namespace KmlDataSource {
21933
21951
  * @property [credit] - A credit for the data source, which is displayed on the canvas.
21934
21952
  * @property [sourceUri] - Overrides the url to use for resolving relative links and other KML network features.
21935
21953
  * @property [clampToGround = false] - true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
21936
- * @property [ellipsoid = Ellipsoid.WGS84] - The global ellipsoid used for geographical calculations.
21954
+ * @property [ellipsoid = Ellipsoid.default] - The global ellipsoid used for geographical calculations.
21937
21955
  * @property [screenOverlayContainer] - A container for ScreenOverlay images.
21938
21956
  */
21939
21957
  type ConstructorOptions = {
@@ -25106,7 +25124,7 @@ const entity = viewer.entities.add({
25106
25124
  orientation : new Cesium.VelocityOrientationProperty(position)
25107
25125
  }));
25108
25126
  * @param [position] - The position property used to compute the orientation.
25109
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid used to determine which way is up.
25127
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine which way is up.
25110
25128
  */
25111
25129
  export class VelocityOrientationProperty {
25112
25130
  constructor(position?: PositionProperty, ellipsoid?: Ellipsoid);
@@ -25578,9 +25596,9 @@ export namespace ArcGisMapServerImageryProvider {
25578
25596
  a tiled layer.
25579
25597
  * @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme to use to divide the world into tiles.
25580
25598
  This parameter is ignored when accessing a tiled server.
25581
- * @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified and used,
25599
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified and used,
25582
25600
  this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
25583
- parameter is specified, the WGS84 ellipsoid is used.
25601
+ parameter is specified, the default ellipsoid is used.
25584
25602
  * @property [credit] - A credit for the data source, which is displayed on the canvas. This parameter is ignored when accessing a tiled server.
25585
25603
  * @property [tileWidth = 256] - The width of each tile in pixels. This parameter is ignored when accessing a tiled server.
25586
25604
  * @property [tileHeight = 256] - The height of each tile in pixels. This parameter is ignored when accessing a tiled server.
@@ -26498,7 +26516,7 @@ export namespace BingMapsImageryProvider {
26498
26516
  * @property [culture = ''] - The culture to use when requesting Bing Maps imagery. Not
26499
26517
  all cultures are supported. See {@link http://msdn.microsoft.com/en-us/library/hh441729.aspx}
26500
26518
  for information on the supported cultures.
26501
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
26519
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
26502
26520
  * @property [tileDiscardPolicy] - The policy that determines if a tile
26503
26521
  is invalid and should be discarded. By default, a {@link DiscardEmptyTileImagePolicy}
26504
26522
  will be used, with the expectation that the Bing Maps server will send a zero-length response for missing tiles.
@@ -27085,7 +27103,7 @@ export class Camera {
27085
27103
  }
27086
27104
  });
27087
27105
  * @param options - Object with the following properties:
27088
- * @param [options.destination] - The final position of the camera in WGS84 (world) coordinates or a rectangle that would be visible from a top-down view.
27106
+ * @param [options.destination] - The final position of the camera in world coordinates or a rectangle that would be visible from a top-down view.
27089
27107
  * @param [options.orientation] - An object that contains either direction and up properties or heading, pitch and roll properties. By default, the direction will point
27090
27108
  towards the center of the frame in 3D and in the negative z direction in Columbus view. The up direction will point towards local north in 3D and in the positive
27091
27109
  y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
@@ -27335,10 +27353,10 @@ export class Camera {
27335
27353
  * @example
27336
27354
  * const canvas = viewer.scene.canvas;
27337
27355
  const center = new Cesium.Cartesian2(canvas.clientWidth / 2.0, canvas.clientHeight / 2.0);
27338
- const ellipsoid = viewer.scene.globe.ellipsoid;
27356
+ const ellipsoid = viewer.scene.ellipsoid;
27339
27357
  const result = viewer.camera.pickEllipsoid(center, ellipsoid);
27340
27358
  * @param windowPosition - The x and y coordinates of a pixel.
27341
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to pick.
27359
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid to pick.
27342
27360
  * @param [result] - The object onto which to store the result.
27343
27361
  * @returns If the ellipsoid or map was picked,
27344
27362
  returns the point on the surface of the ellipsoid or map in world
@@ -27409,7 +27427,7 @@ export class Camera {
27409
27427
  }
27410
27428
  });
27411
27429
  * @param options - Object with the following properties:
27412
- * @param options.destination - The final position of the camera in WGS84 (world) coordinates or a rectangle that would be visible from a top-down view.
27430
+ * @param options.destination - The final position of the camera in world coordinates or a rectangle that would be visible from a top-down view.
27413
27431
  * @param [options.orientation] - An object that contains either direction and up properties or heading, pitch and roll properties. By default, the direction will point
27414
27432
  towards the center of the frame in 3D and in the negative z direction in Columbus view. The up direction will point towards local north in 3D and in the positive
27415
27433
  y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
@@ -27492,7 +27510,7 @@ export class Camera {
27492
27510
  }): void;
27493
27511
  /**
27494
27512
  * Computes the approximate visible rectangle on the ellipsoid.
27495
- * @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid that you want to know the visible region.
27513
+ * @param [ellipsoid = Ellipsoid.default] - The ellipsoid that you want to know the visible region.
27496
27514
  * @param [result] - The rectangle in which to store the result
27497
27515
  * @returns The visible rectangle or undefined if the ellipsoid isn't visible at all.
27498
27516
  */
@@ -31044,7 +31062,7 @@ viewer.creditDisplay.addStaticCredit(credit);
31044
31062
  const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank">Cesium</a>');
31045
31063
  viewer.creditDisplay.addStaticCredit(credit);
31046
31064
  * @param container - The HTML element where credits will be displayed
31047
- * @param [delimiter = ' '] - The string to separate text credits
31065
+ * @param [delimiter = '•'] - The string to separate text credits
31048
31066
  * @param [viewport = document.body] - The HTML element that will contain the credits popup
31049
31067
  */
31050
31068
  export class CreditDisplay {
@@ -31974,7 +31992,7 @@ export class GetFeatureInfoFormat {
31974
31992
  /**
31975
31993
  * The globe rendered in the scene, including its terrain ({@link Globe#terrainProvider})
31976
31994
  and imagery layers ({@link Globe#imageryLayers}). Access the globe using {@link Scene#globe}.
31977
- * @param [ellipsoid = Ellipsoid.WGS84] - Determines the size and shape of the
31995
+ * @param [ellipsoid = Ellipsoid.default] - Determines the size and shape of the
31978
31996
  globe.
31979
31997
  */
31980
31998
  export class Globe {
@@ -32372,7 +32390,7 @@ export function removeExtension(gltf: any, extension: string): any;
32372
32390
  export namespace GoogleEarthEnterpriseImageryProvider {
32373
32391
  /**
32374
32392
  * Initialization options for the GoogleEarthEnterpriseImageryProvider constructor
32375
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
32393
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
32376
32394
  * @property [tileDiscardPolicy] - The policy that determines if a tile
32377
32395
  is invalid and should be discarded. If this value is not specified, a default
32378
32396
  is to discard tiles that fail to download.
@@ -32525,7 +32543,7 @@ export namespace GoogleEarthEnterpriseMapsProvider {
32525
32543
  * @property [tileDiscardPolicy] - The policy that determines if a tile
32526
32544
  is invalid and should be discarded. To ensure that no tiles are discarded, construct and pass
32527
32545
  a {@link NeverTileDiscardPolicy} for this parameter.
32528
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
32546
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
32529
32547
  */
32530
32548
  type ConstructorOptions = {
32531
32549
  channel: number;
@@ -32681,9 +32699,9 @@ export namespace GridImageryProvider {
32681
32699
  /**
32682
32700
  * Initialization options for the GridImageryProvider constructor
32683
32701
  * @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme for which to draw tiles.
32684
- * @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified,
32702
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
32685
32703
  this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
32686
- parameter is specified, the WGS84 ellipsoid is used.
32704
+ parameter is specified, the default ellipsoid is used.
32687
32705
  * @property [cells = 8] - The number of grids cells.
32688
32706
  * @property [color = Color(1.0, 1.0, 1.0, 0.4)] - The color to draw grid lines.
32689
32707
  * @property [glowColor = Color(0.0, 1.0, 0.0, 0.05)] - The color to draw glow for grid lines.
@@ -35212,7 +35230,7 @@ export namespace MapboxImageryProvider {
35212
35230
  * @property mapId - The Mapbox Map ID.
35213
35231
  * @property accessToken - The public access token for the imagery.
35214
35232
  * @property [format = 'png'] - The format of the image request.
35215
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
35233
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
35216
35234
  * @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
35217
35235
  this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
35218
35236
  to result in rendering problems.
@@ -35349,7 +35367,7 @@ export namespace MapboxStyleImageryProvider {
35349
35367
  * @property accessToken - The public access token for the imagery.
35350
35368
  * @property [tilesize = 512] - The size of the image tiles.
35351
35369
  * @property [scaleFactor] - Determines if tiles are rendered at a @2x scale factor.
35352
- * @property [ellipsoid] - The ellipsoid. If not specified, the WGS84 ellipsoid is used.
35370
+ * @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
35353
35371
  * @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
35354
35372
  this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
35355
35373
  to result in rendering problems.
@@ -40218,7 +40236,8 @@ const scene = new Cesium.Scene({
40218
40236
  * @param [options.contextOptions] - Context and WebGL creation properties.
40219
40237
  * @param [options.creditContainer] - The HTML element in which the credits will be displayed.
40220
40238
  * @param [options.creditViewport] - The HTML element in which to display the credit popup. If not specified, the viewport will be a added as a sibling of the canvas.
40221
- * @param [options.mapProjection = new GeographicProjection()] - The map projection to use in 2D and Columbus View modes.
40239
+ * @param [options.ellipsoid = Ellipsoid.default] - The default ellipsoid. If not specified, the default ellipsoid is used.
40240
+ * @param [options.mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
40222
40241
  * @param [options.orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
40223
40242
  * @param [options.scene3DOnly = false] - If true, optimizes memory use and performance for 3D mode but disables the ability to use 2D or Columbus View.
40224
40243
  * @param [options.shadows = false] - Determines if shadows are cast by light sources.
@@ -40234,6 +40253,7 @@ export class Scene {
40234
40253
  contextOptions?: ContextOptions;
40235
40254
  creditContainer?: Element;
40236
40255
  creditViewport?: Element;
40256
+ ellipsoid?: Ellipsoid;
40237
40257
  mapProjection?: MapProjection;
40238
40258
  orderIndependentTranslucency?: boolean;
40239
40259
  scene3DOnly?: boolean;
@@ -40423,6 +40443,8 @@ export class Scene {
40423
40443
  /**
40424
40444
  * Blends the atmosphere to geometry far from the camera for horizon views. Allows for additional
40425
40445
  performance improvements by rendering less geometry and dispatching less terrain requests.
40446
+
40447
+ Disbaled by default if an ellipsoid other than WGS84 is used.
40426
40448
  */
40427
40449
  fog: Fog;
40428
40450
  /**
@@ -40525,6 +40547,10 @@ export class Scene {
40525
40547
  * Returns <code>true</code> if specular environment maps are supported.
40526
40548
  */
40527
40549
  readonly specularEnvironmentMapsSupported: boolean;
40550
+ /**
40551
+ * The ellipsoid. If not specified, the default ellipsoid is used.
40552
+ */
40553
+ readonly ellipsoid: Ellipsoid;
40528
40554
  /**
40529
40555
  * Gets or sets the depth-test ellipsoid.
40530
40556
  */
@@ -40845,7 +40871,6 @@ export class Scene {
40845
40871
  * @example
40846
40872
  * // Output the canvas position of longitude/latitude (0, 0) every time the mouse moves.
40847
40873
  const scene = widget.scene;
40848
- const ellipsoid = scene.globe.ellipsoid;
40849
40874
  const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
40850
40875
  const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
40851
40876
  handler.setInputAction(function(movement) {
@@ -40940,13 +40965,29 @@ export enum SceneMode {
40940
40965
  * Functions that do scene-dependent transforms between rendering-related coordinate systems.
40941
40966
  */
40942
40967
  export namespace SceneTransforms {
40968
+ /**
40969
+ * Transforms a position in world (WGS84 or alternative ellipsoid) coordinates to window coordinates. This is commonly used to place an
40970
+ HTML element at the same screen position as an object in the scene.
40971
+ * @example
40972
+ * // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
40973
+ const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
40974
+ const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
40975
+ handler.setInputAction(function(movement) {
40976
+ console.log(Cesium.SceneTransforms.worldToWindowCoordinates(scene, position));
40977
+ }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
40978
+ * @param scene - The scene.
40979
+ * @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
40980
+ * @param [result] - An optional object to return the input position transformed to window coordinates.
40981
+ * @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
40982
+ */
40983
+ function worldToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
40943
40984
  /**
40944
40985
  * Transforms a position in WGS84 coordinates to window coordinates. This is commonly used to place an
40945
40986
  HTML element at the same screen position as an object in the scene.
40946
40987
  * @example
40947
40988
  * // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
40948
40989
  const scene = widget.scene;
40949
- const ellipsoid = scene.globe.ellipsoid;
40990
+ const ellipsoid = scene.ellipsoid;
40950
40991
  const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
40951
40992
  const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
40952
40993
  handler.setInputAction(function(movement) {
@@ -40957,25 +40998,39 @@ export namespace SceneTransforms {
40957
40998
  * @param [result] - An optional object to return the input position transformed to window coordinates.
40958
40999
  * @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
40959
41000
  */
40960
- function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2;
41001
+ function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
41002
+ /**
41003
+ * Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
41004
+ results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
41005
+ * @example
41006
+ * // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
41007
+ const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
41008
+ const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
41009
+ handler.setInputAction(function(movement) {
41010
+ console.log(Cesium.SceneTransforms.worldToDrawingBufferCoordinates(scene, position));
41011
+ }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
41012
+ * @param scene - The scene.
41013
+ * @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
41014
+ * @param [result] - An optional object to return the input position transformed to window coordinates.
41015
+ * @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
41016
+ */
41017
+ function worldToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
40961
41018
  /**
40962
- * Transforms a position in WGS84 coordinates to drawing buffer coordinates. This may produce different
41019
+ * Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
40963
41020
  results from SceneTransforms.wgs84ToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
40964
41021
  * @example
40965
41022
  * // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
40966
- const scene = widget.scene;
40967
- const ellipsoid = scene.globe.ellipsoid;
40968
41023
  const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
40969
41024
  const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
40970
41025
  handler.setInputAction(function(movement) {
40971
41026
  console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
40972
41027
  }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
40973
41028
  * @param scene - The scene.
40974
- * @param position - The position in WGS84 (world) coordinates.
41029
+ * @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
40975
41030
  * @param [result] - An optional object to return the input position transformed to window coordinates.
40976
41031
  * @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
40977
41032
  */
40978
- function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2;
41033
+ function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
40979
41034
  }
40980
41035
 
40981
41036
  /**
@@ -41101,20 +41156,20 @@ export class ScreenSpaceCameraController {
41101
41156
  */
41102
41157
  lookEventTypes: CameraEventType | any[] | undefined;
41103
41158
  /**
41104
- * The minimum height the camera must be before picking the terrain or scene content instead of the ellipsoid.
41159
+ * The minimum height the camera must be before picking the terrain or scene content instead of the ellipsoid. Defaults to scene.ellipsoid.minimumRadius * 0.025 when another ellipsoid than WGS84 is used.
41105
41160
  */
41106
41161
  minimumPickingTerrainHeight: number;
41107
41162
  /**
41108
- * The minimum distance the camera must be before testing for collision with terrain when zoom with inertia.
41163
+ * The minimum distance the camera must be before testing for collision with terrain when zoom with inertia. Default to scene.ellipsoid.minimumRadius * 0.00063 when another ellipsoid than WGS84 is used.
41109
41164
  */
41110
41165
  minimumPickingTerrainDistanceWithInertia: number;
41111
41166
  /**
41112
- * The minimum height the camera must be before testing for collision with terrain.
41167
+ * The minimum height the camera must be before testing for collision with terrain. Default to scene.ellipsoid.minimumRadius * 0.0025 when another ellipsoid than WGS84 is used.
41113
41168
  */
41114
41169
  minimumCollisionTerrainHeight: number;
41115
41170
  /**
41116
41171
  * The minimum height the camera must be before switching from rotating a track ball to
41117
- free look when clicks originate on the sky or in space.
41172
+ free look when clicks originate on the sky or in space. Defaults to ellipsoid.minimumRadius * 1.175 when another ellipsoid than WGS84 is used.
41118
41173
  */
41119
41174
  minimumTrackBallHeight: number;
41120
41175
  /**
@@ -41512,6 +41567,13 @@ export class SkyBox {
41512
41567
  * skyBox = skyBox && skyBox.destroy();
41513
41568
  */
41514
41569
  destroy(): void;
41570
+ /**
41571
+ * Creates a skybox instance with the default starmap for the Earth.
41572
+ * @example
41573
+ * viewer.scene.skyBox = Cesium.SkyBox.createEarthSkyBox();
41574
+ * @returns The default skybox for the Earth
41575
+ */
41576
+ static createEarthSkyBox(): SkyBox;
41515
41577
  }
41516
41578
 
41517
41579
  /**
@@ -43448,16 +43510,17 @@ const widget2 = new Cesium.CesiumWidget("cesiumContainer", {
43448
43510
  * @param container - The DOM element or ID that will contain the widget.
43449
43511
  * @param [options] - Object with the following properties:
43450
43512
  * @param [options.clock = new Clock()] - The clock to use to control current time.
43513
+ * @param [options.ellipsoid = Ellipsoid.default] - The default ellipsoid.
43451
43514
  * @param [options.baseLayer = ImageryLayer.fromWorldImagery()] - The bottommost imagery layer applied to the globe. If set to <code>false</code>, no imagery provider will be added.
43452
- * @param [options.terrainProvider = new EllipsoidTerrainProvider] - The terrain provider.
43515
+ * @param [options.terrainProvider = new EllipsoidTerrainProvider(options.ellipsoid)] - The terrain provider.
43453
43516
  * @param [options.terrain] - A terrain object which handles asynchronous terrain provider. Can only specify if options.terrainProvider is undefined.
43454
- * @param [options.skyBox] - The skybox used to render the stars. When <code>undefined</code>, the default stars are used. If set to <code>false</code>, no skyBox, Sun, or Moon will be added.
43455
- * @param [options.skyAtmosphere] - Blue sky, and the glow around the Earth's limb. Set to <code>false</code> to turn it off.
43517
+ * @param [options.skyBox] - The skybox used to render the stars. When <code>undefined</code> and the WGS84 ellipsoid used, the default stars are used. If set to <code>false</code>, no skyBox, Sun, or Moon will be added.
43518
+ * @param [options.skyAtmosphere] - Blue sky, and the glow around the Earth's limb. Enabled when the default ellipsoid used. Set to <code>false</code> to turn it off.
43456
43519
  * @param [options.sceneMode = SceneMode.SCENE3D] - The initial scene mode.
43457
43520
  * @param [options.scene3DOnly = false] - When <code>true</code>, each geometry instance will only be rendered in 3D to save GPU memory.
43458
43521
  * @param [options.orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
43459
- * @param [options.mapProjection = new GeographicProjection()] - The map projection to use in 2D and Columbus View modes.
43460
- * @param [options.globe = new Globe(mapProjection.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added and the sky atmosphere will be hidden by default.
43522
+ * @param [options.mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
43523
+ * @param [options.globe = new Globe(options.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added and the sky atmosphere will be hidden by default.
43461
43524
  * @param [options.useDefaultRenderLoop = true] - True if this widget should control the render loop, false otherwise.
43462
43525
  * @param [options.useBrowserRecommendedResolution = true] - If true, render at the browser's recommended resolution and ignore <code>window.devicePixelRatio</code>.
43463
43526
  * @param [options.targetFrameRate] - The target frame rate when using the default render loop.
@@ -43477,6 +43540,7 @@ const widget2 = new Cesium.CesiumWidget("cesiumContainer", {
43477
43540
  export class CesiumWidget {
43478
43541
  constructor(container: Element | string, options?: {
43479
43542
  clock?: Clock;
43543
+ ellipsoid?: Ellipsoid;
43480
43544
  baseLayer?: ImageryLayer | false;
43481
43545
  terrainProvider?: TerrainProvider;
43482
43546
  terrain?: Terrain;
@@ -43538,6 +43602,10 @@ export class CesiumWidget {
43538
43602
  * Gets the camera.
43539
43603
  */
43540
43604
  readonly camera: Camera;
43605
+ /**
43606
+ * Gets the default ellipsoid for the scene.
43607
+ */
43608
+ readonly ellipsoid: Ellipsoid;
43541
43609
  /**
43542
43610
  * Gets the clock.
43543
43611
  */
@@ -45415,7 +45483,7 @@ export class SelectionIndicatorViewModel {
45415
45483
  * Gets or sets the function for converting the world position of the object to the screen space position.
45416
45484
  * @example
45417
45485
  * selectionIndicatorViewModel.computeScreenSpacePosition = function(position, result) {
45418
- return Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position, result);
45486
+ return Cesium.SceneTransforms.worldToWindowCoordinates(scene, position, result);
45419
45487
  };
45420
45488
  */
45421
45489
  computeScreenSpacePosition: SelectionIndicatorViewModel.ComputeScreenSpacePosition;
@@ -45564,10 +45632,11 @@ export namespace Viewer {
45564
45632
  * @property [selectedTerrainProviderViewModel] - The view model for the current base terrain layer, if not supplied the first available base layer is used. This value is only valid if `baseLayerPicker` is set to true.
45565
45633
  * @property [terrainProviderViewModels = createDefaultTerrainProviderViewModels()] - The array of ProviderViewModels to be selectable from the BaseLayerPicker. This value is only valid if `baseLayerPicker` is set to true.
45566
45634
  * @property [baseLayer = ImageryLayer.fromWorldImagery()] - The bottommost imagery layer applied to the globe. If set to <code>false</code>, no imagery provider will be added. This value is only valid if `baseLayerPicker` is set to false.
45635
+ * @property [ellipsoid = Ellipsoid.default] - The default ellipsoid.
45567
45636
  * @property [terrainProvider = new EllipsoidTerrainProvider()] - The terrain provider to use
45568
45637
  * @property [terrain] - A terrain object which handles asynchronous terrain provider. Can only specify if options.terrainProvider is undefined.
45569
- * @property [skyBox] - The skybox used to render the stars. When <code>undefined</code>, the default stars are used. If set to <code>false</code>, no skyBox, Sun, or Moon will be added.
45570
- * @property [skyAtmosphere] - Blue sky, and the glow around the Earth's limb. Set to <code>false</code> to turn it off.
45638
+ * @property [skyBox] - The skybox used to render the stars. When <code>undefined</code> and the WGS84 ellipsoid used, the default stars are used. If set to <code>false</code>, no skyBox, Sun, or Moon will be added.
45639
+ * @property [skyAtmosphere] - Blue sky, and the glow around the Earth's limb. Enabled when the WGS84 ellipsoid used. Set to <code>false</code> to turn it off.
45571
45640
  * @property [fullscreenElement = document.body] - The element or id to be placed into fullscreen mode when the full screen button is pressed.
45572
45641
  * @property [useDefaultRenderLoop = true] - True if this widget should control the render loop, false otherwise.
45573
45642
  * @property [targetFrameRate] - The target frame rate when using the default render loop.
@@ -45576,8 +45645,8 @@ export namespace Viewer {
45576
45645
  * @property [automaticallyTrackDataSourceClocks = true] - If true, this widget will automatically track the clock settings of newly added DataSources, updating if the DataSource's clock changes. Set this to false if you want to configure the clock independently.
45577
45646
  * @property [contextOptions] - Context and WebGL creation properties passed to {@link Scene}.
45578
45647
  * @property [sceneMode = SceneMode.SCENE3D] - The initial scene mode.
45579
- * @property [mapProjection = new GeographicProjection()] - The map projection to use in 2D and Columbus View modes.
45580
- * @property [globe = new Globe(mapProjection.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added and the sky atmosphere will be hidden by default.
45648
+ * @property [mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
45649
+ * @property [globe = new Globe(options.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added and the sky atmosphere will be hidden by default.
45581
45650
  * @property [orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
45582
45651
  * @property [creditContainer] - The DOM element or ID that will contain the {@link CreditDisplay}. If not specified, the credits are added to the bottom of the widget itself.
45583
45652
  * @property [creditViewport] - The DOM element or ID that will contain the credit pop up created by the {@link CreditDisplay}. If not specified, it will appear over the widget itself.
@@ -45614,6 +45683,7 @@ export namespace Viewer {
45614
45683
  selectedTerrainProviderViewModel?: ProviderViewModel;
45615
45684
  terrainProviderViewModels?: ProviderViewModel[];
45616
45685
  baseLayer?: ImageryLayer | false;
45686
+ ellipsoid?: Ellipsoid;
45617
45687
  terrainProvider?: TerrainProvider;
45618
45688
  terrain?: Terrain;
45619
45689
  skyBox?: SkyBox | false;
@@ -45807,6 +45877,10 @@ export class Viewer {
45807
45877
  * Gets the camera.
45808
45878
  */
45809
45879
  readonly camera: Camera;
45880
+ /**
45881
+ * Gets the default ellipsoid for the scene.
45882
+ */
45883
+ readonly ellipsoid: Ellipsoid;
45810
45884
  /**
45811
45885
  * Gets the post-process stages.
45812
45886
  */