Skip to main content

locationManager

import { locationManager } from '@rnmapbox/maps';

locationManager

LocationManager is a singleton, see

methods

setLocationEventThrottle(throttleValue)

Sets the period at which location events will be sent over the React Native bridge.
The default is 0, aka no limit. [V10, iOS only]

arguments

NameTypeRequiredDescription
throttleValueNumberYesevent throttle value in ms.
locationManager.setLocationEventThrottle(500);