Find distance between two points using MKMapKit

Posted by mag725 on Stack Overflow See other posts from Stack Overflow or by mag725
Published on 2010-06-17T21:58:47Z Indexed on 2010/06/17 22:03 UTC
Read the original article Hit count: 350

Hi,

I'm attempting to find the euclidean distance in meters between two points on an MKMapView using iPhone OS 3.2. The problem is that I have these coordinates in terms of latitude and longitude, which, mathematically provides me enough data to find the distance, but it's going to take some tricky trigonometry. Is there any simpler solution?

Thanks!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c