Skip to content

Fix initialRegion when using RN 0.54#2131

Merged
rborn merged 2 commits intoreact-native-maps:masterfrom
lachenmayer:initialregion
Mar 28, 2018
Merged

Fix initialRegion when using RN 0.54#2131
rborn merged 2 commits intoreact-native-maps:masterfrom
lachenmayer:initialregion

Conversation

@lachenmayer
Copy link
Contributor

See #2100 for discussion.

@rborn
Copy link
Collaborator

rborn commented Mar 27, 2018

@lachenmayer how does this influence the lower versions of RN ?

@Agontuk
Copy link
Contributor

Agontuk commented Mar 28, 2018

AFAIK, this'll work fine in previous versions too. I tested it with RN 0.52 and 0.54, both worked fine.

@rborn rborn merged commit d0cbac6 into react-native-maps:master Mar 28, 2018
MichielDeMey added a commit to MichielDeMey/react-native-maps that referenced this pull request Mar 29, 2018
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
* Fix initialRegion being zoomed out as described in react-native-maps#2100

* Start ignoring setInitialRegion calls once the map view is in the window rather than when the map is ready
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants