Remapgl
Edit page
Getting Started
API
AttributionGeolocatePropsLayerMapMarkerNavigationPopupScale
Guides

Geolocate

The <Geolocate/> component is a child of Map, it creates the geolocate control in the map that allows the map to go to the user's current location.

Props

fitBoundsOptions
FitBoundsOptions | undefined
position
"top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined
positionOptions
PositionOptions | undefined
showUserLocation
boolean | undefined
trackUserLocation
boolean | undefined