michalchudziak / react-native-geolocation

Geolocation APIs for React Native
MIT License
1.31k stars 228 forks source link

Issue when initializing position on Map #279

Open scipriani opened 11 months ago

scipriani commented 11 months ago

Hi, I'm using the library and it works like a charm. I show the user location on a MapView(the library is react-native-maps) with showsUserLocation={true}. I initialize the map centering it on the location I get from Geolocation.getCurrentPosition and sometimes(not always) on android the user location from MapView(the blue spot) is different from the location I obtain from Geolocation. Why do I get this behaviour? Is this a known issue?

I would like to be centered on the blue spot.

Thanks in advance.

lucas-samuel01 commented 10 months ago

The same thing occurs to me when using the mapbox lib