How to display a route between two geocoords in google maps? [duplicate] How to display a route between two geocoords in google maps? [duplicate] android android

How to display a route between two geocoords in google maps? [duplicate]


this is working example link. check it out. it helps to create the route overlay on the map. here is the complete source code for that.


Your route will be a list of points so you have to create a route overlay class. And in the draw method of the overlay class you have to draw a Path between the points.