Reputation: 26223
I am adding pins to a MKMapView using MKPinAnnotation view and was wondering if there is a way to stop pin-clumping (i.e. all the pins showing when zoomed out). Is there a way to do this using the API or do I have to manually filter the annotations to be added based on the current zoom amount?
Upvotes: 1
Views: 153
Reputation: 1234
MapKit
does not provide a way to cluster the annotation views itself. You basically have two options. You can manually remove/hide the annotations yourself or use a third party framework like OCMapView. I have not used it myself so I can't comment on how good it is.
Upvotes: 3