Cesium v1.23 Release Notes
Release Date: 2016-07-01 // almost 8 years ago-
- ๐ฅ Breaking changes
GroundPrimitive.initializeTerrainHeights()
must be called and have the returned promise resolve before aGroundPrimitive
can be added synchronously.
- โ Added terrain clamping to entities, KML, and GeoJSON
- Added
heightReference
property to point, billboard and model entities. - Changed corridor, ellipse, polygon and rectangle entities to conform to terrain by using a
GroundPrimitive
if its material is aColorMaterialProperty
instance and it doesn't have aheight
orextrudedHeight
. Entities with any other type of material are not clamped to terrain. KMLDataSource
- Point and Model features will always respect
altitudeMode
. - Added
clampToGround
property. Whentrue
, clampsPolygon
,LineString
andLinearRing
features to the ground if theiraltitudeMode
isclampToGround
. For this case, lines use a corridor instead of a polyline.
- Point and Model features will always respect
GeoJsonDataSource
- Points with a height will be drawn at that height; otherwise, they will be clamped to the ground.
- Added
clampToGround
property. Whentrue
, clampsPolygon
andLineString
features to the ground. For this case, lines use a corridor instead of a polyline.
- Added Ground Clamping Sandcastle example.
- Added
- ๐ Improved performance and accuracy of polygon triangulation by using the earcut library. Loading a GeoJSON with polygons for each country was 2x faster.
- ๐ Fix some large polygon triangulations. #2788
- Added support for the glTF extension WEB3D_quantized_attributes. #3241
- โ Added CZML support for
Box
,Corridor
andCylinder
. Added new CZML properties:Billboard
:width
,height
,heightReference
,scaleByDistance
,translucencyByDistance
,pixelOffsetScaleByDistance
,imageSubRegion
Label
:heightReference
,translucencyByDistance
,pixelOffsetScaleByDistance
Model
:heightReference
,maximumScale
Point
:heightReference
,scaleByDistance
,translucencyByDistance
Ellipsoid
:subdivisions
,stackPartitions
,slicePartitions
- โ Added
rotatable2D
property to toScene
,CesiumWidget
andViewer
to enable map rotation in 2D mode. #3897 Camera.setView
andCamera.flyTo
now use theorientation.heading
parameter in 2D if the map is rotatable.- โ Added
Camera.changed
event that will fire whenever the camera has changed more thanCamera.percentageChanged
.percentageChanged
is in the range [0, 1]. - Zooming in toward a target point now keeps the target point at the same screen position. #4016
- ๐ Improved
GroundPrimitive
performance. - ๐ Some incorrect KML (specifically KML that reuses IDs) is now parsed correctly.
- โ Added
unsupportedNodeEvent
toKmlDataSource
that is fired whenever an unsupported node is encountered. - ๐ง
Clock
now keeps its configuration settings self-consistent. Previously, this was done byAnimationViewModel
and could become inconsistent in certain cases. #4007 - โก๏ธ Updated Google Cardboard Sandcastle example.
- โ Added hot air balloon sample model.
- ๐ Fixed handling of sampled Rectangle coordinates in CZML. #4033
- ๐ Fix "Cannot read property 'x' of undefined" error when calling SceneTransforms.wgs84ToWindowCoordinates in certain cases. #4022
- Re-enabled mouse inputs after a specified number of milliseconds past the most recent touch event.
- ๐ฆ Exposed a parametric ray-triangle intersection test to the API as
IntersectionTests.rayTriangleParametric
. - โ Added
packArray
andunpackArray
functions toCartesian2
,Cartesian3
, andCartesian4
.
- ๐ฅ Breaking changes