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.
Asked
Active
Viewed 1,226 times
1 Answers
1
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).

Community
- 1
- 1

Hesham Saeed
- 5,358
- 7
- 37
- 57
-
Hesham Saeed: Yes i already saw your link..But i didn't understand.I'll try..thank you........ – Ram Aug 23 '12 at 07:28
-
Just follow the steps, you will get there, needs some time. – Hesham Saeed Aug 23 '12 at 08:01