Da nose Da nose - 3 years ago 164
Android Question

Draw Custom Route using Android Google maps v2

Google maps Direction by default gave us a route that has a mini distance, but for my case I want to draw a custom route is this possible with android google maps api v2 ?
example :
enter image description here

How can I do that in android google maps api v2 ?

P.S :
I already know how to draw route beetween two point but not a custom one just fellowing google directions.

Answer Source

I think you meant waypoint.

Look for waypoint in this link

https://developers.google.com/maps/documentation/directions/

Between your start and end point, you can set up to 8 waypoint for free which will draw a route that connect all of these point between start to finish

If its other kind of custom route you talk about then , I guess you will ended up having to find each route between 2 point at a time

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download