No, sorry, just checked the code, here's the equation, it could be wrong:
<?php
$distance = (3958 * 3.1415926 * sqrt(($lat2-$lat1) * ($lat2-$lat1)
+ cos($lat2/57.29578) * cos($lat1/57.29578) * ($lon2-$lon1) * ($lon2-$lon1))/180);
# Distance is in miles
# Do proper conversions if needed
# Return in nm by default
if(strtolower(Config::Get('UNITS')) == 'mi')
{
# Leave it in miles
return $distance;
}
elseif(strtolower(Config::Get('UNITS')) == 'km')
{
# Convert to km
return $distance * 1.609344;
}
else
{
# Convert to nm
return $distance * .868976242; # Convert to nautical miles
}
return round($distance, 2);