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