- Fix models are not created correctly (#559)
- Update dependencies
- Support Cesium v1.95 features
- Support React v18
- When an unknown property is passed to a component, it used to be ignored, but has been changed to set the property to the Cesium object
- Fix ParticleSystem not destroyed expectedly (#535)
- Use Vite as a build tool
- Fix EntityDescription is not displayed on the first time entity selection (#518)
- Upgrade dependencies
- Decrepate EntityStaticDescription component - use EntityDescription component or description prop of Entity component instead
- Fix react-dom/server.browser import error
- Support properties that are available with Cesium v1.85
- Add CameraLookAt, CumlusCloud, and CloudCollection component
- Add event props (onClick, onMouseEnter, onMouseLeave, ...etc) to KMLDataSource, CzmlDataSource, GeoJsonDataSource, and CustomDataSource
- Event handlers no longer receive entities and primitives directly (See more)
- Complete ScreenSpaceEventHandler action type #485
- Properties not correctly updated
- Cesium3DTileset style prop does not work (#477)
- Use Docusaurus
- Change documentation URL
- Update installation, getting started and guide page
- Update and add examples
- Update dependencies
- Use microbundle for a JavaScript bundler
- Refactor type tests
- Resium does not work in create-react-app env (#438)
EntityDescription
component does not render description in infobox (#436)
- Update dependencies
ClassificationPrimitive
component (#429)
PointGraphics
component does not display a point correctlyGroundPolylinePrimitive
component is not exported (#423)
- Upgrade storybook to v6
- Update example project: use react-refresh instead of react-hot-loader
- Fix typo in documentation (#421)
- Change
useCesium
hook type - Change type parameters of
createCesiumComponent
function - Change
containerProps
type in options ofcreateCesiumComponent
function
- Resium uses Cesium's official type definitions since v1.70.
@types/cesium
is no longer needed. - Resium's components properties now support all the properties supported by Cesium by following Cesium's type definitions.
- All properties type except Cesium event props follow Cesium's type definitions.
- Mouse event on primitives (#324)
- CameraFlyXXX component:
onComplete
event is not called - Upgrade deps
Note: some breaking changes are included
- Add props:
- Globe:
backFaceCulling
prop - Scene:
light
prop
- Globe:
- Fix
- Upgrade deps
- fix: error on destorying model (#189)
- build: fix rollup config
- Introduce Renovate
- change:
EntityDescription
is reimplemented with React Portal (enable to use any event or dynamic state in children) - add:
EntityStaticDescription
component that behaves like a conventional EntityDescription component - Upgrade deps
- Fix: expose cesiumElement in ref correctly when component is mounted
- Breaking Changes:
- Drop support for React <= v16.7
- Internal code is implemented with React Hooks
- Some exported types are changed (TypeScript)
- Add API:
useCesium
hooksShadowMap
component
- Add props:
- Viewer, CesiumWidget:
onClick
,onDoubleClick
,onMouseDown
,onMouseUp
,onMiddleClick
,onMiddleDown
,onMiddleUp
,onMouseMove
,onPinchEnd
,onPinchMove
,onPinchStart
,onRightClick
,onRightDown
,onRightUp
,onWheel
,onMouseEnter
,onMouseLeave
- Cesium3DTileset, Model:
onClick
,onDoubleClick
,onMouseDown
,onMouseUp
,onMiddleClick
,onMiddleDown
,onMiddleUp
,onMouseMove
,onPinchEnd
,onPinchMove
,onPinchStart
,onRightClick
,onRightDown
,onRightUp
,onMouseEnter
,onMouseLeave
- CameraFlyHome, CameraFlyTo, CameraFlyToBoundingSphere:
once
- Viewer, CesiumWidget:
- Rename props:
- CameraFlyHome, CameraFlyTo, CameraFlyToBoundingSphere:
cancelCameraFlight
->cancelFlightOnUnmount
- CameraFlyHome, CameraFlyTo, CameraFlyToBoundingSphere:
- Remove props:
- Globe:
onTileLoad
(because its event is removed from Cesium's Globe object) - Entity, Primitive, GroundPrimitive, Label, Polyline, PointPrimitive, Billboard:
onWheel
(because it did not work well from the beginning)
- Globe:
- Others:
- Reorgranize PostProcessStage/Composite components
- Fix some bugs
- Upgrade deps
- add
- EllipsoidGraphics:
innerRadii
,maximumClock
,maximumCone
,minimumClock
,minimumCone
properties - KmlDataSource, GeoJsonDataSource, CzmlDataSource, Model:
credit
property - Cesium3DTileset:
cullRequestsWhileMoving
,cullRequestsWhileMovingMultiplier
,preloadWhenHidden
,preloadFlightDestinations
,preferLeaves
,progressiveResolutionHeightFraction
,foveatedScreenSpaceError
,foveatedConeSize
,foveatedMinimumScreenSpaceErrorRelaxation
,foveatedInterpolationCallback
,foveatedTimeDelay
properties - Viewer, CesiumWidget:
useBrowserRecommendedResolution
property
- EllipsoidGraphics:
- doc
- Optimize some assets
- Add example links to each component page
- chore
- Upgrade deps
- add
SkyBox
component (#109)
- fix
- expose
GroundPrimitive
andGroundPrimitiveCollection
(#110) - typo: SkyAtmosphereContext
- expose
- chore
- upgrade deps
- add
SkyAtmosphere
component
- change
- export types in core: e.g.
CesiumInsideComponentType
(#103)
- export types in core: e.g.
- fix
- doc
- update installation guide
- add and update webpack config to example
- chore: upgrade deps
- fix
- cannot update properties of Label component (#92)
- fix component names
- remove: terrainExaggeration property from Scene component
- refactor: change folder structure (#87 by @imvan32)
- chore: upgrade deps
- fix: typo (#74)
- fix: dependencies
- change: type of CesiumComponent's ref and CesiumComponent.getCesiumEventMap
- fix: remove console.log
- chore: upgrade dependencies
- Fix error on unmount (#70)
- Add
GroundPrimitive
andGroundPrimitiveCollection
component (#67)
- Doc
- Example page is available! (#65)
- Add link of craco-cesium in installation page
- Show source code in storybook (#66)
- Chore
- fix: unexpected rendering (#46)
- Change
- Viewer: Enable to disable default imagery provider (#50)
- Decrepated
- Globe:
ellipsoid
,imageryLayers
(because they are unchangeable)
- Globe:
- Upgrade dependencies
- Update documentation
- fix: GeoJsonDataSource describe error (#48)
- New properties for Cesium v1.53
- Scene, Cesium3DTileset, Model:
specularEnvironmentMaps
,sphericalHarmonicCoefficients
- Cesium3DTileset, Model:
luminanceAtZenith
- Scene, Cesium3DTileset, Model:
- Upgrade dependencies
- Update documentation
- Resium has been fully reimplemented in TypeScript.
- New React component life cycle and context API from v16.3 is supported.
- React v16.2 or lower is no longer supported.
- PropType (
prop-type
module) is no longer used. - Entity: children is no longer rendered as description. Use
EntityDescription
component insted. - Kml/GeoJson/CzmlDataSource:
url
andczml
props have been integrated todata
prop. - Some props have been renamed.
- Entity:
onSelectedEntityChanged
=>onSelectedEntityChange
,onTrackedEntityChanged
=>onTrackedEntityChange
- Scene:
morph
=>morphDuration
- Camera, Kml/GeoJson/Czml/CustomDataSource:
onChanged
=>onChange
- Viewer:
selectedEntityChanged
=>selectedEntityChange
,onTrackedEntityChanged
=>onTrackedEntityChange
- Entity:
- Some Cesium props have been become read only.
- CesiumWidget:
clock
,imageryProvider
,terrainProvider
,skyBox
,skyAtmosphere
,sceneMode
,scene3DOnly
,orderIndependentTranslucency
,mapMode2D
,mapProjection
,globe
,showRenderLoopErrors
,contextOptions
,creditContainer
,creditViewport
,terrainExaggeration
,shadows
,terrainShadows
,requestRenderMode
,maximumRenderTimeChange
- Primitive:
allowPicking
- Entity:
id
- CesiumWidget:
- Some props have been decrepated.
- All:
onMount
,onUpdate
,onUnmount
- GeoJsonDataSource:
onProgress
,clock
- CzmlDataSource:
onProgress
,query
,clock
- KmlDataSource:
onProgress
,proxy
,query
,clock
- Camera:
view
,viewBoundingSphere
- Scene:
canvas
,mapProjection
- All:
- New components
- Billboard
- BillboardCollection
- BoxGraphics
- Cesium3DTileset
- Clock
- CorriderGraphics
- CylinderGraphics
- EllipseGraphics
- EllipsoidGraphics
- EntityDescription
- Fog
- Globe
- ImageryLayerCollection
- Label
- LabelCollection
- LabelGraphics
- Model
- ModelGraphics
- Moon
- ParticleSystem
- PathGraphics
- PlaneGraphics
- PointGraphics
- PolygonGraphics
- Polyline
- PolylineCollection
- PolylineGraphics
- PolylineVolumeGraphics
- PostProcessStage
- PostProcessStageComposite
- RectangleGraphics
- Sun
- TimeDynamicPointColud
- New properties
- Viewer:
allowDataSourcesToSuspendAnimation
,clockTrackedDataSource
,resolutionScale
- CesiumWidget:
resolutionScale
- Entity:
selected
,tracked
- Primitive:
allowPicking
,vertexCacheOptimize
- KmlDataSource:
ellipsoid
- ImargeryLayer:
cutoutRectangle
- Scene:
onPreUpdate
,requestRenderMode
,maximumRenderTimeChange
,logarithmicDepthBuffer
,logarithmicDepthFarToNearRatio
- Entity, Billboard, Label, PointPrimtive, Polyline, Primitive:
onClick
,onDoubleClick
,onMouseDown
,onMouseUp
,onMiddleClick
,onMiddleDown
,onMiddleUp
,onMouseMove
,onPinchEnd
,onPinchMove
,onPinchStart
,onRightClick
,onRightDown
,onRightUp
,onWheel
,onMouseEnter
,onMouseLeave
- Viewer:
- Add unit tests with Jest instead of Karma
- Upgrade dependencies
- Viewer:
requestRenderMode
,maximumRenderTimeChange
prop
- Upgrade dependencies
- Update documantation and example
- Update linter config
- Fix rollup config
- Camera: remove
continueCameraFlight
prop and addcancelCameraFlight
prop instead.
- Entity: JSX Children of Entity components are rendered as description
- Camera:
view
andviewBoundingSphere
prop
- Fix import:
react-dom/server.browser
- Fix error when viewer initialization is failed.
- Introduce Prettier
- Refactor
- First release