LocationButton
LocationButton(
props):Element|null
Defined in: packages/expo-arcgis-toolkit/src/LocationButton.tsx:31
The ArcGIS Toolkit’s location button, drawn over its <MapView>. A tap starts the map’s location
display, then cycles through its auto-pan modes. It drives the same location display as the
<MapView>’s locationDisplay prop. Place it inside the <MapView>.
<MapView style={{ flex: 1 }}> <LocationButton autoPanModes={['recenter', 'compassNavigation']} /></MapView>Parameters
Section titled “Parameters”Returns
Section titled “Returns”Element | null
Platform
Section titled “Platform”ios — the Kotlin Toolkit has no location button; on Android it renders nothing.