-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fixed onMapReady no longer getting called on iOS #1853
Fixed onMapReady no longer getting called on iOS #1853
Conversation
LGTM |
I'm using the latest version and Thanks! |
Same here, running 0.19.0 with Google Maps on iOS and it only fires on the first map load. InitialRegion is working now party but doesn't seem to respect the delta and is very zoomed out. @vendramini are you seeing that as well? |
@vendramini are you using GoogleMaps iOS? No, this PR not released yet. Please try @emilefleming Could you please open an issue for that? As this PR does not touch GoogleMaps |
@alvelig sure thing. |
@alvelig no, I'm using apple maps. EDIT Thanks. |
@vendramini Sure, with npm you just get the same but through npm and released under some tag (version). Of course, it's better to keep npm version in package.json, because it gives you version control (exact version, not higher than, etc). |
@IjzerenHein @alvelig this doesn't seem to work in the latest release? I still experience the following; I removed cache, rebuilt etc.
|
Seems this hasn't been released yet to npm, you should use the master branch from github until that is done |
@christopherdro do we need to push a new version to npm ? thnx cc: @alvelig |
Hi, this fixes onMapReady no longer getting called correctly in v0.18.x.
Due to this commit (https://github.com/airbnb/react-native-maps/pull/1797/files#diff-8a72baa08460d22c71989ddcbf76d49f),
onMapReady
was only called when the very first MapView was rendered for the very first time. After unmounting/mounting, or rendering any other MapView, onMapReady would be never called.