iphone - Use mapkit to calculate driving distance between two addresses? -


Is it possible to use MapKit in the iPad SDK to calculate driving distance between two addresses?

  • How to do (CLLocationDistance) getDistanceFrom: (Const CLLocation *):

    How about using the core space structure:

You will need latitude / graph for both addresses.

EDIT: Deprecated in iOS 3.2. Instead use the distanceformation: method.


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

Best practice for URL redirection in ASP.NET web application -