Clustering in MapKit with Swift

Does Swift have the ability to cluster markers in MapKit ? I know that this is possible in the Google Maps SDK, but I cannot find the same function in MapKit. I found some libraries for Obj-C but nothing for Swift

These are some of the libraries that I found:

+5
source share
1 answer

I translated FBAnnotationClustering to Swift:

https://github.com/ribl/FBAnnotationClusteringSwift

Works with MapKit . This is a working sample of the project, and readme contains some instructions for integration and use.

There is also a related blog post explaining why we chose FBAnnotationClustering (I liked it) and why we moved it to Swift (there were no problems with troubleshooting Objective-C if we encountered problems later).

http://ribl.co/blog/2015/05/28/map-clustering-with-swift-how-we-implemented-it-into-the-ribl-ios-app/

+7
source

All Articles