LocationDisplay
LocationDisplay =
object
Defined in: src/ExpoArcgis.types.ts:104
Device-location display for a <MapView>. Providing it enables location (starts the GPS).
Properties
Section titled “Properties”autoPanMode?
Section titled “autoPanMode?”
optionalautoPanMode?:LocationDisplayAutoPanMode
Defined in: src/ExpoArcgis.types.ts:106
How the view follows the device. Defaults to recenter.
showLocation?
Section titled “showLocation?”
optionalshowLocation?:boolean
Defined in: src/ExpoArcgis.types.ts:108
Whether to draw the location symbol. Defaults to true.
source?
Section titled “source?”
optionalsource?:"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.
wanderExtentFactor?
Section titled “wanderExtentFactor?”
optionalwanderExtentFactor?: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.