views:

982

answers:

1

I need to calculate the distance (in meters and miles) between two coordinates given

How can I do that?

+4  A: 

Returns the distance (in meters) from the receiver’s coordinate to the coordinate of the specified location.

- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location

CLLocation

Terry Wilcox
As the crow flies?
Spanky
Geting any other distance would be problematic without defining a path. If you define a path, you're asking for a path length, not the distance between two points.
Terry Wilcox