I am in a situation where 500+ annotations will be added to the map. How did you deal with the resulting lag with so many annotations on the map?
One thing I considered: only loading part of annotations based on the current area of the map. But what happens when they shrink or move? Reboot based on display region?
MKMapViewhas a method dequeueReusableAnnotationViewWithIdentifier:( documentation ) that I think you should use. It seems to work similarly to the method UITableView dequeueReusableCellWithIdentifier:.
MKMapView
dequeueReusableAnnotationViewWithIdentifier:
UITableView
dequeueReusableCellWithIdentifier:
- . .
update: , : ADClusterMapView