react-native-maps-directions icon indicating copy to clipboard operation
react-native-maps-directions copied to clipboard

How to Use Route API Key Instead of Directions API Key in Google Maps

Open WebtualUtsav opened this issue 11 months ago • 4 comments

How to Replace Google Directions API (Legacy) with the Route API for Realtime Navigation in React Native

WebtualUtsav avatar Mar 07 '25 10:03 WebtualUtsav

I have this problem using expo with react-native ;(

leocastroz avatar Mar 12 '25 20:03 leocastroz

Google has deprecated the Directions API (see announcement). If you haven't configured it before, it won't be supported anymore.

🔹 Solution: You should use the Routes API instead. Check out the migration guide and update your implementation accordingly.

For React Native, you can use this library: 🔗 react-native-maps-routes, which works with the new Routes API.

Hope this helps! 🚀 Let me know if you need further clarification.

Mr-emeka avatar Mar 14 '25 09:03 Mr-emeka

Thanks bro!!

leocastroz avatar Mar 14 '25 14:03 leocastroz

@Mr-emeka how to use multi waypoint in [react-native-maps-routes]

Hamzaahmed409 avatar Mar 18 '25 08:03 Hamzaahmed409