Skip to main content

<NativeUserLocation />

Props

PropTypeDefaultRequiredDescription
androidRenderMode"normal" | "compass" | "gps"nonefalseAndroid render mode.

- normal: just a circle
- compass: triangle with heading
- gps: large arrow

@platform android
iosShowsUserHeadingIndicatorbooleannonefalseiOS only. A Boolean value indicating whether the user location annotation may display a permanent heading indicator.

@platform ios
androidPreferredFramesPerSecondnumbernonefalseAndroid only. Set max FPS at which location animators can output updates. Use this setting to limit animation rate of the location puck on higher zoom levels to decrease the stress on the device's CPU which can directly improve battery life, without sacrificing UX.