Skip to 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.

Everywhere. CesiumWidget is a root component.

<CesiumWidget full />
PropertyTypeDescription
resolutionScalenumber
useDefaultRenderLoopboolean
targetFrameRatenumber
useBrowserRecommendedResolutionboolean
allowDataSourcesToSuspendAnimationboolean
trackedEntityEntity | undefined
clockTrackedDataSourceDataSource
terrainProviderTerrainProvider
creditDisplayCreditDisplay
PropertyTypeDescription
shadowsboolean | undefined
ellipsoidEllipsoid | undefined
creditContainerstring | Element | undefined
creditViewportstring | Element | undefined
dataSourcesDataSourceCollection | undefined
clockClock | undefined
shouldAnimateboolean | undefined
baseLayerfalse | ImageryLayer | undefined
terrainTerrain | undefined
skyBoxfalse | SkyBox | undefined
skyAtmospherefalse | SkyAtmosphere | undefined
sceneModeSceneMode | undefined
scene3DOnlyboolean | undefined
orderIndependentTranslucencyboolean | undefined
mapProjectionMapProjection | undefined
globefalse | Globe | undefined
showRenderLoopErrorsboolean | undefined
automaticallyTrackDataSourceClocksboolean | undefined
contextOptionsContextOptions | undefined
terrainShadowsShadowMode | undefined
mapMode2DMapMode2D | undefined
blurActiveElementOnCanvasFocusboolean | undefined
requestRenderModeboolean | undefined
maximumRenderTimeChangenumber | undefined
msaaSamplesnumber | undefined

N/A

N/A