i have 200 pois in my app. i want to display the nearest pois to the user within 100 meters range in a mapview. How is this possible?
views:
115answers:
1
A:
Iterate over the collection of annotations, and use the distanceFromLocation method of CLLocation to establish how far they are from the device position. If they are within range simply add them.
Jonathan
2010-05-13 06:44:35