Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Better default region parameters #22

Open
FelixButzbach opened this issue Jan 15, 2019 · 0 comments
Open

Better default region parameters #22

FelixButzbach opened this issue Jan 15, 2019 · 0 comments

Comments

@FelixButzbach
Copy link

I just spent about 2 hours searching for a solution to a problem that wasn't actually a problem...

When using the MapObject that is created when adding the maps plugin, the initial view is somewhere in the middle of the ocean, the complete map is only blue. So I thought it was broken...

But changing the initial region values to the ones from the react-native-maps examples, it shows a (real) map and even the default markers...
Those are the values:

const region = { latitude: 37.78825, longitude: -122.4324, latitudeDelta: 0.0922, longitudeDelta: 0.0421}

Maybe this can be update in a future update?

Thanks for the plugin, anyways :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant