javascript find distance between two coordinates in google map code example
Example: distance between two lat long points google maps api
google.maps.geometry.spherical.computeDistanceBetween (latLngA, latLngB);
google.maps.geometry.spherical.computeDistanceBetween (latLngA, latLngB);