I have a feature layer and some pins on it, with mouseout, mouseover events callbacks on the feature. When the mouse is over the pin icon, that triggers mouseout event (mouseout from the feature layer). I am trying to stop event propagation but nothing works.
How can the leaflet event propagation be stopped?
None of those worked:
DomEvent.stopPropagation(e); DomEvent.preventDefault(e); DomEvent.stop(e); stopPropagation(e.originalEvent); preventDefault(e.originalEvent); stop(e.originalEvent);