-
Notifications
You must be signed in to change notification settings - Fork 694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to stop refreshing user location after first centering the map? #222
Comments
@nbastoWM |
This will land if update to android |
The problem is that the behavior of onRegionChange is not the same on Android and iOS. If you look at the doc, you'll see: |
It would be great if we could get the user location when the map launches to set the But there's currently some bug with the |
3.0.1 landed a long time ago and this has been fixed since. Also, since 5.0.0, Closing this. |
On
onRegionChange
I add an annotation for the current location.I use
userTrackingMode={this.userTrackingMode.follow}
but in Android the annotation is always changing in very small steps and I can't pan the map because it recenters immediately. In iOS it's fine, it centers the map where you are, in the beginning, but then I can pan and zoom.If i set userTrackingMode to
none
I cannot center the map in my current location.How can I center the map in my location only in the beginning but then allow the user to move the map?
The text was updated successfully, but these errors were encountered: