/ Published in: PHP
Get the distance between 2 points on a map
Expand |
Embed | Plain Text
function getDistanceBetweenPoints($latitude1, $longitude1, $latitude2, $longitude2) { $theta = $longitude1 - $longitude2; $distance = ($distance * 69.09) * 1.609344; }
You need to login to post a comment.
