@cesium/engine 3.0.1 → 3.0.2

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 (83) hide show
  1. package/Build/Workers/{AxisAlignedBoundingBox-4bfd84f3.js → AxisAlignedBoundingBox-a03420b1.js} +1 -1
  2. package/Build/Workers/{BoundingRectangle-5fd6403a.js → BoundingRectangle-32fa8a4a.js} +1 -1
  3. package/Build/Workers/{BoxGeometry-7aa4ce7f.js → BoxGeometry-cd550612.js} +1 -1
  4. package/Build/Workers/{Color-8e135f71.js → Color-571a6085.js} +1 -1
  5. package/Build/Workers/{CoplanarPolygonGeometryLibrary-59c69b0a.js → CoplanarPolygonGeometryLibrary-488b1a9f.js} +1 -1
  6. package/Build/Workers/{CorridorGeometryLibrary-63907365.js → CorridorGeometryLibrary-fc4ff147.js} +1 -1
  7. package/Build/Workers/{CylinderGeometry-8fc7c44b.js → CylinderGeometry-bc26926d.js} +1 -1
  8. package/Build/Workers/{EllipseGeometry-16b3736a.js → EllipseGeometry-89533a10.js} +1 -1
  9. package/Build/Workers/{EllipseGeometryLibrary-21262a28.js → EllipseGeometryLibrary-b0d7df17.js} +1 -1
  10. package/Build/Workers/{EllipseOutlineGeometry-05d35d18.js → EllipseOutlineGeometry-63ff7a87.js} +1 -1
  11. package/Build/Workers/{EllipsoidGeometry-a503d1d6.js → EllipsoidGeometry-07e99d2d.js} +1 -1
  12. package/Build/Workers/{EllipsoidOutlineGeometry-7b09f24d.js → EllipsoidOutlineGeometry-ba5c7ee2.js} +1 -1
  13. package/Build/Workers/{EllipsoidTangentPlane-546c0d5e.js → EllipsoidTangentPlane-65d41b3e.js} +1 -1
  14. package/Build/Workers/{FrustumGeometry-87ce8622.js → FrustumGeometry-4a7589ed.js} +1 -1
  15. package/Build/Workers/{GeometryAttribute-8fcff0d5.js → GeometryAttribute-a5b6275b.js} +1 -1
  16. package/Build/Workers/{GeometryPipeline-70d69a43.js → GeometryPipeline-fa9e6ffc.js} +1 -1
  17. package/Build/Workers/{IntersectionTests-85350792.js → IntersectionTests-feace3da.js} +1 -1
  18. package/Build/Workers/{OrientedBoundingBox-29fb0fcd.js → OrientedBoundingBox-6b94d955.js} +1 -1
  19. package/Build/Workers/{PolygonGeometryLibrary-bad6329a.js → PolygonGeometryLibrary-4ffc457d.js} +1 -1
  20. package/Build/Workers/{PolygonPipeline-dd13ee78.js → PolygonPipeline-d5e66350.js} +1 -1
  21. package/Build/Workers/{PolylinePipeline-7119eb3f.js → PolylinePipeline-83410f0c.js} +1 -1
  22. package/Build/Workers/{PolylineVolumeGeometryLibrary-d25f0050.js → PolylineVolumeGeometryLibrary-290e7aec.js} +1 -1
  23. package/Build/Workers/{PrimitivePipeline-111ee29f.js → PrimitivePipeline-6081d138.js} +1 -1
  24. package/Build/Workers/{RectangleGeometryLibrary-bb378fb6.js → RectangleGeometryLibrary-986710d8.js} +1 -1
  25. package/Build/Workers/{TerrainEncoding-c8e029a2.js → TerrainEncoding-528e1d68.js} +1 -1
  26. package/Build/Workers/{Transforms-e2d4a55a.js → Transforms-b527bb09.js} +1 -0
  27. package/Build/Workers/{WallGeometryLibrary-3e0819ec.js → WallGeometryLibrary-faf583f8.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 +4 -3
  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/transcodeKTX2.js +14 -3
  69. package/Build/Workers/transferTypedArrayTest.js +1 -1
  70. package/Build/Workers/upsampleQuantizedTerrainMesh.js +1 -1
  71. package/Source/Core/CesiumTerrainProvider.js +2 -1
  72. package/Source/Core/GoogleMaps.js +1 -1
  73. package/Source/Core/GroundPolylineGeometry.js +3 -2
  74. package/Source/Core/Ion.js +1 -1
  75. package/Source/Core/RequestScheduler.js +1 -0
  76. package/Source/DataSources/CzmlDataSource.js +6 -4
  77. package/Source/Scene/ArcGisMapService.js +1 -1
  78. package/Source/Scene/GltfLoaderUtil.js +1 -7
  79. package/Source/Scene/ImageryLayer.js +2 -2
  80. package/Source/Scene/OpenStreetMapImageryProvider.js +3 -3
  81. package/index.d.ts +4 -4
  82. package/index.js +154 -154
  83. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './arrayRemoveDuplicates-d2061e85', './BoundingRectangle-5fd6403a', './Transforms-e2d4a55a', './Matrix2-e1298525', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-d25f0050', './Check-6ede7e26', './GeometryAttribute-8fcff0d5', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-dd13ee78', './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';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './arrayRemoveDuplicates-d2061e85', './BoundingRectangle-32fa8a4a', './Transforms-b527bb09', './Matrix2-e1298525', './ComponentDatatype-cf1fa08e', './PolylineVolumeGeometryLibrary-290e7aec', './Check-6ede7e26', './GeometryAttribute-a5b6275b', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-d5e66350', './combine-d9581036', './RuntimeError-ef395448', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-65d41b3e', './AxisAlignedBoundingBox-a03420b1', './IntersectionTests-feace3da', './Plane-4c3d403b', './PolylinePipeline-83410f0c', './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-e2d4a55a', './Check-6ede7e26', './ComponentDatatype-cf1fa08e', './GeometryAttribute-8fcff0d5', './GeometryAttributes-ad136444', './GeometryInstance-34d9e21e', './GeometryOffsetAttribute-9ad0019c', './GeometryPipeline-70d69a43', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-dd13ee78', './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';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', './Transforms-b527bb09', './Check-6ede7e26', './ComponentDatatype-cf1fa08e', './GeometryAttribute-a5b6275b', './GeometryAttributes-ad136444', './GeometryInstance-34d9e21e', './GeometryOffsetAttribute-9ad0019c', './GeometryPipeline-fa9e6ffc', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-d5e66350', './RectangleGeometryLibrary-986710d8', './VertexFormat-030f11ff', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './AttributeCompression-f9f6c717', './EncodedCartesian3-57415c8a', './IntersectionTests-feace3da', './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-e2d4a55a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-8fcff0d5', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-dd13ee78', './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';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', './Transforms-b527bb09', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a5b6275b', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolygonPipeline-d5e66350', './RectangleGeometryLibrary-986710d8', './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-e2d4a55a', './Color-8e135f71', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-8fcff0d5', './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';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './ArcType-2d9abbbc', './Transforms-b527bb09', './Color-571a6085', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a5b6275b', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './PolylinePipeline-83410f0c', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-feace3da', './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-a503d1d6', './VertexFormat-030f11ff', './Math-0a2ac845', './Transforms-e2d4a55a', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-8fcff0d5', './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-07e99d2d', './VertexFormat-030f11ff', './Math-0a2ac845', './Transforms-b527bb09', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-a5b6275b', './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-7b09f24d', './Math-0a2ac845', './Transforms-e2d4a55a', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-8fcff0d5', './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-ba5c7ee2', './Math-0a2ac845', './Transforms-b527bb09', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-a5b6275b', './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-e2d4a55a', './BoxGeometry-7aa4ce7f', './Matrix3-41c58dde', './Color-8e135f71', './CylinderGeometry-8fc7c44b', './defaultValue-fe22d8c0', './EllipsoidGeometry-a503d1d6', './IndexDatatype-2643aa47', './Matrix2-e1298525', './createTaskProcessorWorker', './Check-6ede7e26', './Math-0a2ac845', './combine-d9581036', './RuntimeError-ef395448', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-8fcff0d5', './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-b527bb09', './BoxGeometry-cd550612', './Matrix3-41c58dde', './Color-571a6085', './CylinderGeometry-bc26926d', './defaultValue-fe22d8c0', './EllipsoidGeometry-07e99d2d', './IndexDatatype-2643aa47', './Matrix2-e1298525', './createTaskProcessorWorker', './Check-6ede7e26', './Math-0a2ac845', './combine-d9581036', './RuntimeError-ef395448', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-a5b6275b', './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-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';
1
+ define(['./AttributeCompression-f9f6c717', './Matrix3-41c58dde', './Color-571a6085', './defaultValue-fe22d8c0', './IndexDatatype-2643aa47', './Math-0a2ac845', './OrientedBoundingBox-6b94d955', './Matrix2-e1298525', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './Transforms-b527bb09', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-65d41b3e', './AxisAlignedBoundingBox-a03420b1', './IntersectionTests-feace3da', './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-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';
1
+ define(['./AxisAlignedBoundingBox-a03420b1', './Transforms-b527bb09', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-528e1d68', './Math-0a2ac845', './OrientedBoundingBox-6b94d955', './RuntimeError-ef395448', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './Check-6ede7e26', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-65d41b3e', './IntersectionTests-feace3da', './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-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';
1
+ define(['./Matrix3-41c58dde', './AxisAlignedBoundingBox-a03420b1', './Transforms-b527bb09', './Matrix2-e1298525', './defaultValue-fe22d8c0', './Check-6ede7e26', './TerrainEncoding-528e1d68', './Math-0a2ac845', './OrientedBoundingBox-6b94d955', './WebMercatorProjection-13ed1a6e', './RuntimeError-ef395448', './createTaskProcessorWorker', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-65d41b3e', './IntersectionTests-feace3da', './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-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';
1
+ define(['./AxisAlignedBoundingBox-a03420b1', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-528e1d68', './IndexDatatype-2643aa47', './Math-0a2ac845', './Check-6ede7e26', './Transforms-b527bb09', './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-e2d4a55a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-8fcff0d5', './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';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Transforms-b527bb09', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a5b6275b', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './VertexFormat-030f11ff', './WallGeometryLibrary-faf583f8', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-d2061e85', './PolylinePipeline-83410f0c', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-feace3da', './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-e2d4a55a', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-8fcff0d5', './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';
1
+ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Transforms-b527bb09', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './GeometryAttribute-a5b6275b', './GeometryAttributes-ad136444', './IndexDatatype-2643aa47', './Math-0a2ac845', './WallGeometryLibrary-faf583f8', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './WebGLConstants-0b1ce7ba', './arrayRemoveDuplicates-d2061e85', './PolylinePipeline-83410f0c', './EllipsoidGeodesic-5b3623dc', './EllipsoidRhumbLine-ef872433', './IntersectionTests-feace3da', './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.107.1
4
+ * Version 1.108
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -1001,6 +1001,12 @@ define(['./defaultValue-fe22d8c0', './Check-6ede7e26', './WebGLConstants-0b1ce7b
1001
1001
  return value;
1002
1002
  }
1003
1003
 
1004
+ _nextUint8Array(len) {
1005
+ const value = new Uint8Array(this._dataView.buffer, this._dataView.byteOffset + this._offset, len);
1006
+ this._offset += len;
1007
+ return value;
1008
+ }
1009
+
1004
1010
  _skip(bytes) {
1005
1011
  this._offset += bytes;
1006
1012
  return this;
@@ -1165,12 +1171,17 @@ define(['./defaultValue-fe22d8c0', './Check-6ede7e26', './WebGLConstants-0b1ce7b
1165
1171
  const keyData = kvdReader._scan(keyValueByteLength);
1166
1172
 
1167
1173
  const key = decodeText(keyData);
1174
+ container.keyValue[key] = kvdReader._nextUint8Array(keyValueByteLength - keyData.byteLength - 1);
1168
1175
 
1169
- const valueData = kvdReader._scan(keyValueByteLength - keyData.byteLength);
1176
+ if (key.match(/^ktx/i)) {
1177
+ const text = decodeText(container.keyValue[key]);
1178
+ container.keyValue[key] = text.substring(0, text.lastIndexOf('\x00'));
1179
+ }
1170
1180
 
1171
- container.keyValue[key] = key.match(/^ktx/i) ? decodeText(valueData) : valueData; // 4-byte alignment.
1181
+ const kvPadding = keyValueByteLength % 4 ? 4 - keyValueByteLength % 4 : 0; // align(4)
1182
+ // 4-byte alignment.
1172
1183
 
1173
- if (kvdReader._offset % 4) kvdReader._skip(4 - kvdReader._offset % 4);
1184
+ kvdReader._skip(kvPadding);
1174
1185
  } ///////////////////////////////////////////////////
1175
1186
  // Supercompression Global Data (SGD).
1176
1187
  ///////////////////////////////////////////////////
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.107.1
4
+ * Version 1.108
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -1,4 +1,4 @@
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';
1
+ define(['./AttributeCompression-f9f6c717', './Transforms-b527bb09', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-528e1d68', './IndexDatatype-2643aa47', './Check-6ede7e26', './Math-0a2ac845', './OrientedBoundingBox-6b94d955', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-65d41b3e', './AxisAlignedBoundingBox-a03420b1', './IntersectionTests-feace3da', './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.
@@ -867,7 +867,8 @@ CesiumTerrainProvider.prototype.requestTileGeometry = function (
867
867
  // Optimized path for single layers
868
868
  layerToUse = layers[0];
869
869
  } else {
870
- for (let i = 0; i < layerCount; ++i) {
870
+ // Use the last layer where terrain data is available as it should be the most up-to-date
871
+ for (let i = layerCount - 1; i >= 0; --i) {
871
872
  const layer = layers[i];
872
873
  if (
873
874
  !defined(layer.availability) ||
@@ -3,7 +3,7 @@ import defined from "./defined.js";
3
3
  import Resource from "./Resource.js";
4
4
 
5
5
  let defaultKeyCredit;
6
- const defaultKey = "AIzaSyCUMejKrafNiN2PiqvWNPxQJBuDRg-VqKQ";
6
+ const defaultKey = "AIzaSyDG4malBzpWiOoWpAm9q2OXvt_plH-NxcM";
7
7
 
8
8
  /**
9
9
  * Default settings for accessing the Google Maps API.
@@ -1477,8 +1477,9 @@ function generateGeometryAttributes(
1477
1477
  const minHeight = minMaxHeights.minimumTerrainHeight;
1478
1478
  const maxHeight = minMaxHeights.maximumTerrainHeight;
1479
1479
 
1480
- sumHeights += minHeight;
1481
- sumHeights += maxHeight;
1480
+ // Sum using abs() to properly account for negative eleavtions in calculating bounding sphere radius
1481
+ sumHeights += Math.abs(minHeight);
1482
+ sumHeights += Math.abs(maxHeight);
1482
1483
 
1483
1484
  adjustHeights(
1484
1485
  startBottom,
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
4
4
 
5
5
  let defaultTokenCredit;
6
6
  const defaultAccessToken =
7
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhYzVkMTc1ZS00NTRhLTRjY2QtYTQwZS01YmU2Mjg1ODAwN2YiLCJpZCI6MjU5LCJpYXQiOjE2ODgzOTgwMjl9.MZC_HUBRd0y5HJeB-F5QSpT-fEgTM6mI5gMaSND9FHc";
7
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkNDE4MTdhNy0yYjYzLTQwNjktODJiMy0xMWU2MjI4MTA4ODQiLCJpZCI6MjU5LCJpYXQiOjE2OTA5MDkwMjZ9.G-iUU-kiQeQx74_iQdhyc5IUrVbIIFDhFx7RFn94LaQ";
8
8
  /**
9
9
  * Default settings for accessing the Cesium ion API.
10
10
  *
@@ -83,6 +83,7 @@ RequestScheduler.requestsByServer = {
83
83
  "assets.ion.cesium.com:443": 18,
84
84
  "ibasemaps-api.arcgis.com:443": 18,
85
85
  "tile.googleapis.com:443": 18,
86
+ "tile.openstreetmap.org:443": 18,
86
87
  };
87
88
 
88
89
  /**
@@ -1822,11 +1822,13 @@ function processPositionArrayPacketData(
1822
1822
  packetData.array = Cartesian3.unpackArray(packetData.cartesian);
1823
1823
  } else if (defined(packetData.cartographicRadians)) {
1824
1824
  packetData.array = Cartesian3.fromRadiansArrayHeights(
1825
- packetData.cartographicRadians
1825
+ packetData.cartographicRadians,
1826
+ Ellipsoid.WGS84
1826
1827
  );
1827
1828
  } else if (defined(packetData.cartographicDegrees)) {
1828
1829
  packetData.array = Cartesian3.fromDegreesArrayHeights(
1829
- packetData.cartographicDegrees
1830
+ packetData.cartographicDegrees,
1831
+ Ellipsoid.WGS84
1830
1832
  );
1831
1833
  }
1832
1834
 
@@ -1878,11 +1880,11 @@ function unpackCartesianArray(array) {
1878
1880
  }
1879
1881
 
1880
1882
  function unpackCartographicRadiansArray(array) {
1881
- return Cartesian3.fromRadiansArrayHeights(array);
1883
+ return Cartesian3.fromRadiansArrayHeights(array, Ellipsoid.WGS84);
1882
1884
  }
1883
1885
 
1884
1886
  function unpackCartographicDegreesArray(array) {
1885
- return Cartesian3.fromDegreesArrayHeights(array);
1887
+ return Cartesian3.fromDegreesArrayHeights(array, Ellipsoid.WGS84);
1886
1888
  }
1887
1889
 
1888
1890
  function processPositionArrayOfArraysPacketData(
@@ -4,7 +4,7 @@ import Resource from "../Core/Resource.js";
4
4
 
5
5
  let defaultTokenCredit;
6
6
  const defaultAccessToken =
7
- "AAPKe9643f5cea8f4275ba46e736fb001c17RVC2Pgh8SSg5tv_mxXnV5iUDfZ_yly3gPgY7_O_e_hzG7Vj3si9fO0YZ3wpeHA7h";
7
+ "AAPK8f33c81975d04fa5bc64d58baa922e4d8t7EX1YAV3MBqwKXAhJ1uohub5U5OCU0PyXE7kNEVf8hebc9ZA4kk17Y4FYDA_rV";
8
8
  /**
9
9
  * Default options for accessing the ArcGIS image tile service.
10
10
  *
@@ -103,14 +103,8 @@ GltfLoaderUtil.createSampler = function (options) {
103
103
  magFilter = defaultValue(sampler.magFilter, magFilter);
104
104
  }
105
105
 
106
- let usesTextureTransform = false;
107
- const extensions = textureInfo.extensions;
108
- if (defined(extensions) && defined(extensions.KHR_texture_transform)) {
109
- usesTextureTransform = true;
110
- }
111
-
112
106
  if (
113
- (compressedTextureNoMipmap || usesTextureTransform) &&
107
+ compressedTextureNoMipmap &&
114
108
  minFilter !== TextureMinificationFilter.LINEAR &&
115
109
  minFilter !== TextureMinificationFilter.NEAREST
116
110
  ) {
@@ -140,8 +140,8 @@ import TileImagery from "./TileImagery.js";
140
140
  *
141
141
  * @example
142
142
  * // Add an OpenStreetMaps layer
143
- * const imageryLayer = new Cesium.ImageryLayer(OpenStreetMapImageryProvider({
144
- * url: "https://a.tile.openstreetmap.org/"
143
+ * const imageryLayer = new Cesium.ImageryLayer(new Cesium.OpenStreetMapImageryProvider({
144
+ * url: "https://tile.openstreetmap.org/"
145
145
  * })),
146
146
  * scene.imageryLayers.add(imageryLayer);
147
147
  *
@@ -16,7 +16,7 @@ const defaultCredit = new Credit(
16
16
  *
17
17
  * Initialization options for the OpenStreetMapImageryProvider constructor
18
18
  *
19
- * @property {string} [url='https://a.tile.openstreetmap.org'] The OpenStreetMap server url.
19
+ * @property {string} [url='https://tile.openstreetmap.org'] The OpenStreetMap server url.
20
20
  * @property {string} [fileExtension='png'] The file extension for images on the server.
21
21
  * @property {Rectangle} [rectangle=Rectangle.MAX_VALUE] The rectangle of the layer.
22
22
  * @property {number} [minimumLevel=0] The minimum level-of-detail supported by the imagery provider.
@@ -49,7 +49,7 @@ const defaultCredit = new Credit(
49
49
  *
50
50
  * @example
51
51
  * const osm = new Cesium.OpenStreetMapImageryProvider({
52
- * url : 'https://a.tile.openstreetmap.org/'
52
+ * url : 'https://tile.openstreetmap.org/'
53
53
  * });
54
54
  *
55
55
  * @see {@link http://wiki.openstreetmap.org/wiki/Main_Page|OpenStreetMap Wiki}
@@ -59,7 +59,7 @@ function OpenStreetMapImageryProvider(options) {
59
59
  options = defaultValue(options, defaultValue.EMPTY_OBJECT);
60
60
 
61
61
  const resource = Resource.createIfNeeded(
62
- defaultValue(options.url, "https://a.tile.openstreetmap.org/")
62
+ defaultValue(options.url, "https://tile.openstreetmap.org/")
63
63
  );
64
64
  resource.appendForwardSlash();
65
65
  resource.url += `{z}/{x}/{y}.${defaultValue(options.fileExtension, "png")}`;
package/index.d.ts CHANGED
@@ -32913,8 +32913,8 @@ export namespace ImageryLayer {
32913
32913
  * on a {@link Globe}.
32914
32914
  * @example
32915
32915
  * // Add an OpenStreetMaps layer
32916
- * const imageryLayer = new Cesium.ImageryLayer(OpenStreetMapImageryProvider({
32917
- * url: "https://a.tile.openstreetmap.org/"
32916
+ * const imageryLayer = new Cesium.ImageryLayer(new Cesium.OpenStreetMapImageryProvider({
32917
+ * url: "https://tile.openstreetmap.org/"
32918
32918
  * })),
32919
32919
  * scene.imageryLayers.add(imageryLayer);
32920
32920
  * @example
@@ -36817,7 +36817,7 @@ export class NeverTileDiscardPolicy {
36817
36817
  export namespace OpenStreetMapImageryProvider {
36818
36818
  /**
36819
36819
  * Initialization options for the OpenStreetMapImageryProvider constructor
36820
- * @property [url = 'https://a.tile.openstreetmap.org'] - The OpenStreetMap server url.
36820
+ * @property [url = 'https://tile.openstreetmap.org'] - The OpenStreetMap server url.
36821
36821
  * @property [fileExtension = 'png'] - The file extension for images on the server.
36822
36822
  * @property [rectangle = Rectangle.MAX_VALUE] - The rectangle of the layer.
36823
36823
  * @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider.
@@ -36843,7 +36843,7 @@ export namespace OpenStreetMapImageryProvider {
36843
36843
  * {@link http://wiki.openstreetmap.org/wiki/Tile_usage_policy|Tile Usage Policy}.
36844
36844
  * @example
36845
36845
  * const osm = new Cesium.OpenStreetMapImageryProvider({
36846
- * url : 'https://a.tile.openstreetmap.org/'
36846
+ * url : 'https://tile.openstreetmap.org/'
36847
36847
  * });
36848
36848
  * @param options - Object describing initialization options
36849
36849
  */