I have to add custom cities name with a circleMarker
en my map. But I want to clic throu the label because a have polygone under it
There is my JS code thats add the circleMarker
var ville_label = new L.CircleMarker(
[lat, lng],
{ clickable: false, radius: (1/zoom)*12 }
).bindLabel(lib, { noHide: true, className: "leaflet-ville-label" })
.addTo(ville_layer);
In CSS I have disable the pointer event
.leaflet-ville-label {
pointer-events: none;
}
But IE doesn't supprot pointer-events
and the Label is a div element and not a SVG.
Somebody have a solution to disable pointer events on the static Label ?