I tried to calculate the distance between two points in Google map.
Some of the link i found they are using
distanceTo() and somewhere it is calculated using distanceBetween().
Which is best to calculate distance?
I tried to calculate the distance between two points in Google map. Some of
Share
This link might be helpful to you.
it allows to calculate the distance between two latitude longitude points:
This script calculates great-circle distances between the two points (i.e)the shortest distance over the earth’s surface using the ‘Haversine’ formula.