You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to add clusters for multiple zoom levels.
For instance while zooming out to the whole world create a cluster on europe and afrika.
And zooming in on country level see France and Belgium and Holland.
The text was updated successfully, but these errors were encountered:
I agree. The clustering should be determined by the zoom level. Perhaps a threshold is set to determine how close the pins can be before they cluster into one pin. The example app does not handle zooming out well; The group of annotations no longer cluster at a low zoom. I expect the clustering to work more like the Apple Photo app at any zoom level.
Zoom "levels" used to make sense when using Google Maps on iOS, since those were using bitmap tiles. Note that MapKit never exposed a zoom level API though.
Now on iOS 6, maps are using vector-based drawing. So it's not even clear what a zoom level would be.
The current algorithm is set to work independently of the location of the actual pins : it'll cluster them up until they match an upper limit (40 in this demo). So even if you zoom out a lot, you'll always have 40 cluster pins on the map, even if they end up being close one to each other.
What you'd like to add is to lower this limit if said clusters are too close to each other. This would indeed make sense, and I'm opening another ticket for that.
It would be nice to add clusters for multiple zoom levels.
For instance while zooming out to the whole world create a cluster on europe and afrika.
And zooming in on country level see France and Belgium and Holland.
The text was updated successfully, but these errors were encountered: