Doesn't de-cluster at max zoom, instead cluster vanishes #7
Comments
+1 |
I have seen this too. Workaround is to just set google maps max zoom on the map object. |
+1 |
1 similar comment
+1 |
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. |
👍 |
+1 |
1 similar comment
+1 |
+2 |
I'm now using markerclustererplus 2.1.11. |
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.
The text was updated successfully, but these errors were encountered: