If you’ve used the iOS maps using map kit then you’ve likely experienced the lagginess that often occurs when there are many annotations on a map – often even though they’re using map clustering.
Here’s an MKAnnotation clustering library known as Kingpin that uses a 2-D tree for extremely high performance even on older iOS devices.
Kingpin’s developer Bryan Bonczek (@itsbonczek) stated on twitter that “it handles 50k+ annotations reasonably well on a 4S”.
No subclassing is required to use the library, and an example is included.
You can find Kingpin on Github here.
If you’re looking for a different approach you may want to check out ADClusterMapView mentioned a couple weeks ago.
Original article: High Performance Map Kit Annotation Clustering Library
©2012 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.