Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Doesn't de-cluster at max zoom, instead cluster vanishes #7

Open
TheSisb opened this issue Mar 5, 2015 · 10 comments
Open

Doesn't de-cluster at max zoom, instead cluster vanishes #7

TheSisb opened this issue Mar 5, 2015 · 10 comments

Comments

@TheSisb
Copy link

TheSisb commented Mar 5, 2015

I tried both MarkerClusterer and MarkerClustererPlus and when I have two markers very close to one another problems arise. I keep clicking the cluster until I reach the max zoom. The next click will either do nothing to the cluster icon or remove it and not show the individual markers. I noticed the Leaflet clusterer de-clusters the markers and has lines that lead to their point of origin, so they decluster cleanly.

Any chance of fixing this to at least de-cluster at max zoom? I tried implementing it myself, but I don't know how this is achieved since each tile potentially has it's own maxZoom. The library's maxZoom property doesn't help at all when switching from Maps to Satelite, which has a much lower maxZoom in general. I found the API's "maxZoomService" but I don't want to query that for every action to see if I need de-cluster. Ideas would be greatly appreciated.

@ThomasPerraudin
Copy link

+1

@Edza
Copy link

Edza commented Jun 11, 2015

I have seen this too. Workaround is to just set google maps max zoom on the map object.

@KurtPreston
Copy link

+1

1 similar comment
@KristiyanKrastev
Copy link

+1

@TheSisb
Copy link
Author

TheSisb commented Aug 21, 2015

This issue, along with many other limitations in the Google Maps API requiring workarounds forced our business away from Google Maps. We're now using Leaflet and Mapbox with great success.

@dincho
Copy link

dincho commented Oct 19, 2015

This issue, along with many other limitations in the Google Maps API requiring workarounds forced our business away from Google Maps. We're now using Leaflet and Mapbox with great success.

👍

@asiminiceanu
Copy link

+1

1 similar comment
@dzavodnikov
Copy link

+1

@JulienPageaud
Copy link

+2

@nhducseuit
Copy link

I'm now using markerclustererplus 2.1.11.
And it seems that it cannot, or takes a very long time to de-cluster when the map zoom reaches maxZoom configured for the MarkerClusterer, where there are points that sit very closely or at same coordinate in that cluster.
What should I do?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants