• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to find shortest distance between the points on google map using google map api

shri_r

Lurker
Hi...Actually i added google map to my android app, now i need to add perticular points(persons) on it, and need to find the shortest distance between among the points(persons) on google map, using google map api.. please tell me how to do that.Thanks in advance :)

Regards

Shree:)
 
You could use the built in Location class, to handle it for you, like this:

Code:
personALocation.distanceTo(personBLocation);
 
Hello..
How to get latitude and longitude of person dynamically form google server??.
Actually i am able to get the location of person on google map, with hard coded latitude and langitude values. Now i am trying to get the latitude and longitude dynamically, from the google server, depending on user location on earth, to get user identification on map. Please tell me how to that..
Thanks in advance :)

Regards
Shreedhar :)
 
Back
Top Bottom