Open mbrucher opened 5 years ago
Do you still experience this problem?
Yes, currently, I have to use the original react-native-maps instead :(
Having the same issue, but only on release version of the app.
Try giving it a style
const { width, height } = Dimensions.get('window');
inside your return put
<MapView initialRegion={{ latitude: 37.78825, longitude: -122.4324, latitudeDelta: 0.0922, longitudeDelta: 0.0421, }} style={{height: height, width: width}} />
Not having a defined size was my problem. This should be called out in the README I would think. Spent a long time trying to figure out why nothing was rendering!
Is this a bug report?
Yes
Have you read the Installation Instructions?
As far as I know, everything was installed properly.
Environment
Target Platform: Android Pixel 3a, API 29 (emulator and Nokia 7+)
Steps to Reproduce
I added a Map in a View like this:
Expected Behavior
Should display a map.
Actual Behavior
The map stays grey (interaction works).
I suppose I missed a step while installing the package, but I can't figure out what.