PruneCluster icon indicating copy to clipboard operation
PruneCluster copied to clipboard

I am using Leaflet.label to add information on marker and when i am scrolling to zoom in and out, labels stay, however icons hides( Could you please help in this question?

Open bekakst opened this issue 8 years ago • 3 comments

I am using such thing: markersGroup.PrepareLeafletMarker = function(leafletMarker, data) { leafletMarker.setIcon(data.icon); leafletMarker.bindLabel(data.information, { noHide: true });
};

bekakst avatar Aug 06 '15 11:08 bekakst

Hi, What do you want to achieve? You have the noHide parameter set as true, so the comportment seems correct.

Do you want to keep the markers displayed when you zoom in and out? I'm afraid it's not possible using this library.

fungiboletus avatar Aug 06 '15 13:08 fungiboletus

I Have the same problem, I have binded the label in marker, and it works but when the marker is clustered, I still get the labels showen up. How could I hide label when a marker is clustered?

wahisoufiane avatar Aug 16 '16 09:08 wahisoufiane

Currently i think it is not possible, there is even no event fired on clustering/declustering

Klapsa2503 avatar Aug 25 '16 13:08 Klapsa2503