MapView InitialRegion ignored when using google provider on IOS

I’m trying to use the MapView with Google Maps on iOS. However the initialRegion that I set is being ignored and the map always loads zoomed out to the maximum level when provider is set to “google” (Works normally with iOS maps).

I found this issue on the react-native-maps repo which addresses the exact same problem: https://github.com/react-community/react-native-maps/issues/2140

It is supposedly fixed in sdk26, but I have sdk26 and I’m still getting the same problem.

My dependencies:

"expo": "^26.0.0",
"react": "16.3.0-alpha.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-26.0.0.tar.gz"

1m
This doesn’t work in SDK 26 (verified that here) but it sounds like the fix may have been made in master of React Native Maps so it should get propagated to SDK 27 I think.

Repro of it not working in SDK 26. Map zoom - Snack

Thank you for the response. Any estimate of when SDK 27 will be released?
Also, are you aware of any workarounds that can be used to initialize the map at the user’s location

1 Like

+1
I got the same issue and want to know when expo is updated…

Guessing about two weeks but can’t promise an exact time

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.