Distance between two geo-points?
问题 How do I get an accurate distance (in meters) given two geo-points (two latitude/longitude pair) ? Possible Duplicates: Distance Between Two GEO Locations Calculating the distance of geo locations Android calculate distance between two locations How to find distance from the latitude and longitude of two locations? 回答1: There's no distance measurement on the iPhone that will give you a resolution of 2 meters. You can use Core Location's -[CLLocation distanceFromLocation: otherLocation] method