MapView InitialRegion ignored when using google provider on IOS

#1

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"
#2

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. https://snack.expo.io/SyOHzQpiG

#3

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
#4

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

#5

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

1 Like
closed #6

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