Skip to content
Guides API

GeoElementViewshedProps

GeoElementViewshedProps = object

Defined in: src/ExpoArcgis.types.ts:1552

Props for a GeoElement-anchored <Viewshed> — the viewshed follows a <Graphic> as it moves. Mirrors the native ExploratoryGeoElementViewshed. 3D only (rendered in a <SceneView>). Use instead of ViewshedProps when you want the observer to track a graphic’s position.

optional frustumOutlineVisible?: boolean

Defined in: src/ExpoArcgis.types.ts:1566

Whether to draw the viewshed frustum outline. Defaults to false.


headingOffset: number

Defined in: src/ExpoArcgis.types.ts:1558

Heading offset from the graphic’s heading, in degrees.


horizontalAngle: number

Defined in: src/ExpoArcgis.types.ts:1554

Horizontal field-of-view angle, in degrees (0–360).


optional maxDistance?: number

Defined in: src/ExpoArcgis.types.ts:1564

Far clipping distance from the observer, in meters.


optional minDistance?: number

Defined in: src/ExpoArcgis.types.ts:1562

Near clipping distance from the observer, in meters.


pitchOffset: number

Defined in: src/ExpoArcgis.types.ts:1560

Pitch offset from the graphic’s pitch, in degrees.


verticalAngle: number

Defined in: src/ExpoArcgis.types.ts:1556

Vertical field-of-view angle, in degrees (0–180).