views:

285

answers:

1

Hi All,

I have a map displaying multiple annotations. I'd like to mimic the behavior of the Places tab on the Photos built-in app (iOS 4), where the annotations are automatically joined together or splited apart as the user changes the zoom level.

How do I do that?

Thanks!

A: 

The specific clustering functionality that is used in the 'Places' feature of The Photos app is not exposed to developers currently. If your are looking for a magic library, sample code or the like to do this currently you are out of luck.

If you are very comfortable with MapKit and clustering techniques in general you could work on rolling your own solution or contributing to a public effort to achieve this.

Some things to look at:

http://stackoverflow.com/questions/2047691/iphone-map-kit-cluster-pinpoints http://googlegeodevelopers.blogspot.com/2009/04/markerclusterer-solution-to-too-many.html

Nick