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

Better default region parameters #22

@FelixButzbach

Description

@FelixButzbach

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions