N Nnavick macrumors regular Original poster Apr 11, 2011 #1 Hi , How can I find the distance between my current location and a dropped pin? Thank you !!
jnoxx macrumors 65816 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..
robbieduncan Moderator emeritus 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 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;