leaflet-swoopy icon indicating copy to clipboard operation
leaflet-swoopy copied to clipboard

Hide marker defs

Open jnsprnw opened this issue 7 years ago • 0 comments

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;
}

jnsprnw avatar Aug 13 '18 10:08 jnsprnw