PruneCluster icon indicating copy to clipboard operation
PruneCluster copied to clipboard

Cute bug when clicking on a cluster and the tileLayer have not the below zoom

Open valerio-bozzolan opened this issue 9 years ago • 2 comments

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.

Click on clusters when tileLayer have min-zoom

(If I were you... #wontfix!)

valerio-bozzolan avatar Jun 05 '15 12:06 valerio-bozzolan

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?

fungiboletus avatar Jun 05 '15 12:06 fungiboletus

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).

valerio-bozzolan avatar Jun 05 '15 13:06 valerio-bozzolan