Skip to content
GuidesToolkitAPI

LocationButtonProps

LocationButtonProps = object

Defined in: packages/expo-arcgis-toolkit/src/LocationButton.tsx:8

optional alignment?: AccessoryAlignment

Defined in: packages/expo-arcgis-toolkit/src/LocationButton.tsx:10

Where in the map view the button sits.

'topLeading'

optional autoPanModes?: LocationDisplayAutoPanMode[]

Defined in: packages/expo-arcgis-toolkit/src/LocationButton.tsx:15

The auto-pan modes a tap cycles through while the location shows. With 'off' among them, a long press stops the location display.

the Toolkit's modes