Get distance from two location

1.2k Views Asked by At

I searched so many links here.But i didn't understand full code. Suggest me a simple and easily understand code for driving direction between two location,and get distance from two location.

1

There are 1 best solutions below

2
On

You can see this post here, it retrieves JSON directions info from Google API where you can draw a route on the map between the two locations, or find the distance between the two locations (distance is in the class Route with getLength() method).