Leaflet.markercluster icon indicating copy to clipboard operation
Leaflet.markercluster copied to clipboard

doubt | disableClusteringAtZoom spiderfyOnMaxZoom

Open VesperDev opened this issue 8 years ago • 4 comments
trafficstars

  • [ ] I'm reporting a bug, not asking for help
  • [ ] I'm sure this is a Leaflet.MarkerCluster code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
  • [x ] I've searched through the issues to make sure it's not yet reported

"leaflet": "^1.2.0", "leaflet.markercluster": "^1.1.0",


is there any way to access the clusters and with a method one can display the bookmarks separated in this way

captura

what I want to achieve is that when I reach the maximum zoom automatically it will show the ungrouped markers in the form of a spider I could not achieve this with the configuration

disableClusteringAtZoom: 17, spiderfyOnMaxZoom: false,

the markers appear high but very close together and do not look good. something like this.

captura

VesperDev avatar Sep 23 '17 02:09 VesperDev

Hi,

This sounds to me similar to:

  • When you set disableClusteringAtZoom the spiderfy does not work #339
  • Spiderfy overlapping markers if zoomlevel is below disableClusteringAtZoom #311

ghybs avatar Sep 24 '17 17:09 ghybs

apparently can not implement this feature I can not find a solution.

VesperDev avatar Sep 25 '17 20:09 VesperDev

Oh you mean the cluster would spiderfy automatically once reaching max zoom, instead of having to click on it? Then it sounds more like: Spiderfy all clusters at a particular view #744

That being said, how to know which cluster to spiderfy, if you have more than one on screen? Of course you could try to spiderfy all of them, as proposed in #744. But then what if there are many markers being spiderfied? the spirals would overlap…

If you are ready to implement it yourself and need a little bit of help, feel free to use Stack Overflow.

ghybs avatar Sep 25 '17 20:09 ghybs

either way, Duplicate of https://github.com/Leaflet/Leaflet.markercluster/issues/744

xeruf avatar Oct 11 '22 13:10 xeruf