Hi I share a simple solution to calculate the distance in km between two points on MapFragment. I hope it will be of help to anyone who works with the GoogleMaps v2.50 library.
The coordinates used for this example are set in the image.
The code is the translation of Haversine's formula...
Hello All,
Is there any way, from Google Maps library, or using other method, to get the shortest distance from two points Distance by road and not direct (strait line) distance ?
thanks