Distance between 2 pairs of lat long co-ordinates

Posted Monday October 29th 2007 from 53.3123, -6.2335

Based on examples by Chris Veness; functions for calculating the distance in miles or km between 2 pairs of latitude and longitude co-ordinates in PHP and JavaScript (also requires Number.prototype.round.js - because using Math.round() is just annoying).

Tagged , , , , and .