@cesium/engine 2.3.0 → 2.4.1

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 (134) hide show
  1. package/Build/Workers/{AxisAlignedBoundingBox-31fadcf0.js → AxisAlignedBoundingBox-4bfd84f3.js} +1 -1
  2. package/Build/Workers/{BoundingRectangle-995f0079.js → BoundingRectangle-5fd6403a.js} +1 -1
  3. package/Build/Workers/{BoxGeometry-7eb1af60.js → BoxGeometry-af7d05ef.js} +1 -1
  4. package/Build/Workers/{Color-2dc49658.js → Color-8e135f71.js} +5 -5
  5. package/Build/Workers/{CoplanarPolygonGeometryLibrary-d7d972d6.js → CoplanarPolygonGeometryLibrary-59c69b0a.js} +1 -1
  6. package/Build/Workers/{CorridorGeometryLibrary-1f5ef7b3.js → CorridorGeometryLibrary-63907365.js} +1 -1
  7. package/Build/Workers/{CylinderGeometry-23c67a6c.js → CylinderGeometry-dbaa1678.js} +1 -1
  8. package/Build/Workers/{EllipseGeometry-37014da4.js → EllipseGeometry-6508b78b.js} +1 -1
  9. package/Build/Workers/{EllipseGeometryLibrary-92ab6b1e.js → EllipseGeometryLibrary-21262a28.js} +1 -1
  10. package/Build/Workers/{EllipseOutlineGeometry-12b6fef5.js → EllipseOutlineGeometry-2a2510bb.js} +1 -1
  11. package/Build/Workers/{EllipsoidGeometry-508da15c.js → EllipsoidGeometry-8155e3a2.js} +1 -1
  12. package/Build/Workers/{EllipsoidOutlineGeometry-40d97455.js → EllipsoidOutlineGeometry-c045678d.js} +1 -1
  13. package/Build/Workers/{EllipsoidTangentPlane-46d4d9c2.js → EllipsoidTangentPlane-546c0d5e.js} +1 -1
  14. package/Build/Workers/{FrustumGeometry-38605e69.js → FrustumGeometry-d3ff16d0.js} +1 -1
  15. package/Build/Workers/{GeometryAttribute-a466e9c7.js → GeometryAttribute-13da9466.js} +1 -1
  16. package/Build/Workers/{GeometryPipeline-dcf79306.js → GeometryPipeline-03bc5709.js} +1 -1
  17. package/Build/Workers/{IntersectionTests-88c49b2e.js → IntersectionTests-85350792.js} +1 -1
  18. package/Build/Workers/{OrientedBoundingBox-2dd47921.js → OrientedBoundingBox-29fb0fcd.js} +1 -1
  19. package/Build/Workers/{PolygonGeometryLibrary-59126025.js → PolygonGeometryLibrary-d447448d.js} +1 -1
  20. package/Build/Workers/{PolygonPipeline-1fe328c0.js → PolygonPipeline-460cce4e.js} +1 -1
  21. package/Build/Workers/{PolylinePipeline-896735cc.js → PolylinePipeline-7119eb3f.js} +1 -1
  22. package/Build/Workers/{PolylineVolumeGeometryLibrary-9c0639f7.js → PolylineVolumeGeometryLibrary-d25f0050.js} +1 -1
  23. package/Build/Workers/{PrimitivePipeline-fc1a47ff.js → PrimitivePipeline-e648752b.js} +1 -1
  24. package/Build/Workers/{RectangleGeometryLibrary-a23c9ebe.js → RectangleGeometryLibrary-bb378fb6.js} +1 -1
  25. package/Build/Workers/{TerrainEncoding-51b8b33b.js → TerrainEncoding-c8e029a2.js} +1 -1
  26. package/Build/Workers/{Transforms-bc45e707.js → Transforms-e2d4a55a.js} +14 -0
  27. package/Build/Workers/{WallGeometryLibrary-007e9883.js → WallGeometryLibrary-3e0819ec.js} +1 -1
  28. package/Build/Workers/cesiumWorkerBootstrapper.js +1 -1
  29. package/Build/Workers/combineGeometry.js +1 -1
  30. package/Build/Workers/createBoxGeometry.js +1 -1
  31. package/Build/Workers/createBoxOutlineGeometry.js +1 -1
  32. package/Build/Workers/createCircleGeometry.js +1 -1
  33. package/Build/Workers/createCircleOutlineGeometry.js +1 -1
  34. package/Build/Workers/createCoplanarPolygonGeometry.js +1 -1
  35. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
  36. package/Build/Workers/createCorridorGeometry.js +1 -1
  37. package/Build/Workers/createCorridorOutlineGeometry.js +1 -1
  38. package/Build/Workers/createCylinderGeometry.js +1 -1
  39. package/Build/Workers/createCylinderOutlineGeometry.js +1 -1
  40. package/Build/Workers/createEllipseGeometry.js +1 -1
  41. package/Build/Workers/createEllipseOutlineGeometry.js +1 -1
  42. package/Build/Workers/createEllipsoidGeometry.js +1 -1
  43. package/Build/Workers/createEllipsoidOutlineGeometry.js +1 -1
  44. package/Build/Workers/createFrustumGeometry.js +1 -1
  45. package/Build/Workers/createFrustumOutlineGeometry.js +1 -1
  46. package/Build/Workers/createGeometry.js +1 -1
  47. package/Build/Workers/createGroundPolylineGeometry.js +1 -1
  48. package/Build/Workers/createPlaneGeometry.js +1 -1
  49. package/Build/Workers/createPlaneOutlineGeometry.js +1 -1
  50. package/Build/Workers/createPolygonGeometry.js +1 -1
  51. package/Build/Workers/createPolygonOutlineGeometry.js +1 -1
  52. package/Build/Workers/createPolylineGeometry.js +1 -1
  53. package/Build/Workers/createPolylineVolumeGeometry.js +1 -1
  54. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
  55. package/Build/Workers/createRectangleGeometry.js +1 -1
  56. package/Build/Workers/createRectangleOutlineGeometry.js +1 -1
  57. package/Build/Workers/createSimplePolylineGeometry.js +1 -1
  58. package/Build/Workers/createSphereGeometry.js +1 -1
  59. package/Build/Workers/createSphereOutlineGeometry.js +1 -1
  60. package/Build/Workers/createVectorTileGeometries.js +1 -1
  61. package/Build/Workers/createVectorTilePolygons.js +1 -1
  62. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
  63. package/Build/Workers/createVerticesFromHeightmap.js +1 -1
  64. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
  65. package/Build/Workers/createWallGeometry.js +1 -1
  66. package/Build/Workers/createWallOutlineGeometry.js +1 -1
  67. package/Build/Workers/package.js +1 -1
  68. package/Build/Workers/transferTypedArrayTest.js +1 -1
  69. package/Build/Workers/upsampleQuantizedTerrainMesh.js +1 -1
  70. package/Source/Core/ArcGISTiledElevationTerrainProvider.js +3 -3
  71. package/Source/Core/CesiumTerrainProvider.js +28 -3
  72. package/Source/Core/Color.js +4 -4
  73. package/Source/Core/CustomHeightmapTerrainProvider.js +2 -2
  74. package/Source/Core/EllipsoidTerrainProvider.js +2 -2
  75. package/Source/Core/GoogleEarthEnterpriseMetadata.js +2 -2
  76. package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +4 -4
  77. package/Source/Core/GoogleMaps.js +56 -0
  78. package/Source/Core/Ion.js +3 -1
  79. package/Source/Core/RequestScheduler.js +1 -0
  80. package/Source/Core/Resource.js +13 -0
  81. package/Source/Core/VRTheWorldTerrainProvider.js +3 -3
  82. package/Source/Core/createWorldTerrain.js +2 -1
  83. package/Source/Core/sampleTerrain.js +5 -1
  84. package/Source/Core/sampleTerrainMostDetailed.js +5 -1
  85. package/Source/DataSources/DataSourceDisplay.js +3 -2
  86. package/Source/DataSources/Entity.js +2 -3
  87. package/Source/DataSources/ModelVisualizer.js +6 -1
  88. package/Source/Renderer/demodernizeShader.js +3 -0
  89. package/Source/Scene/ArcGisMapServerImageryProvider.js +23 -23
  90. package/Source/Scene/ArcGisMapService.js +2 -1
  91. package/Source/Scene/Billboard.js +0 -7
  92. package/Source/Scene/BingMapsImageryProvider.js +23 -23
  93. package/Source/Scene/Cesium3DTileBatchTable.js +0 -3
  94. package/Source/Scene/Cesium3DTileset.js +2 -1
  95. package/Source/Scene/Globe.js +7 -3
  96. package/Source/Scene/GlobeSurfaceTile.js +7 -1
  97. package/Source/Scene/GlobeSurfaceTileProvider.js +46 -21
  98. package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +24 -24
  99. package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +22 -22
  100. package/Source/Scene/GridImageryProvider.js +22 -22
  101. package/Source/Scene/Imagery.js +5 -2
  102. package/Source/Scene/ImageryLayer.js +13 -3
  103. package/Source/Scene/IonImageryProvider.js +23 -23
  104. package/Source/Scene/MapboxImageryProvider.js +22 -22
  105. package/Source/Scene/MapboxStyleImageryProvider.js +22 -22
  106. package/Source/Scene/Model/CustomShader.js +1 -1
  107. package/Source/Scene/Model/Model.js +5 -3
  108. package/Source/Scene/ScreenSpaceCameraController.js +140 -31
  109. package/Source/Scene/SingleTileImageryProvider.js +22 -22
  110. package/Source/Scene/TileCoordinatesImageryProvider.js +22 -22
  111. package/Source/Scene/TileMapServiceImageryProvider.js +1 -1
  112. package/Source/Scene/UrlTemplateImageryProvider.js +23 -23
  113. package/Source/Scene/WebMapServiceImageryProvider.js +22 -22
  114. package/Source/Scene/WebMapTileServiceImageryProvider.js +22 -22
  115. package/Source/Scene/computeFlyToLocationForRectangle.js +5 -1
  116. package/Source/Scene/createGooglePhotorealistic3DTileset.js +53 -0
  117. package/Source/Scene/createOsmBuildings.js +2 -1
  118. package/Source/Scene/createWorldImagery.js +1 -1
  119. package/Source/Shaders/BillboardCollectionFS.glsl +0 -4
  120. package/Source/Shaders/BillboardCollectionFS.js +1 -5
  121. package/Source/Shaders/Builtin/Functions/writeLogDepth.glsl +0 -3
  122. package/Source/Shaders/Builtin/Functions/writeLogDepth.js +0 -3
  123. package/Source/Shaders/Materials/ElevationContourMaterial.glsl +0 -4
  124. package/Source/Shaders/Materials/ElevationContourMaterial.js +1 -5
  125. package/Source/Shaders/Materials/GridMaterial.glsl +0 -4
  126. package/Source/Shaders/Materials/GridMaterial.js +1 -5
  127. package/Source/Shaders/Materials/PolylineArrowMaterial.glsl +0 -4
  128. package/Source/Shaders/Materials/PolylineArrowMaterial.js +1 -5
  129. package/Source/Shaders/Model/ModelFS.glsl +0 -6
  130. package/Source/Shaders/Model/ModelFS.js +1 -7
  131. package/Source/Widget/CesiumWidget.js +1 -1
  132. package/index.d.ts +44 -8
  133. package/index.js +389 -387
  134. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './ArcType-2d9abbbc', './arrayRemoveDuplicates-d2061e85', './Transforms-bc45e707', './Color-2dc49658', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolylinePipeline-896735cc', './VertexFormat-030f11ff', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (defaultValue, Matrix3, ArcType, arrayRemoveDuplicates, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math$1, PolylinePipeline, VertexFormat, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './ArcType-2d9abbbc', './arrayRemoveDuplicates-d2061e85', './Transforms-e2d4a55a', './Color-8e135f71', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolylinePipeline-7119eb3f', './VertexFormat-030f11ff', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (defaultValue, Matrix3, ArcType, arrayRemoveDuplicates, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math$1, PolylinePipeline, VertexFormat, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  const scratchInterpolateColorsArray = [];
4
4
 
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './arrayRemoveDuplicates-d2061e85', './BoundingRectangle-995f0079', './Transforms-bc45e707', './Matrix2-e1298525', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-9c0639f7', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './GeometryPipeline-dcf79306', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-1fe328c0', './VertexFormat-030f11ff', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-46d4d9c2', './AxisAlignedBoundingBox-31fadcf0', './IntersectionTests-88c49b2e', './Plane-4c3d403b', './PolylinePipeline-896735cc', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './AttributeCompression-f9f6c717', './EncodedCartesian3-57415c8a'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, GeometryPipeline, IndexDatatype, Math, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, AttributeCompression, EncodedCartesian3) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './arrayRemoveDuplicates-d2061e85', './BoundingRectangle-5fd6403a', './Transforms-e2d4a55a', './Matrix2-e1298525', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-d25f0050', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './GeometryPipeline-03bc5709', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-460cce4e', './VertexFormat-030f11ff', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-546c0d5e', './AxisAlignedBoundingBox-4bfd84f3', './IntersectionTests-85350792', './Plane-4c3d403b', './PolylinePipeline-7119eb3f', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './AttributeCompression-f9f6c717', './EncodedCartesian3-57415c8a'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, GeometryPipeline, IndexDatatype, Math, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, AttributeCompression, EncodedCartesian3) { 'use strict';
2
2
 
3
3
  function computeAttributes(
4
4
  combinedPositions,
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './arrayRemoveDuplicates-d2061e85', './BoundingRectangle-995f0079', './Transforms-bc45e707', './Matrix2-e1298525', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-9c0639f7', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-1fe328c0', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-46d4d9c2', './AxisAlignedBoundingBox-31fadcf0', './IntersectionTests-88c49b2e', './Plane-4c3d403b', './PolylinePipeline-896735cc', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolygonPipeline, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './arrayRemoveDuplicates-d2061e85', './BoundingRectangle-5fd6403a', './Transforms-e2d4a55a', './Matrix2-e1298525', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-d25f0050', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-460cce4e', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-546c0d5e', './AxisAlignedBoundingBox-4bfd84f3', './IntersectionTests-85350792', './Plane-4c3d403b', './PolylinePipeline-7119eb3f', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolygonPipeline, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine) { 'use strict';
2
2
 
3
3
  function computeAttributes(positions, shape) {
4
4
  const attributes = new GeometryAttributes.GeometryAttributes();
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', './Transforms-bc45e707', './Check-6ede7e26', './ComponentDatatype-cf1fa08e', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './GeometryInstance-34d9e21e', './GeometryOffsetAttribute-9ad0019c', './GeometryPipeline-dcf79306', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-1fe328c0', './RectangleGeometryLibrary-a23c9ebe', './VertexFormat-030f11ff', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './AttributeCompression-f9f6c717', './EncodedCartesian3-57415c8a', './IntersectionTests-88c49b2e', './Plane-4c3d403b', './EllipsoidRhumbLine-ef872433'], (function (defaultValue, Matrix3, Matrix2, Transforms, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, VertexFormat, RuntimeError, combine, WebGLConstants, AttributeCompression, EncodedCartesian3, IntersectionTests, Plane, EllipsoidRhumbLine) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', './Transforms-e2d4a55a', './Check-6ede7e26', './ComponentDatatype-cf1fa08e', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './GeometryInstance-34d9e21e', './GeometryOffsetAttribute-9ad0019c', './GeometryPipeline-03bc5709', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-460cce4e', './RectangleGeometryLibrary-bb378fb6', './VertexFormat-030f11ff', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './AttributeCompression-f9f6c717', './EncodedCartesian3-57415c8a', './IntersectionTests-85350792', './Plane-4c3d403b', './EllipsoidRhumbLine-ef872433'], (function (defaultValue, Matrix3, Matrix2, Transforms, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, VertexFormat, RuntimeError, combine, WebGLConstants, AttributeCompression, EncodedCartesian3, IntersectionTests, Plane, EllipsoidRhumbLine) { 'use strict';
2
2
 
3
3
  const positionScratch = new Matrix3.Cartesian3();
4
4
  const normalScratch = new Matrix3.Cartesian3();
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', './Transforms-bc45e707', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-1fe328c0', './RectangleGeometryLibrary-a23c9ebe', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidRhumbLine-ef872433'], (function (defaultValue, Matrix3, Matrix2, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, RuntimeError, combine, WebGLConstants, EllipsoidRhumbLine) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', './Transforms-e2d4a55a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-460cce4e', './RectangleGeometryLibrary-bb378fb6', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidRhumbLine-ef872433'], (function (defaultValue, Matrix3, Matrix2, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, RuntimeError, combine, WebGLConstants, EllipsoidRhumbLine) { 'use strict';
2
2
 
3
3
  const bottomBoundingSphere = new Transforms.BoundingSphere();
4
4
  const topBoundingSphere = new Transforms.BoundingSphere();
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './ArcType-2d9abbbc', './Transforms-bc45e707', './Color-2dc49658', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolylinePipeline-896735cc', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (defaultValue, Matrix3, ArcType, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolylinePipeline, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './ArcType-2d9abbbc', './Transforms-e2d4a55a', './Color-8e135f71', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolylinePipeline-7119eb3f', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (defaultValue, Matrix3, ArcType, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolylinePipeline, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  function interpolateColors(p0, p1, color0, color1, minDistance, array, offset) {
4
4
  const numPoints = PolylinePipeline.PolylinePipeline.numberOfPoints(p0, p1, minDistance);
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Check-6ede7e26', './EllipsoidGeometry-508da15c', './VertexFormat-030f11ff', './Math-0a2ac845', './Transforms-bc45e707', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47'], (function (defaultValue, Matrix3, Check, EllipsoidGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Check-6ede7e26', './EllipsoidGeometry-8155e3a2', './VertexFormat-030f11ff', './Math-0a2ac845', './Transforms-e2d4a55a', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47'], (function (defaultValue, Matrix3, Check, EllipsoidGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
2
2
 
3
3
  /**
4
4
  * A description of a sphere centered at the origin.
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Check-6ede7e26', './EllipsoidOutlineGeometry-40d97455', './Math-0a2ac845', './Transforms-bc45e707', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47'], (function (defaultValue, Matrix3, Check, EllipsoidOutlineGeometry, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Check-6ede7e26', './EllipsoidOutlineGeometry-c045678d', './Math-0a2ac845', './Transforms-e2d4a55a', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47'], (function (defaultValue, Matrix3, Check, EllipsoidOutlineGeometry, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
2
2
 
3
3
  /**
4
4
  * A description of the outline of a sphere.
@@ -1,4 +1,4 @@
1
- define(['./Transforms-bc45e707', './BoxGeometry-7eb1af60', './Matrix3-41c58dde', './Color-2dc49658', './CylinderGeometry-23c67a6c', './defaultValue-fe22d8c0', './EllipsoidGeometry-508da15c', './IndexDatatype-2643aa47', './Matrix2-e1298525', './createTaskProcessorWorker', './Check-6ede7e26', './Math-0a2ac845', './combine-d9581036', './RuntimeError-ef395448', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './VertexFormat-030f11ff', './CylinderGeometryLibrary-7bf291b4'], (function (Transforms, BoxGeometry, Matrix3, Color, CylinderGeometry, defaultValue, EllipsoidGeometry, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, Math$1, combine, RuntimeError, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat, CylinderGeometryLibrary) { 'use strict';
1
+ define(['./Transforms-e2d4a55a', './BoxGeometry-af7d05ef', './Matrix3-41c58dde', './Color-8e135f71', './CylinderGeometry-dbaa1678', './defaultValue-fe22d8c0', './EllipsoidGeometry-8155e3a2', './IndexDatatype-2643aa47', './Matrix2-e1298525', './createTaskProcessorWorker', './Check-6ede7e26', './Math-0a2ac845', './combine-d9581036', './RuntimeError-ef395448', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './VertexFormat-030f11ff', './CylinderGeometryLibrary-7bf291b4'], (function (Transforms, BoxGeometry, Matrix3, Color, CylinderGeometry, defaultValue, EllipsoidGeometry, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, Math$1, combine, RuntimeError, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat, CylinderGeometryLibrary) { 'use strict';
2
2
 
3
3
  /**
4
4
  * Describes a renderable batch of geometry.
@@ -1,4 +1,4 @@
1
- define(['./AttributeCompression-f9f6c717', './Matrix3-41c58dde', './Color-2dc49658', './defaultValue-fe22d8c0', './IndexDatatype-2643aa47', './Math-0a2ac845', './OrientedBoundingBox-2dd47921', './Matrix2-e1298525', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './Transforms-bc45e707', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-46d4d9c2', './AxisAlignedBoundingBox-31fadcf0', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (AttributeCompression, Matrix3, Color, defaultValue, IndexDatatype, Math$1, OrientedBoundingBox, Matrix2, createTaskProcessorWorker, ComponentDatatype, Check, WebGLConstants, Transforms, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
1
+ define(['./AttributeCompression-f9f6c717', './Matrix3-41c58dde', './Color-8e135f71', './defaultValue-fe22d8c0', './IndexDatatype-2643aa47', './Math-0a2ac845', './OrientedBoundingBox-29fb0fcd', './Matrix2-e1298525', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './Transforms-e2d4a55a', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-546c0d5e', './AxisAlignedBoundingBox-4bfd84f3', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (AttributeCompression, Matrix3, Color, defaultValue, IndexDatatype, Math$1, OrientedBoundingBox, Matrix2, createTaskProcessorWorker, ComponentDatatype, Check, WebGLConstants, Transforms, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  const scratchCenter = new Matrix3.Cartesian3();
4
4
  const scratchEllipsoid = new Matrix3.Ellipsoid();
@@ -1,4 +1,4 @@
1
- define(['./AxisAlignedBoundingBox-31fadcf0', './Transforms-bc45e707', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-51b8b33b', './Math-0a2ac845', './OrientedBoundingBox-2dd47921', './RuntimeError-ef395448', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './Check-6ede7e26', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-46d4d9c2', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (AxisAlignedBoundingBox, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, Math$1, OrientedBoundingBox, RuntimeError, WebMercatorProjection, createTaskProcessorWorker, Check, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
1
+ define(['./AxisAlignedBoundingBox-4bfd84f3', './Transforms-e2d4a55a', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-c8e029a2', './Math-0a2ac845', './OrientedBoundingBox-29fb0fcd', './RuntimeError-ef395448', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './Check-6ede7e26', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-546c0d5e', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (AxisAlignedBoundingBox, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, Math$1, OrientedBoundingBox, RuntimeError, WebMercatorProjection, createTaskProcessorWorker, Check, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  const sizeOfUint16 = Uint16Array.BYTES_PER_ELEMENT;
4
4
  const sizeOfInt32 = Int32Array.BYTES_PER_ELEMENT;
@@ -1,4 +1,4 @@
1
- define(['./Matrix3-41c58dde', './AxisAlignedBoundingBox-31fadcf0', './Transforms-bc45e707', './Matrix2-e1298525', './defaultValue-fe22d8c0', './Check-6ede7e26', './TerrainEncoding-51b8b33b', './Math-0a2ac845', './OrientedBoundingBox-2dd47921', './WebMercatorProjection-13ed1a6e', './RuntimeError-ef395448', './createTaskProcessorWorker', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-46d4d9c2', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (Matrix3, AxisAlignedBoundingBox, Transforms, Matrix2, defaultValue, Check, TerrainEncoding, Math$1, OrientedBoundingBox, WebMercatorProjection, RuntimeError, createTaskProcessorWorker, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
1
+ define(['./Matrix3-41c58dde', './AxisAlignedBoundingBox-4bfd84f3', './Transforms-e2d4a55a', './Matrix2-e1298525', './defaultValue-fe22d8c0', './Check-6ede7e26', './TerrainEncoding-c8e029a2', './Math-0a2ac845', './OrientedBoundingBox-29fb0fcd', './WebMercatorProjection-13ed1a6e', './RuntimeError-ef395448', './createTaskProcessorWorker', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-546c0d5e', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (Matrix3, AxisAlignedBoundingBox, Transforms, Matrix2, defaultValue, Check, TerrainEncoding, Math$1, OrientedBoundingBox, WebMercatorProjection, RuntimeError, createTaskProcessorWorker, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  /**
4
4
  * The encoding that is used for a heightmap
@@ -1,4 +1,4 @@
1
- define(['./AxisAlignedBoundingBox-31fadcf0', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-51b8b33b', './IndexDatatype-2643aa47', './Math-0a2ac845', './Check-6ede7e26', './Transforms-bc45e707', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './RuntimeError-ef395448', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036'], (function (AxisAlignedBoundingBox, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Math$1, Check, Transforms, WebMercatorProjection, createTaskProcessorWorker, RuntimeError, AttributeCompression, ComponentDatatype, WebGLConstants, combine) { 'use strict';
1
+ define(['./AxisAlignedBoundingBox-4bfd84f3', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-c8e029a2', './IndexDatatype-2643aa47', './Math-0a2ac845', './Check-6ede7e26', './Transforms-e2d4a55a', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './RuntimeError-ef395448', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036'], (function (AxisAlignedBoundingBox, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Math$1, Check, Transforms, WebMercatorProjection, createTaskProcessorWorker, RuntimeError, AttributeCompression, ComponentDatatype, WebGLConstants, combine) { 'use strict';
2
2
 
3
3
  /**
4
4
  * Provides terrain or other geometry for the surface of an ellipsoid. The surface geometry is
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Transforms-bc45e707', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './VertexFormat-030f11ff', './WallGeometryLibrary-007e9883', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-d2061e85', './PolylinePipeline-896735cc', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, VertexFormat, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Transforms-e2d4a55a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './VertexFormat-030f11ff', './WallGeometryLibrary-3e0819ec', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-d2061e85', './PolylinePipeline-7119eb3f', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, VertexFormat, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  const scratchCartesian3Position1 = new Matrix3.Cartesian3();
4
4
  const scratchCartesian3Position2 = new Matrix3.Cartesian3();
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Transforms-bc45e707', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a466e9c7', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './WallGeometryLibrary-007e9883', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-d2061e85', './PolylinePipeline-896735cc', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Transforms-e2d4a55a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-13da9466', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './WallGeometryLibrary-3e0819ec', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-d2061e85', './PolylinePipeline-7119eb3f', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  const scratchCartesian3Position1 = new Matrix3.Cartesian3();
4
4
  const scratchCartesian3Position2 = new Matrix3.Cartesian3();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.105
4
+ * Version 1.106
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.105
4
+ * Version 1.106
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -1,4 +1,4 @@
1
- define(['./AttributeCompression-f9f6c717', './Transforms-bc45e707', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-51b8b33b', './IndexDatatype-2643aa47', './Check-6ede7e26', './Math-0a2ac845', './OrientedBoundingBox-2dd47921', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-46d4d9c2', './AxisAlignedBoundingBox-31fadcf0', './IntersectionTests-88c49b2e', './Plane-4c3d403b'], (function (AttributeCompression, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Check, Math$1, OrientedBoundingBox, createTaskProcessorWorker, ComponentDatatype, WebGLConstants, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
1
+ define(['./AttributeCompression-f9f6c717', './Transforms-e2d4a55a', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-c8e029a2', './IndexDatatype-2643aa47', './Check-6ede7e26', './Math-0a2ac845', './OrientedBoundingBox-29fb0fcd', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-546c0d5e', './AxisAlignedBoundingBox-4bfd84f3', './IntersectionTests-85350792', './Plane-4c3d403b'], (function (AttributeCompression, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Check, Math$1, OrientedBoundingBox, createTaskProcessorWorker, ComponentDatatype, WebGLConstants, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
2
2
 
3
3
  /**
4
4
  * Contains functions for operating on 2D triangles.
@@ -261,7 +261,7 @@ function ArcGISTiledElevationTerrainProvider(options) {
261
261
  if (defined(options.url)) {
262
262
  deprecationWarning(
263
263
  "ArcGISTiledElevationTerrainProvider options.url",
264
- "options.url was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ArcGISTiledElevationTerrainProvider.fromUrl instead."
264
+ "options.url was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ArcGISTiledElevationTerrainProvider.fromUrl instead."
265
265
  );
266
266
 
267
267
  const that = this;
@@ -345,7 +345,7 @@ Object.defineProperties(ArcGISTiledElevationTerrainProvider.prototype, {
345
345
  get: function () {
346
346
  deprecationWarning(
347
347
  "ArcGISTiledElevationTerrainProvider.ready",
348
- "ArcGISTiledElevationTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ArcGISTiledElevationTerrainProvider.fromUrl instead."
348
+ "ArcGISTiledElevationTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ArcGISTiledElevationTerrainProvider.fromUrl instead."
349
349
  );
350
350
  return this._ready;
351
351
  },
@@ -362,7 +362,7 @@ Object.defineProperties(ArcGISTiledElevationTerrainProvider.prototype, {
362
362
  get: function () {
363
363
  deprecationWarning(
364
364
  "ArcGISTiledElevationTerrainProvider.readyPromise",
365
- "ArcGISTiledElevationTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ArcGISTiledElevationTerrainProvider.fromUrl instead."
365
+ "ArcGISTiledElevationTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ArcGISTiledElevationTerrainProvider.fromUrl instead."
366
366
  );
367
367
  return this._readyPromise;
368
368
  },
@@ -535,7 +535,7 @@ function CesiumTerrainProvider(options) {
535
535
  if (defined(options.url)) {
536
536
  deprecationWarning(
537
537
  "CesiumTerrainProvider options.url",
538
- "options.url was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use CesiumTerrainProvider.fromIonAssetId or CesiumTerrainProvider.fromUrl instead."
538
+ "options.url was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use CesiumTerrainProvider.fromIonAssetId or CesiumTerrainProvider.fromUrl instead."
539
539
  );
540
540
  this._readyPromise = CesiumTerrainProvider._initializeReadyPromise(
541
541
  options,
@@ -901,6 +901,8 @@ CesiumTerrainProvider.prototype.requestTileGeometry = function (
901
901
  const layers = this._layers;
902
902
  let layerToUse;
903
903
  const layerCount = layers.length;
904
+ let unknownAvailability = false;
905
+ let availabilityPromise = Promise.resolve();
904
906
 
905
907
  if (layerCount === 1) {
906
908
  // Optimized path for single layers
@@ -915,9 +917,32 @@ CesiumTerrainProvider.prototype.requestTileGeometry = function (
915
917
  layerToUse = layer;
916
918
  break;
917
919
  }
920
+
921
+ const availabilityUnloaded = checkLayer(
922
+ this,
923
+ x,
924
+ y,
925
+ level,
926
+ layer,
927
+ i === 0
928
+ );
929
+ if (availabilityUnloaded.result) {
930
+ // We can't know yet since the availability is not yet loaded
931
+ unknownAvailability = true;
932
+ availabilityPromise = availabilityPromise.then(
933
+ () => availabilityUnloaded.promise
934
+ );
935
+ }
918
936
  }
919
937
  }
920
938
 
939
+ if (!defined(layerToUse) && unknownAvailability) {
940
+ // Try again when availability data is ready– Otherwise the tile will be marked as failed and never re-requested
941
+ return availabilityPromise.then(() =>
942
+ this.requestTileGeometry(x, y, level, request)
943
+ );
944
+ }
945
+
921
946
  return requestTileGeometry(this, x, y, level, layerToUse, request);
922
947
  };
923
948
 
@@ -1062,7 +1087,7 @@ Object.defineProperties(CesiumTerrainProvider.prototype, {
1062
1087
  get: function () {
1063
1088
  deprecationWarning(
1064
1089
  "CesiumTerrainProvider.ready",
1065
- "CesiumTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use CesiumTerrainProvider.fromIonAssetId or CesiumTerrainProvider.fromUrl instead."
1090
+ "CesiumTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use CesiumTerrainProvider.fromIonAssetId or CesiumTerrainProvider.fromUrl instead."
1066
1091
  );
1067
1092
  return this._ready;
1068
1093
  },
@@ -1079,7 +1104,7 @@ Object.defineProperties(CesiumTerrainProvider.prototype, {
1079
1104
  get: function () {
1080
1105
  deprecationWarning(
1081
1106
  "CesiumTerrainProvider.readyPromise",
1082
- "CesiumTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use CesiumTerrainProvider.fromIonAssetId or CesiumTerrainProvider.fromUrl instead."
1107
+ "CesiumTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use CesiumTerrainProvider.fromIonAssetId or CesiumTerrainProvider.fromUrl instead."
1083
1108
  );
1084
1109
  return this._readyPromise;
1085
1110
  },
@@ -352,9 +352,9 @@ const rgbaMatcher = /^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i;
352
352
  //#rrggbbaa
353
353
  const rrggbbaaMatcher = /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i;
354
354
  //rgb(), rgba(), or rgb%()
355
- const rgbParenthesesMatcher = /^rgba?\(\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)(?:\s*,\s*([0-9.]+))?\s*\)$/i;
355
+ const rgbParenthesesMatcher = /^rgba?\s*\(\s*([0-9.]+%?)\s*[,\s]+\s*([0-9.]+%?)\s*[,\s]+\s*([0-9.]+%?)(?:\s*[,\s/]+\s*([0-9.]+))?\s*\)$/i;
356
356
  //hsl() or hsla()
357
- const hslParenthesesMatcher = /^hsla?\(\s*([0-9.]+)\s*,\s*([0-9.]+%)\s*,\s*([0-9.]+%)(?:\s*,\s*([0-9.]+))?\s*\)$/i;
357
+ const hslParenthesesMatcher = /^hsla?\s*\(\s*([0-9.]+)\s*[,\s]+\s*([0-9.]+%)\s*[,\s]+\s*([0-9.]+%)(?:\s*[,\s/]+\s*([0-9.]+))?\s*\)$/i;
358
358
 
359
359
  /**
360
360
  * Creates a Color instance from a CSS color value.
@@ -379,8 +379,8 @@ Color.fromCssColorString = function (color, result) {
379
379
  result = new Color();
380
380
  }
381
381
 
382
- // Remove all whitespaces from the color string
383
- color = color.replace(/\s/g, "");
382
+ // Remove all surrounding whitespaces from the color string
383
+ color = color.trim();
384
384
 
385
385
  const namedColor = Color[color.toUpperCase()];
386
386
  if (defined(namedColor)) {
@@ -145,7 +145,7 @@ Object.defineProperties(CustomHeightmapTerrainProvider.prototype, {
145
145
  get: function () {
146
146
  deprecationWarning(
147
147
  "CustomHeightmapTerrainProvider.ready",
148
- "CustomHeightmapTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
148
+ "CustomHeightmapTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
149
149
  );
150
150
  return true;
151
151
  },
@@ -162,7 +162,7 @@ Object.defineProperties(CustomHeightmapTerrainProvider.prototype, {
162
162
  get: function () {
163
163
  deprecationWarning(
164
164
  "CustomHeightmapTerrainProvider.readyPromise",
165
- "CustomHeightmapTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
165
+ "CustomHeightmapTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
166
166
  );
167
167
  return this._readyPromise;
168
168
  },
@@ -98,7 +98,7 @@ Object.defineProperties(EllipsoidTerrainProvider.prototype, {
98
98
  get: function () {
99
99
  deprecationWarning(
100
100
  "EllipsoidTerrainProvider.ready",
101
- "EllipsoidTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
101
+ "EllipsoidTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
102
102
  );
103
103
  return true;
104
104
  },
@@ -115,7 +115,7 @@ Object.defineProperties(EllipsoidTerrainProvider.prototype, {
115
115
  get: function () {
116
116
  deprecationWarning(
117
117
  "EllipsoidTerrainProvider.readyPromise",
118
- "EllipsoidTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
118
+ "EllipsoidTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
119
119
  );
120
120
  return this._readyPromise;
121
121
  },
@@ -105,7 +105,7 @@ function GoogleEarthEnterpriseMetadata(resourceOrUrl) {
105
105
  if (defined(resourceOrUrl)) {
106
106
  deprecationWarning(
107
107
  "GoogleEarthEnterpriseMetadata options.url",
108
- "GoogleEarthEnterpriseMetadata constructor parmeter resourceOrUrl was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use GoogleEarthEnterpriseMetadata.fromUrl instead."
108
+ "GoogleEarthEnterpriseMetadata constructor parmeter resourceOrUrl was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseMetadata.fromUrl instead."
109
109
  );
110
110
 
111
111
  let url = resourceOrUrl;
@@ -183,7 +183,7 @@ Object.defineProperties(GoogleEarthEnterpriseMetadata.prototype, {
183
183
  get: function () {
184
184
  deprecationWarning(
185
185
  "GoogleEarthEnterpriseMetadata.readyPromise",
186
- "GoogleEarthEnterpriseMetadata.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use GoogleEarthEnterpriseMetadata.fromUrl instead."
186
+ "GoogleEarthEnterpriseMetadata.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseMetadata.fromUrl instead."
187
187
  );
188
188
  return this._readyPromise;
189
189
  },
@@ -135,7 +135,7 @@ function GoogleEarthEnterpriseTerrainProvider(options) {
135
135
  if (defined(options.url)) {
136
136
  deprecationWarning(
137
137
  "GoogleEarthEnterpriseTerrainProvider options.url",
138
- "options.url was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use GoogleEarthEnterpriseTerrainProvider.fromMetadata instead."
138
+ "options.url was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseTerrainProvider.fromMetadata instead."
139
139
  );
140
140
  const resource = Resource.createIfNeeded(options.url);
141
141
  const that = this;
@@ -172,7 +172,7 @@ function GoogleEarthEnterpriseTerrainProvider(options) {
172
172
  } else if (defined(options.metadata)) {
173
173
  deprecationWarning(
174
174
  "GoogleEarthEnterpriseTerrainProvider options.metadata",
175
- "options.metadata was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use GoogleEarthEnterpriseTerrainProvider.fromMetadata instead."
175
+ "options.metadata was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseTerrainProvider.fromMetadata instead."
176
176
  );
177
177
  const metadata = options.metadata;
178
178
  this._metadata = metadata;
@@ -253,7 +253,7 @@ Object.defineProperties(GoogleEarthEnterpriseTerrainProvider.prototype, {
253
253
  get: function () {
254
254
  deprecationWarning(
255
255
  "GoogleEarthEnterpriseTerrainProvider.ready",
256
- "GoogleEarthEnterpriseTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
256
+ "GoogleEarthEnterpriseTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
257
257
  );
258
258
  return this._ready;
259
259
  },
@@ -270,7 +270,7 @@ Object.defineProperties(GoogleEarthEnterpriseTerrainProvider.prototype, {
270
270
  get: function () {
271
271
  deprecationWarning(
272
272
  "GoogleEarthEnterpriseTerrainProvider.readyPromise",
273
- "GoogleEarthEnterpriseTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
273
+ "GoogleEarthEnterpriseTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
274
274
  );
275
275
  return this._readyPromise;
276
276
  },
@@ -0,0 +1,56 @@
1
+ import Credit from "./Credit.js";
2
+ import defined from "./defined.js";
3
+ import Resource from "./Resource.js";
4
+
5
+ let defaultKeyCredit;
6
+ const defaultKey = "AIzaSyBqCv5lozjjhtIQ_pZuj2obyAL9bTJdY28";
7
+
8
+ /**
9
+ * Default settings for accessing the Google Maps API.
10
+ * <br/>
11
+ * An API key is only required if you are using any Google Maps APIs, such as {@link createGooglePhotorealistic3DTileset}.
12
+ * A default key is provided for evaluation purposes only.
13
+ * Follow instructions for managing API keys for the Google Maps Platform at {@link https://developers.google.com/maps/documentation/embed/get-api-key}
14
+ *
15
+ * @see createGooglePhotorealistic3DTileset
16
+ * @see https://developers.google.com/maps/documentation/embed/get-api-key
17
+ *
18
+ * @namespace GoogleMaps
19
+ */
20
+ const GoogleMaps = {};
21
+
22
+ /**
23
+ * Gets or sets the default Google Maps API key.
24
+ *
25
+ * @type {string}
26
+ */
27
+ GoogleMaps.defaultApiKey = defaultKey;
28
+
29
+ /**
30
+ * Gets or sets the default Google Map Tiles API endpoint.
31
+ *
32
+ * @type {string|Resource}
33
+ * @default https://tile.googleapis.com/v1/
34
+ */
35
+ GoogleMaps.mapTilesApiEndpoint = new Resource({
36
+ url: "https://tile.googleapis.com/v1/",
37
+ });
38
+
39
+ GoogleMaps.getDefaultApiKeyCredit = function (providedKey) {
40
+ if (providedKey !== defaultKey) {
41
+ return undefined;
42
+ }
43
+
44
+ if (!defined(defaultKeyCredit)) {
45
+ const defaultKeyMessage =
46
+ '<b> \
47
+ This application is using CesiumJS\'s default Google Maps API key. Please assign <i>Cesium.GoogleMaps.defaultApiKey</i> \
48
+ with <a href="https://developers.google.com/maps/documentation/embed/get-api-key">your API key for the Google Maps Platform</a>.</b>';
49
+
50
+ defaultKeyCredit = new Credit(defaultKeyMessage, true);
51
+ defaultKeyCredit._isDefaultToken = true;
52
+ }
53
+
54
+ return defaultKeyCredit;
55
+ };
56
+ export default GoogleMaps;
@@ -4,7 +4,8 @@ import Resource from "./Resource.js";
4
4
 
5
5
  let defaultTokenCredit;
6
6
  const defaultAccessToken =
7
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwZWQ3OWFlZC1kOTg3LTRlZjctYTAyYy0xNjFmODE1MWE2NGUiLCJpZCI6MjU5LCJpYXQiOjE2ODI5NDYzODh9.DEH4GpqliH-xsDE7h-ZCICtHgnGu32wdSjt4hFqw7lU";
7
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJmYmE2YWEzOS1lZDUyLTQ0YWMtOTlkNS0wN2VhZWI3NTc4MmEiLCJpZCI6MjU5LCJpYXQiOjE2ODU2MzQ0Njl9.AswCMxsN03WYwuZL-r183OZicN64Ks9aPExWhA3fuLY";
8
+
8
9
  /**
9
10
  * Default settings for accessing the Cesium ion API.
10
11
  *
@@ -49,6 +50,7 @@ Ion.getDefaultTokenCredit = function (providedKey) {
49
50
  You can sign up for a free ion account at <a href="https://cesium.com">https://cesium.com</a>.</b>';
50
51
 
51
52
  defaultTokenCredit = new Credit(defaultTokenMessage, true);
53
+ defaultTokenCredit._isDefaultToken = true;
52
54
  }
53
55
 
54
56
  return defaultTokenCredit;
@@ -82,6 +82,7 @@ RequestScheduler.requestsByServer = {
82
82
  "api.cesium.com:443": 18,
83
83
  "assets.ion.cesium.com:443": 18,
84
84
  "ibasemaps-api.arcgis.com:443": 18,
85
+ "tile.googleapis.com:443": 18,
85
86
  };
86
87
 
87
88
  /**
@@ -148,6 +148,8 @@ function Resource(options) {
148
148
  } else {
149
149
  this._url = options.url;
150
150
  }
151
+
152
+ this._credits = options.credits;
151
153
  }
152
154
 
153
155
  /**
@@ -372,6 +374,16 @@ Object.defineProperties(Resource.prototype, {
372
374
  return Object.keys(this.headers).length > 0;
373
375
  },
374
376
  },
377
+
378
+ /**
379
+ * Gets the credits required for attribution of an asset.
380
+ * @private
381
+ */
382
+ credits: {
383
+ get: function () {
384
+ return this._credits;
385
+ },
386
+ },
375
387
  });
376
388
 
377
389
  /**
@@ -732,6 +744,7 @@ Resource.prototype.clone = function (result) {
732
744
  retryAttempts: this.retryAttempts,
733
745
  request: this.request.clone(),
734
746
  parseUrl: false,
747
+ credits: defined(this.credits) ? this.credits.slice() : undefined,
735
748
  });
736
749
  }
737
750
 
@@ -185,7 +185,7 @@ function VRTheWorldTerrainProvider(options) {
185
185
  if (defined(options.url)) {
186
186
  deprecationWarning(
187
187
  "VRTheWorldTerrainProvider options.url",
188
- "options.url was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. VRTheWorldTerrainProvider.fromUrl instead."
188
+ "options.url was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. VRTheWorldTerrainProvider.fromUrl instead."
189
189
  );
190
190
  const that = this;
191
191
  const terrainProviderBuilder = new TerrainProviderBuilder(options);
@@ -255,7 +255,7 @@ Object.defineProperties(VRTheWorldTerrainProvider.prototype, {
255
255
  get: function () {
256
256
  deprecationWarning(
257
257
  "VRTheWorldTerrainProvider.ready",
258
- "VRTheWorldTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use VRTheWorldTerrainProvider.fromUrl instead."
258
+ "VRTheWorldTerrainProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use VRTheWorldTerrainProvider.fromUrl instead."
259
259
  );
260
260
  return this._ready;
261
261
  },
@@ -272,7 +272,7 @@ Object.defineProperties(VRTheWorldTerrainProvider.prototype, {
272
272
  get: function () {
273
273
  deprecationWarning(
274
274
  "VRTheWorldTerrainProvider.readyPromise",
275
- "VRTheWorldTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use VRTheWorldTerrainProvider.fromUrl instead."
275
+ "VRTheWorldTerrainProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use VRTheWorldTerrainProvider.fromUrl instead."
276
276
  );
277
277
  return this._readyPromise;
278
278
  },
@@ -7,6 +7,7 @@ import IonResource from "./IonResource.js";
7
7
  * Creates a {@link CesiumTerrainProvider} instance for the {@link https://cesium.com/content/#cesium-world-terrain|Cesium World Terrain}.
8
8
  *
9
9
  * @function
10
+ * @deprecated
10
11
  *
11
12
  * @param {object} [options] Object with the following properties:
12
13
  * @param {boolean} [options.requestVertexNormals=false] Flag that indicates if the client should request additional lighting information from the server if available.
@@ -34,7 +35,7 @@ import IonResource from "./IonResource.js";
34
35
  function createWorldTerrain(options) {
35
36
  deprecationWarning(
36
37
  "createWorldTerrain",
37
- "createWorldTerrain was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use createWorldTerrainAsync instead."
38
+ "createWorldTerrain was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use createWorldTerrainAsync instead."
38
39
  );
39
40
 
40
41
  options = defaultValue(options, defaultValue.EMPTY_OBJECT);
@@ -43,7 +43,11 @@ async function sampleTerrain(terrainProvider, level, positions) {
43
43
  //>>includeEnd('debug');
44
44
 
45
45
  // readyPromise has been deprecated; This is here for backwards compatibility
46
- await terrainProvider._readyPromise;
46
+ if (defined(terrainProvider._readyPromise)) {
47
+ await terrainProvider._readyPromise;
48
+ } else if (defined(terrainProvider.readyPromise)) {
49
+ await terrainProvider.readyPromise;
50
+ }
47
51
 
48
52
  return doSampling(terrainProvider, level, positions);
49
53
  }
@@ -40,7 +40,11 @@ async function sampleTerrainMostDetailed(terrainProvider, positions) {
40
40
  const maxLevels = [];
41
41
 
42
42
  // readyPromise has been deprecated; This is here for backwards compatibility
43
- await terrainProvider._readyPromise;
43
+ if (defined(terrainProvider._readyPromise)) {
44
+ await terrainProvider._readyPromise;
45
+ } else if (defined(terrainProvider.readyPromise)) {
46
+ await terrainProvider.readyPromise;
47
+ }
44
48
 
45
49
  const availability = terrainProvider.availability;
46
50