It is in meters. To convert to kilometers, divide by 1024 1000, obviously .
google.maps.geometry.spherical.computeDistanceBetween( Moscow, Leningrad );
By the way, the base code for this library method is based on the Haversin formula .
katspaugh
source share