Skip to content

Maps not working, need help #25

@zulqarnain-26

Description

@zulqarnain-26

Screenshot URL: https://ibb.co/P13b5nL

I ran this package and screen shows just a static view of map. I added a google map api key as told in this link but nothing is working: "https://stackoverflow.com/questions/59504789/how-to-integrate-open-street-map-in-react-native"

import MapView, { PROVIDER_OSMDROID } from "react-native-maps-osmdroid";

<MapView
style={{ flex: 1 }}
provider={PROVIDER_OSMDROID}
initialRegion={{
latitude: 30.7333,
longitude: 76.7794,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
/>

React Native: 0.63.4
"react-native-maps-osmdroid": "0.26.1-rc1",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions