iphone iOS mapkit, filter a list of points(Longitude, Latitude) by Nearest -


i have list of points of interest in plist file containing point info + longitude & latitude.

i wonder how show in mapview nearest points me according radius ?

example : radius = 2km --> show top 20 nearest pins location

calculate distance between position , points sort , filter results.

to calculate distance use distancefromlocation


Comments

Popular posts from this blog

razor - Is this a bug in WebMatrix PageData? -

c# - How to set Z index when using WPF DrawingContext? -

c# - Cloning WPF controls and object hierarchies -