Leaflet.Coordinates icon indicating copy to clipboard operation
Leaflet.Coordinates copied to clipboard

Remove space around the control?

Open Aureuum opened this issue 4 years ago • 1 comments

Hello, I have tried all options in the css but the space around the control still persists. How do you put the control right along the map edge, both bottom/top and left/right? Thank you.

Aureuum avatar Mar 27 '20 23:03 Aureuum

I actually found the solution myself, in Chrome Inspector:

.leaflet-right .leaflet-control { margin-right: 0px; } .leaflet-bottom .leaflet-control { margin-bottom: 0px; }

Aureuum avatar Mar 28 '20 00:03 Aureuum