Skip to content

LocationDisplay

LocationDisplay = object

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

Device-location display for a <MapView>. Providing it enables location (starts the GPS).

optional autoPanMode?: LocationDisplayAutoPanMode

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

How the view follows the device. Defaults to recenter.


optional showLocation?: boolean

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

Whether to draw the location symbol. Defaults to true.


optional source?: "system" | { route: Geometry; speed?: number; type: "simulated"; }

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

The location data source. 'system' (device GPS, the default) or a simulated source that drives the location along a route polyline — handy for testing without real movement.


optional wanderExtentFactor?: number

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

How far the location can wander before the view re-pans, as a factor of the symbol size.