Hi , How can I find the distance between my current location and a dropped pin? Thank you !!
N Nnavick macrumors regular Original poster Oct 13, 2010 100 0 Apr 11, 2011 #1 Hi , How can I find the distance between my current location and a dropped pin? Thank you !!
jnoxx macrumors 65816 Dec 29, 2010 1,343 0 Aartselaar // Antwerp // Belgium Apr 12, 2011 #2 Nnavick said: Hi , How can I find the distance between my current location and a dropped pin? Thank you !! Click to expand... Make a math function that calculates the difference between the latitude/longitudes..
Nnavick said: Hi , How can I find the distance between my current location and a dropped pin? Thank you !! Click to expand... Make a math function that calculates the difference between the latitude/longitudes..
N Nnavick macrumors regular Original poster Oct 13, 2010 100 0 Apr 12, 2011 #3 Do you now what is the function?
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Apr 12, 2011 #4 A quick Google search gives us this: http://www.movable-type.co.uk/scripts/latlong.html Note the suggestion was that you write this function yourself...
A quick Google search gives us this: http://www.movable-type.co.uk/scripts/latlong.html Note the suggestion was that you write this function yourself...
N Nnavick macrumors regular Original poster Oct 13, 2010 100 0 Apr 12, 2011 #5 HAHA I found at the core location a function that does it CLLocationDistance distance = [newLocation distanceFromLocation:Newloc]/1000;
HAHA I found at the core location a function that does it CLLocationDistance distance = [newLocation distanceFromLocation:Newloc]/1000;