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

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -