开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜