PruneCluster
PruneCluster copied to clipboard
Cute bug when clicking on a cluster and the tileLayer have not the below zoom
You can reproduce this when you change the baseLayer to one that have not the zoom below of the cluster, and you click on that cluster.
For example the Esri WorldPhysical": L.tileLayer.provider("Esri.WorldPhysical")
from Leaflet providers.
(If I were you... #wontfix!)
Hum, what should be the correct behaviour?
What I understand is that you have two tiles layers, one has less zoom levels than the other. When you are at the maximum zoom level of the first layer, it doesn't zoom even though the second layer has still some zoom levels available. Is that correct?
When I switch to another more-zoom-restricted layer, and I click on a cluster, it try to de-cluster becoming this cute artifact (so even if it can't zoom).