Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maps not working, need help #25

Open
zulqarnain-26 opened this issue Jan 25, 2021 · 0 comments
Open

Maps not working, need help #25

zulqarnain-26 opened this issue Jan 25, 2021 · 0 comments

Comments

@zulqarnain-26
Copy link

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",

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

No branches or pull requests

1 participant