Calculate distance and bearing between two Latitude/Longitude points using Haversine formula in JavaScript
august 2010 by sweeney
This uses the ‘haversine’ formula to calculate great-circle distances between the two points – that is, the shortest distance over the earth’s surface – giving an ‘as-the-crow-flies’ distance between the points (ignoring any hills!).
haversine
latitude
longitude
distance
pairs
august 2010 by sweeney