Skip to content

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 native ExploratoryLocationViewshed.
  • GeoElement-anchored (GeoElementViewshedProps + graphic): observer follows a <Graphic> as it moves — mirrors the native ExploratoryGeoElementViewshed.

Both modes draw on the nearest <AnalysisOverlay> (3D / <SceneView> only).

ViewshedProps | GeoElementViewshedProps & object

null