Skip to content Skip to sidebar Skip to footer

Android Google Route Using 3 Points (Source Point, Destination Point And Via Point)

I am using google map to display route between two points . Now in my application i want to draw route in map using source point , destination point and via point.Please help me in

Solution 1:

Check this:

Answer : Draw path between two points using Google Maps Android API v2

But modify makeURL method to use

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

makeURL(double sourceLat, double sourceLng, double viaLat, double viaLng, double DestLat, double DestLng);
drawPath(result);

Post a Comment for "Android Google Route Using 3 Points (Source Point, Destination Point And Via Point)"