Cesium v1.49 Release Notes
Release Date: 2018-09-04 // over 5 years ago-
๐ฅ Breaking Changes :mega:
- โ Removed
ClippingPlaneCollection.clone
. #6872 - ๐ Changed
Globe.pick
to return a position in ECEF coordinates regardless of the current scene mode. This will only effect you if you were working around a bug to makeGlobe.pick
work in 2D and Columbus View. UseGlobe.pickWorldCoordinates
to get the position in world coordinates that correlate to the current scene mode. #6859 - โ Removed the unused
frameState
parameter inevaluate
andevaluateColor
functions inExpression
,StyleExpression
,ConditionsExpression
and all other places that call the functions. #6890 - โ Removed
PostProcessStageLibrary.createLensFlarStage
. UsePostProcessStageLibrary.createLensFlareStage
instead. #6972 - โ Removed
Scene.fxaa
. UseScene.postProcessStages.fxaa.enabled
instead. #6980
โ Additions :tada:
- โ Added
heightReference
toBoxGraphics
,CylinderGraphics
andEllipsoidGraphics
, which can be used to clamp these entity types to terrain. #6932 - โ Added
GeocoderViewModel.destinationFound
for specifying a function that is called upon a successful geocode. The default behavior is to fly to the destination found by the geocoder. #6915 - โ Added
ClippingPlaneCollection.planeAdded
andClippingPlaneCollection.planeRemoved
events.planeAdded
is raised when a new plane is added to the collection andplaneRemoved
is raised when a plane is removed. #6875 - โ Added
Matrix4.setScale
for setting the scale on an affine transformation matrix #6888 - โ Added optional
width
andheight
toScene.drillPick
for specifying a search area. #6922 - โ Added
Cesium3DTileset.root
for getting the root tile of a tileset. #6944 - โ Added
Cesium3DTileset.extras
andCesium3DTile.extras
for getting application specific metadata from 3D Tiles. #6974
๐ Fixes :wrench:
- ๐ Several performance improvements and fixes to the 3D Tiles traversal code. #6390
- Improved load performance when
skipLevelOfDetail
is false. - Fixed a bug that caused some skipped tiles to load when
skipLevelOfDetail
is true. - Fixed pick statistics in the 3D Tiles Inspector.
- Fixed drawing of debug labels for external tilesets.
- Fixed drawing of debug outlines for empty tiles.
- Improved load performance when
- The Geocoder widget now takes terrain altitude into account when calculating its final destination. #6876
- The Viewer widget now takes terrain altitude into account when zooming or flying to imagery layers. #6895
- ๐ Fixed Firefox camera control issues with mouse and touch events. #6372
- ๐ Fixed
getPickRay
in 2D. #2480 - ๐ Fixed
Globe.pick
for 2D and Columbus View. #6859 - ๐ Fixed imagery layer feature picking in 2D and Columbus view. #6859
- ๐ Fixed intermittent ground clamping issues for all entity types that use a height reference. #6930
- ๐ Fixed bug that caused a new
ClippingPlaneCollection
to be created every frame when used with a model entity. #6872 - ๐ Improved
Plane
entities so they are better aligned with the globe surface. #6887 - ๐ Fixed crash when rendering translucent objects when all shadow maps in the scene set
fromLightSource
to false. #6883 - ๐ Fixed night shading in 2D and Columbus view. #4122
- ๐ Fixed model loading failure when a glTF 2.0 primitive does not have a material. 6906
- ๐ Fixed a crash when setting show to
false
on a polyline clamped to the ground. #6912 - ๐ Fixed a bug where
Cesium3DTileset
wasn't using the correcttilesetVersion
. #6933 - ๐ Fixed crash that happened when calling
scene.pick
after setting a new terrain provider. #6918 - ๐ Fixed an issue that caused the browser to hang when using
drillPick
on a polyline clamped to the ground. 6907 - ๐ Fixed an issue where color wasn't updated properly for polylines clamped to ground. #6927
- ๐ Fixed an excessive memory use bug that occurred when a data URI was used to specify a glTF model. #6928
- ๐ Fixed an issue where switching from 2D to 3D could cause a crash. #6929
- ๐ Fixed an issue where point primitives behind the camera would appear in view. #6904
- ๐ The
createGroundPolylineGeometry
web worker no longer depends onGroundPolylinePrimitive
, making the worker smaller and potentially avoiding a hanging build in some webpack configurations. #6946 - ๐ Fixed an issue that cause terrain entities (entities with unspecified
height
) andGroundPrimitives
to fail when crossing the international date line. #6951 - ๐ Fixed normal calculation for
CylinderGeometry
when the top radius is not equal to the bottom radius #6863
- โ Removed