maplibre-react-native
maplibre-react-native copied to clipboard
Maplibre.UserLocation doesn't work
trafficstars
Hello,
We found a a bug?, when we tried to use MapLibreGL.UserLocaton and FollowUserLocation with Maplibre 10
<MapLibreGL.UserLocation androidRenderMode="compass" showsUserHeadingIndicator={true} onUpdate={onLocationUpdate} /> <MapLibreGL.Camera ref={cameraRef} {...mapOption} followUserMode='normal' />
We call this code snipppet from async function. The problems are the following:
- the userlocation is sometimes work but not correct sometimes not work
- the followUserMode doesn't work
We use Maplibre 10 and they are don't work but in the Maplibre 9 location okk Following works on emulator but doesn't work on phone Google Pixel
Thank you for your help.