Possible Duplicate:
Calculate distance between two points in google maps V3
Which one is best method to calculate the distance between two points using Google Map V3 API?
- Using Google's Distance Matrix
computeDistanceBetween()
method which is defined ingoogle.maps.geometry.spherical
namespace.