Releases: reearth/resium
Releases Β· reearth/resium
v1.0.0
Breaking Changes
- 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:
Features
- 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:
Chore
- Add unit tests with Jest instead of Karma
- Upgrade dependencies
v1.0.0-rc.3
v1.0.0-rc.3
v1.0.0-rc.2
chore: fix ci config
v1.0.0-rc.1
v1.0.0-rc.1
v1.0.0-beta.2
v1.0.0-beta.2
v1.0.0-beta.1
v1.0.0-beta.1