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 a GroundPrimitive 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 a ColorMaterialProperty instance and it doesn't have a height or extrudedHeight. Entities with any other type of material are not clamped to terrain.
      • KMLDataSource
        • Point and Model features will always respect altitudeMode.
        • Added clampToGround property. When true, clamps Polygon, LineString and LinearRing features to the ground if their altitudeMode is clampToGround. For this case, lines use a corridor instead of a polyline.
      • GeoJsonDataSource
        • Points with a height will be drawn at that height; otherwise, they will be clamped to the ground.
        • Added clampToGround property. When true, clamps Polygon and LineString features to the ground. For this case, lines use a corridor instead of a polyline.
      • Added Ground Clamping Sandcastle example.
    • ๐Ÿ‘Œ 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 and Cylinder. 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 to Scene, CesiumWidget and Viewer to enable map rotation in 2D mode. #3897
    • Camera.setView and Camera.flyTo now use the orientation.heading parameter in 2D if the map is rotatable.
    • โž• Added Camera.changed event that will fire whenever the camera has changed more than Camera.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 to KmlDataSource that is fired whenever an unsupported node is encountered.
    • ๐Ÿ”ง Clock now keeps its configuration settings self-consistent. Previously, this was done by AnimationViewModel 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 and unpackArray functions to Cartesian2, Cartesian3, and Cartesian4.