View Single Post
Old 11-13-2010, 12:33 AM  
goodsites
Confirmed User
 
Industry Role:
Join Date: Jan 2010
Location: Over the rainbows
Posts: 538
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?

Last edited by goodsites; 11-13-2010 at 12:43 AM..
goodsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote