iPhone MKMapView Annotation Clustering

You don’t necessarily need to use a 3rd party framework because since iOS 4.2, MKMapView has a method called – (NSSet *)annotationsInMapRect:(MKMapRect)mapRect which you can use to do your clustering. Check out the WWDC11 Session video ‘Visualizing Information Geographically with MapKit‘. About half way through it explains how to do it. But I’ll summarize the … Read more

MarkerCluster V3 stopped working properly

As Google moved the source over to GitHub a while back, the new GitHub version can be accessed from RawGit by using the following script url: https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js You’ll also need to specify the imagePath option when instantiating your MarkerClusterer to access the images from GitHub: var mc = new MarkerClusterer(map, markers, { imagePath: ‘https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/images/m’ }); … Read more