leaflet icon indicating copy to clipboard operation
leaflet copied to clipboard

The +/- zoom feature overlaps other windows

Open EhsonGhandehari opened this issue 5 years ago • 1 comments

Hi, Thanks for the great leaflet package. I noticed the that the +/- zoom feature shows upfront of other windows on the screen. Please find the image attached.

I believe there must be some options to turn this off, but I was not able to find it in the documentation. Please let me know how I can hide the +/- upon opening other windows on top of leaflet map.

Thanks.

leaflet_issue

EhsonGhandehari avatar Sep 13 '19 19:09 EhsonGhandehari

A possible workaround is to set the z-index to 0 for the .leaflet-top class at your custom.css file.

.leaflet-top {
  z-index: 0;
}

williamorim avatar Feb 11 '21 22:02 williamorim