Wewps, this is not what I wanted, i screwed up by putting 2 sets of longs and lats, basically I need to create the 2nd set of lat/long
using the range provided, only supplying the initial set of lat/longs
$range = 30; // miles or kilometers;
function _getDistance($lat1, $lon1, $range) {
return $lat2, $lon2
the above "procedure" I provided does this, just needs to be converted.. im having problem getting it working
creating the 2nd set of lat/longs based off the provided range..
I'll re paraphrase
Providing a lat and long, and a range in miles, i need to create a second lat and long based off this..
Can anyone help?
|