leaflet-swoopy
leaflet-swoopy copied to clipboard
Hide marker defs
The SVGs that contain the defs for the marker have a default size of 300*150px. This can overlay the map and prevent pointer events.
It would be best to directly inline the size instead of this:
.leaflet-overlay-pane svg:not(.leaflet-zoom-animated) {
pointer-events: none;
width: 0px;
height: 0px;
}