Skip to main content

CesiumWidget

CesiumWidget is the simplest root component of resium. All components of resium except the root components have to be mounted inside it.

Viewer is also a root component. It is a component with some widgets (info box, timeline, and so on) added to CesiumWidget.

Availability

Everywhere. CesiumWidget is a root component.

Properties

Cesium properties

PropertyTypeDescription
resolutionScalenumber
useDefaultRenderLoopboolean
targetFrameRatenumber
useBrowserRecommendedResolutionboolean
allowDataSourcesToSuspendAnimationboolean
trackedEntityEntity
clockTrackedDataSourceDataSource
terrainProviderTerrainProvider
creditDisplayCreditDisplay

Cesium read-only properties

PropertyTypeDescription
shadowsboolean
ellipsoidEllipsoid
creditContainerstring | Element
creditViewportstring | Element
dataSourcesDataSourceCollection
clockClock
shouldAnimateboolean
baseLayerfalse | ImageryLayer
terrainTerrain
skyBoxfalse | SkyBox
skyAtmospherefalse | SkyAtmosphere
sceneModeSceneMode
scene3DOnlyboolean
orderIndependentTranslucencyboolean
mapProjectionMapProjection
globefalse | Globe
showRenderLoopErrorsboolean
automaticallyTrackDataSourceClocksboolean
contextOptionsContextOptions
terrainShadowsShadowMode
mapMode2DMapMode2D
blurActiveElementOnCanvasFocusboolean
requestRenderModeboolean
maximumRenderTimeChangenumber
msaaSamplesnumber

Cesium events

N/A

Other properties

N/A