All Versions
119
Latest Version
Avg Release Cycle
23 days
Latest Release
548 days ago
Changelog History
Page 10
Changelog History
Page 10
-
v1.25 Changes
September 01, 2016- ๐ฅ Breaking changes
- The number and order of arguments passed to
KmlDataSource
unsupportedNodeEvent
listeners have changed to allow better handling of unsupported KML Features. - Changed billboards and labels that are clamped to terrain to have the
verticalOrigin
set toCENTER
by default instead ofBOTTOM
.
- The number and order of arguments passed to
- ๐ Deprecated
- Deprecated
castShadows
andreceiveShadows
properties fromModel
,Primitive
, andGlobe
. They will be removed in 1.26. Useshadows
instead with theShadowMode
enum, e.g.model.shadows = ShadowMode.ENABLED
. Viewer.terrainShadows
now uses theShadowMode
enum instead of a Boolean, e.g.viewer.terrainShadows = ShadowMode.RECEIVE_ONLY
. Boolean support will be removed in 1.26.
- Deprecated
- Updated the online model converter to convert OBJ models to glTF with obj2gltf, as well as optimize existing glTF models with the gltf-pipeline. Added an option to bake ambient occlusion onto the glTF model. Also added an option to compress geometry using the glTF WEB3D_quantized_attributes extension.
- ๐ Improve label quality for oblique and italic fonts. #3782
- โ Added
shadows
property to the entity API forBox
,Corridor
,Cylinder
,Ellipse
,Ellipsoid
,Polygon
,Polyline
,PoylineVolume
,Rectangle
, andWall
. #4005 - โ Added
Camera.cancelFlight
to cancel the existing camera flight if it exists. - ๐ Fix overlapping camera flights by always cancelling the previous flight when a new one is created.
- ๐ Camera flights now disable collision with the terrain until all of the terrain in the area has finished loading. This prevents the camera from being moved to be above lower resolution terrain when flying to a position close to higher resolution terrain. #4075
- ๐ Fixed a crash that would occur if quickly toggling imagery visibility. #4083
- ๐ Fixed an issue causing an error if KML has a clamped to ground LineString with color. #4131
- โ Added logic to
KmlDataSource
defaulting KML Feature node to hidden unless all ancestors are visible. This better matches the KML specification. - ๐ Fixed position of KML point features with an altitude mode of
relativeToGround
andclampToGround
. - โ Added
GeocoderViewModel.keepExpanded
which when set to true will always keep the Geocoder in its expanded state. - โ Added support for
INT
andUNSIGNED_INT
inComponentDatatype
. - โ Added
ComponentDatatype.fromName
for getting aComponentDatatype
from its name. - ๐ Fixed a crash caused by draping dynamic geometry over terrain. #4255
- ๐ฅ Breaking changes
-
v1.24 Changes
August 01, 2016- โ Added support in CZML for expressing
BillboardGraphics.alignedAxis
as the velocity vector of an entity, usingvelocityReference
syntax. - โ Added
urlSchemeZeroPadding
property toUrlTemplateImageryProvider
to allow the numeric parts of a URL, such as{x}
, to be padded with zeros to make them a fixed width. - โ Added leap second just prior to January 2017. #4092
- ๐ Fixed an exception that would occur when switching to 2D view when shadows are enabled. #4051
- ๐ Fixed an issue causing entities to disappear when updating multiple entities simultaneously. #4096
- Normalizing the velocity vector produced by
VelocityVectorProperty
is now optional. - Pack functions now return the result array #4156
- โ Added optional
rangeMax
parameter toMath.toSNorm
andMath.fromSNorm
. #4121 - โ Removed
MapQuest OpenStreetMap
from the list of demo base layers since direct tile access has been discontinued. See the MapQuest Developer Blog for details. - ๐ Fixed PolylinePipeline.generateArc to accept an array of heights when there's only one position #4155
- โ Added support in CZML for expressing
-
v1.23 Changes
July 01, 2016- ๐ฅ 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
-
v1.22.2 Changes
June 14, 2016- ๐ This is an npm only release to fix the improperly published 1.22.1. There were no code changes.
-
v1.22.1 Changes
June 13, 2016- ๐ Fixed default Bing Key and added a watermark to notify users that they need to sign up for their own key.
-
v1.22 Changes
June 01, 2016- ๐ฅ Breaking changes
KmlDataSource
now requiresoptions.camera
andoptions.canvas
.
- โ Added shadows
- See the Sandcastle demo: Shadows.
- Added
Viewer.shadows
andViewer.terrainShadows
. Both are off by default. - Added
Viewer.shadowMap
andScene.shadowMap
for accessing the scene's shadow map. - Added
castShadows
andreceiveShadows
properties toModel
andEntity.model
, and options to theModel
constructor andModel.fromGltf
. - Added
castShadows
andreceiveShadows
properties toPrimitive
, and options to thePrimitive
constructor. - Added
castShadows
andreceiveShadows
properties toGlobe
.
- โ Added
heightReference
to models so they can be drawn on terrain. - โ Added support for rendering models in 2D and Columbus view.
- โ Added option to enable sun position based atmosphere color when
Globe.enableLighting
istrue
. 3439 - ๐ Improved KML NetworkLink compatibility by supporting the
Url
tag. #3895. - โ Added
VelocityVectorProperty
so billboard's aligned axis can follow the velocity vector. #3908 - ๐ Improve memory management for entity billboard/label/point/path visualization.
- โ Added
terrainProviderChanged
event toScene
andGlobe
- โ Added support for hue, saturation, and brightness color shifts in the atmosphere in
SkyAtmosphere
. See the new Sandcastle example: Atmosphere Color. #3439 - ๐ Fixed exaggerated terrain tiles disappearing. #3676
- ๐ Fixed a bug that could cause incorrect normals to be computed for exaggerated terrain, especially for low-detail tiles. #3904
- ๐ Fixed a bug that was causing errors to be thrown when picking and terrain was enabled. #3779
- ๐ Fixed a bug that was causing the atmosphere to disappear when only atmosphere is visible. #3347
- ๐ Fixed infinite horizontal 2D scrolling in IE/Edge. #3893
- ๐ Fixed a bug that would cause a crash is the camera was on the IDL in 2D. #3951
- ๐ Fixed issue where a repeating model animation doesn't play when the clock is set to a time before the model was created. #3932
- ๐ Fixed
Billboard.computeScreenSpacePosition
returning the wrong y coordinate. #3920 - ๐ Fixed issue where labels were disappearing. #3730
- ๐ Fixed issue where billboards on terrain didn't always update when the terrain provider was changed. #3921
- ๐ Fixed issue where
Matrix4.fromCamera
was taking eye/target instead of position/direction. #3927 - โ Added
Scene.nearToFarDistance2D
that determines the size of each frustum of the multifrustum in 2D. - โ Added
Matrix4.computeView
. - โ Added
CullingVolume.fromBoundingSphere
. - โ Added
debugShowShadowVolume
toGroundPrimitive
. - ๐ Fix issue with disappearing tiles on Linux. #3889
- ๐ฅ Breaking changes
-
v1.21 Changes
May 02, 2016- ๐ฅ Breaking changes
- Removed
ImageryMaterialProperty.alpha
. UseImageryMaterialProperty.color.alpha
instead. - Removed
OpenStreetMapImageryProvider
. UsecreateOpenStreetMapImageryProvider
instead.
- Removed
- โ Added ability to import and export Sandcastle example using GitHub Gists. #3795
- โ Added
PolygonGraphics.closeTop
,PolygonGraphics.closeBottom
, andPolygonGeometry
options for creating an extruded polygon without a top or bottom. #3879 - โ Added support for polyline arrow material to
CzmlDataSource
#3860 - ๐ Fixed issue causing the sun not to render. #3801
- ๐ Fixed issue where
Camera.flyTo
would not work with a rectangle in 2D. #3688 - ๐ Fixed issue causing the fog to go dark and the atmosphere to flicker when the camera clips the globe. #3178
- ๐ Fixed a bug that caused an exception and rendering to stop when using
ArcGisMapServerImageryProvider
to connect to a MapServer specifying the Web Mercator projection and a fullExtent bigger than the valid extent of the projection. #3854 - ๐ Fixed issue causing an exception when switching scene modes with an active KML network link. #3865
- ๐ฅ Breaking changes
-
v1.20 Changes
April 01, 2016- ๐ฅ Breaking changes
- Removed
TileMapServiceImageryProvider
. UsecreateTileMapServiceImageryProvider
instead. - Removed
GroundPrimitive.geometryInstance
. UseGroundPrimitive.geometryInstances
instead. - Removed
definedNotNull
. Usedefined
instead. - Removed ability to rotate the map in 2D due to the new infinite 2D scrolling feature.
- Removed
- ๐ Deprecated
- Deprecated
ImageryMaterialProperty.alpha
. It will be removed in 1.21. UseImageryMaterialProperty.color.alpha
instead.
- Deprecated
- โ Added infinite horizontal scrolling in 2D.
- โ Added a code example to Sandcastle for the new 1-meter Pennsylvania terrain service.
- ๐ Fixed loading for KML
NetworkLink
to not append a?
if there isn't a query string. - ๐ Fixed handling of non-standard KML
styleUrl
references within aStyleMap
. - ๐ Fixed issue in KML where StyleMaps from external documents fail to load.
- โ Added translucent and colored image support to KML ground overlays
- ๐ Fix bug when upsampling exaggerated terrain where the terrain heights were exaggerated at twice the value. #3607
- 0๏ธโฃ All external urls are now https by default to make Cesium work better with non-server-based applications. #3650
GeoJsonDataSource
now handles CRSurn:ogc:def:crs:EPSG::4326
- ๐ Fixed
TimeIntervalCollection.removeInterval
bug that resulted in too many intervals being removed. - ๐
GroundPrimitive
throws aDeveloperError
when passed an unsupported geometry type instead of crashing. - ๐ Fix issue with billboard collections that have at least one billboard with an aligned axis and at least one billboard without an aligned axis. #3318
- ๐ Fix a race condition that would cause the terrain to continue loading and unloading or cause a crash when changing terrain providers. #3690
- ๐ Fix issue where the
GroundPrimitive
volume was being clipped by the far plane. #3706 - ๐ Fixed issue where
Camera.computeViewRectangle
was incorrect when crossing the international date line. #3717 - โ Added
Rectangle
result parameter toCamera.computeViewRectangle
. - ๐ Fixed a reentrancy bug in
EntityCollection.collectionChanged
. #3739 - ๐ Fixed a crash that would occur if you added and removed an
Entity
with a path without ever actually rendering it. #3738 - ๐ Fixed issue causing parts of geometry and billboards/labels to be clipped. #3748
- ๐ Fixed bug where transparent image materials were drawn black.
- ๐ Fixed
Color.fromCssColorString
from reusing the inputresult
alpha value in some cases.
- ๐ฅ Breaking changes
-
v1.19 Changes
March 01, 2016- ๐ฅ Breaking changes
PolygonGeometry
now changes the inputCartesian3
values ofoptions.positions
so that they are on the ellipsoid surface. This only affects polygons created synchronously withoptions.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 theCartesian3
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 aoptions
object with requiredcamera
andcanvas
parameters. - Deprecated
definedNotNull
. It will be removed in 1.20. Usedefined
instead, which now checks fornull
as well asundefined
.
- Deprecated
- ๐ Improved KML support.
- Added support for
NetworkLink
refresh modesonInterval
,onExpire
andonStop
. Includes support forviewboundScale
,viewFormat
,httpQuery
. - Added partial support for
NetworkLinkControl
includingminRefreshPeriod
,cookie
andexpires
. - Added support for local
StyleMap
. Thehighlight
style is still ignored. - Added support for
root://
URLs. - Added more warnings for unsupported features.
- Improved style processing in IE.
- Added support for
Viewer.zoomTo
andViewer.flyTo
now accept anImageryLayer
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 inScreenSpaceCameraController
.- โ Added
show
property toCzmlDataSource
,GeoJsonDataSource
,KmlDataSource
,CustomDataSource
, andEntityCollection
for easily toggling display of entire data sources. - โ Added
owner
property toCompositeEntityCollection
. - โ 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 anEllipseGeometry
from having arotation
. - ๐ Fixed crash caused when drawing
CorridorGeometry
andCorridorOutlineGeometry
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
toMatrix2
,Matrix3
andMatrix4
so these can be used as array-like objects. - โ Added
Color.add
,Color.subtract
,Color.multiply
,Color.divide
,Color.mod
,Color.multiplyByScalar
, andColor.divideByScalar
functions to perform arithmetic operations on colors. - โ Added optional
result
parameter toColor.fromRgba
,Color.fromHsl
andColor.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
- ๐ฅ Breaking changes
-
v1.18 Changes
February 01, 2016- ๐ฅ Breaking changes
- Removed support for
CESIUM_binary_glTF
. UseKHR_binary_glTF
instead, which is the default for the online COLLADA-to-glTF converter.
- Removed support for
- ๐ Deprecated
- Deprecated
GroundPrimitive.geometryInstance
. It will be removed in 1.20. UseGroundPrimitive.geometryInstances
instead. - Deprecated
TileMapServiceImageryProvider
. It will be removed in 1.20. UsecreateTileMapServiceImageryProvider
instead.
- Deprecated
- โฌ๏ธ Reduced the amount of CPU memory used by terrain by ~25% in Chrome.
- โ Added a Sandcastle example to "star burst" overlapping billboards and labels.
- โ Added
VRButton
which is a simple, single-button widget that toggles VR mode. It is off by default. To enable the button, set thevrButton
option toViewer
totrue
. Only Cardboard for mobile is supported. More VR devices will be supported when the WebVR API is more stable. - โ Added
Scene.useWebVR
to switch the scene to use stereoscopic rendering. - ๐ Cesium now honors
window.devicePixelRatio
on browsers that support the CSSimageRendering
attribute. This greatly improves performance on mobile devices and high DPI displays by rendering at the browser-recommended resolution. This also reduces bandwidth usage and increases battery life in these cases. To enable the previous behavior, use the following code:javascript if(Cesium.FeatureDetection.supportsImageRenderingPixelated()){ viewer.resolutionScale = window.devicePixelRatio; }
- ๐
GroundPrimitive
now supports batching geometry for better performance. - Improved compatibility with glTF KHR_binary_glTF and KHR_materials_common extensions
- โ Added
ImageryLayer.getViewableRectangle
to make it easy to get the effective bounds of an imagery layer. - Improved compatibility with glTF KHR_binary_glTF and KHR_materials_common extensions
- ๐ Fixed a picking issue that sometimes prevented objects being selected. #3386
- ๐ Fixed cracking between tiles in 2D. #3486
- ๐ Fixed creating bounding volumes for
GroundPrimitive
s whose containing rectangle has a width greater than pi. - ๐ Fixed incorrect texture coordinates for polygons with large height.
- ๐ Fixed camera.flyTo not working when in 2D mode and only orientation changes
- โ Added
UrlTemplateImageryProvider.reinitialize
for changing imagery provider options without creating a new instance. UrlTemplateImageryProvider
now accepts a promise to anoptions
object in addition to taking the object directly.- ๐ Fixed a bug that prevented WMS feature picking from working with THREDDS XML and msGMLOutput in Internet Explorer 11.
- โ Added
Scene.useDepthPicking
to enable or disable picking using the depth buffer. #3390 - โ Added
BoundingSphere.fromEncodedCartesianVertices
to create bounding volumes from parallel arrays of the upper and lower bits ofEncodedCartesian3
s. - โ Added helper functions:
getExtensionFromUri
,getAbsoluteUri
, andMath.logBase
. - โ Added
Rectangle.union
andRectangle.expand
. - ๐ TMS support now works with newer versions of gdal2tiles.py generated layers.
createTileMapServiceImageryProvider
. Tilesets generated with older gdal2tiles.py versions may need to have theflipXY : true
option set to load correctly.
- ๐ฅ Breaking changes