distance calculator application
i have an application that takes the user supplied distance and does some mathematical solving to find a total cost for that distance taking in account several variables. does anyone know how to implmement an automatic distance finder based on two inputed address in order to minimize t开发者_开发知识库he user input. thanks
If possible, you can use the Google map service to get the geo-coordinate of the two places. Then its easy to calculate distance between to place having GPS coordinate. Use MapKit Geocoder get location and CLLocation framework to calculate distance between two location.
精彩评论