Viewshed
Viewshed(
props):null
Defined in: src/Viewshed.tsx:26
Declarative exploratory viewshed — the area visible from an observer.
Two modes:
- Location-based (
ViewshedProps): fixed observer point — mirrors the nativeExploratoryLocationViewshed. - GeoElement-anchored (
GeoElementViewshedProps + graphic): observer follows a<Graphic>as it moves — mirrors the nativeExploratoryGeoElementViewshed.
Both modes draw on the nearest <AnalysisOverlay> (3D / <SceneView> only).
Parameters
Section titled “Parameters”ViewshedProps | GeoElementViewshedProps & object
Returns
Section titled “Returns”null