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.
- Cesium element: CesiumWidget
- Example: CesiumWidget
Availability
Everywhere. CesiumWidget is a root component.
Properties
Cesium properties
| Property | Type | Description |
|---|---|---|
| resolutionScale | number | |
| useDefaultRenderLoop | boolean | |
| targetFrameRate | number | |
| useBrowserRecommendedResolution | boolean | |
| allowDataSourcesToSuspendAnimation | boolean | |
| trackedEntity | Entity | |
| clockTrackedDataSource | DataSource | |
| terrainProvider | TerrainProvider | |
| creditDisplay | CreditDisplay |
Cesium read-only properties
| Property | Type | Description |
|---|---|---|
| shadows | boolean | |
| ellipsoid | Ellipsoid | |
| creditContainer | string | Element | |
| creditViewport | string | Element | |
| dataSources | DataSourceCollection | |
| clock | Clock | |
| shouldAnimate | boolean | |
| baseLayer | false | ImageryLayer | |
| terrain | Terrain | |
| skyBox | false | SkyBox | |
| skyAtmosphere | false | SkyAtmosphere | |
| sceneMode | SceneMode | |
| scene3DOnly | boolean | |
| orderIndependentTranslucency | boolean | |
| mapProjection | MapProjection | |
| globe | false | Globe | |
| showRenderLoopErrors | boolean | |
| automaticallyTrackDataSourceClocks | boolean | |
| contextOptions | ContextOptions | |
| terrainShadows | ShadowMode | |
| mapMode2D | MapMode2D | |
| blurActiveElementOnCanvasFocus | boolean | |
| requestRenderMode | boolean | |
| maximumRenderTimeChange | number | |
| msaaSamples | number |
Cesium events
N/A
Other properties
N/A