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
Name | Type | Required | Description |
---|---|---|---|
throttleValue | Number | Yes | event throttle value in ms. |
locationManager.setLocationEventThrottle(500);