react-native-google-maps-directions
react-native-google-maps-directions copied to clipboard
🚕 Get direction using Google Maps in React Native 🚗
Could not open the url: https://www.google.com/maps/dir/?api=1&travelmode=driving&dir_action=navigate&destination=-6.4155281732857%2C106.80307019501998
everything was work on expo but in react native I get an possible Unhandled Promise Rejection (id: 0): Error: Could not open the url: https://www.google.com/maps/dir/?api=1&travelmode=driving&dir_action=navigate&destination=*%2C2* what should ı do?
Nice package! Is there plans to add a @types package for this to stop TS complaining when it's used?
RN version: 0.60 Package version: 2.1.1 This is the data I supplay to getDirections method: ` const data = { source: { latitude: Number(checkpoints[0].address.lat), longitude: Number(checkpoints[0].address.lng), }, destination: { latitude:...
How i identify in my app that user is reached his destination ? Any callback?
I'm trying to set latitude and longitude destination from a value that I had. But it return blank when open up in google maps. handleGetDirections = (latitude, longitude) => {...
I have installed react-native-google-map-directions version 2.1.1. I added the following lines in the AndroidManifest.xml file **my code is:** const openMap=(item)=>{ let data={ destination:{ latitude:item.latitude, longitude:item.longitude }, params:[{ key:"travelmode", value:"driving" }],...