I have done some research and i found that adding multiple destination is possible through google map website and one can send the entire navigation plan to google map android app it works perfect.
But in my case i want to generate multiple destination navigation url dynamically through my app and pass it via intent to open google map app in phone. How can this be achieved any ideas would be helpfull .
With many people looking to sneak one more getaway into their summer plans, we've launched multi-stop directions for Google Maps on iOS (already available on Android). Here's how it works: Just open the app, enter a destination, tap the corner menu, and then tap “Add stop”.
You may generate multiple destination by requesting 'https://maps.googleapis.com/maps/api/directions/json?'. However, you are limited up to 8 waypoints. To get more waypoints for a request, you'll need to get Google Maps API for Work which will allow you up to 23 waypoints.
Regarding Google Maps Intents, in order to launch Maps with an intent, you must first create an Intent object specifying its action, URI and package. For more details, check this link: https://developers.google.com/maps/documentation/android-api/intents
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With