Cesium v1.19 Release Notes

Release Date: 2016-03-01 // about 8 years ago
    • ๐Ÿ’ฅ Breaking changes
      • PolygonGeometry now changes the input Cartesian3 values of options.positions so that they are on the ellipsoid surface. This only affects polygons created synchronously with options.perPositionHeight = false when the positions have a non-zero height and the same positions are used for multiple entities. In this case, make a copy of the Cartesian3 values used for the polygon positions.
    • ๐Ÿ—„ Deprecated
      • Deprecated KmlDataSource taking a proxy object. It will throw an exception in 1.21. It now should take a options object with required camera and canvas parameters.
      • Deprecated definedNotNull. It will be removed in 1.20. Use defined instead, which now checks for null as well as undefined.
    • ๐Ÿ‘Œ Improved KML support.
      • Added support for NetworkLink refresh modes onInterval, onExpire and onStop. Includes support for viewboundScale, viewFormat, httpQuery.
      • Added partial support for NetworkLinkControl including minRefreshPeriod, cookie and expires.
      • Added support for local StyleMap. The highlight style is still ignored.
      • Added support for root:// URLs.
      • Added more warnings for unsupported features.
      • Improved style processing in IE.
    • Viewer.zoomTo and Viewer.flyTo now accept an ImageryLayer instance as a valid parameter and will zoom to the extent of the imagery.
    • โž• Added Camera.flyHome function for resetting the camera to the home view.
    • Camera.flyTo now honors max and min zoom settings in ScreenSpaceCameraController.
    • โž• Added show property to CzmlDataSource, GeoJsonDataSource, KmlDataSource, CustomDataSource, and EntityCollection for easily toggling display of entire data sources.
    • โž• Added owner property to CompositeEntityCollection.
    • โž• Added DataSouceDisplay.ready for determining whether or not static data associated with the Entity API has been rendered.
    • ๐Ÿ›  Fix an issue when changing a billboard's position property multiple times per frame. #3511
    • ๐Ÿ›  Fixed texture coordinates for polygon with position heights.
    • ๐Ÿ›  Fixed issue that kept GroundPrimitive with an EllipseGeometry from having a rotation.
    • ๐Ÿ›  Fixed crash caused when drawing CorridorGeometry and CorridorOutlineGeometry synchronously.
    • โž• Added the ability to create empty geometries. Instead of throwing DeveloperError, undefined is returned.
    • ๐Ÿ›  Fixed flying to latitude, longitude, height in the Geocoder.
    • ๐Ÿ›  Fixed bug in IntersectionTests.lineSegmentSphere where the ray origin was not set.
    • โž• Added length to Matrix2, Matrix3 and Matrix4 so these can be used as array-like objects.
    • โž• Added Color.add, Color.subtract, Color.multiply, Color.divide, Color.mod, Color.multiplyByScalar, and Color.divideByScalar functions to perform arithmetic operations on colors.
    • โž• Added optional result parameter to Color.fromRgba, Color.fromHsl and Color.fromCssColorString.
    • ๐Ÿ›  Fixed bug causing navigator is not defined reference error when Cesium is used with Node.js.
    • โฌ†๏ธ Upgraded Knockout from version 3.2.0 to 3.4.0.
    • ๐Ÿ›  Fixed hole that appeared in the top of in dynamic ellipsoids