Skip to content
GuidesToolkitAPI

GeoElementViewshedProps

GeoElementViewshedProps = object

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2031

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: packages/expo-arcgis/src/ExpoArcgis.types.ts:2045

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


headingOffset: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2037

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


horizontalAngle: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2033

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


optional maxDistance?: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2043

Far clipping distance from the observer, in meters.


optional minDistance?: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2041

Near clipping distance from the observer, in meters.


pitchOffset: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2039

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


verticalAngle: number

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:2035

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