Creates a new TerrainVisualizer
.
The Cesium viewer instance
Optional
options: TerrainVisualizer.ConstructorOptionsPrivate
_collectionPrivate
_colorsPrivate
Optional
_hybridPrivate
_levelPrivate
_tilePrivate
_viewerPrivate
_visibleThe collection used in the visualizer.
The current zoom level set on the visualizer.
Set zoom level on the visualizer.
The viewer used in the visualizer
Whether the grid is currently visible.
Private
_getPrivate
Gets the rectangle representing the current view.
The current view rectangle or undefined.
Clears all visualizations.
Flies the camera to focus on a terrain area.
The terrain area to focus on.
Optional
options: { duration?: number }Viewer.flyTo
Hides the tile grid.
Sets the colors used for visualization.
Map of role names to colors
Sets the terrain provider to visualize.
The terrain provider to visualize.
Shows a grid of tiles at the specified level.
The zoom level to visualize
Updates all active visualizations.
Utility class for visualizing terrain provider boundaries and debugging terrain loading.