forked from MapComplete/MapComplete
Disable adding new elements-popup if the userbadge is disabled; add small cosmetic changes
This commit is contained in:
parent
186405784e
commit
219895191d
3 changed files with 15 additions and 2 deletions
|
@ -146,7 +146,9 @@ export default class ShowDataLayer {
|
|||
const popup = L.popup({
|
||||
autoPan: true,
|
||||
closeOnEscapeKey: true,
|
||||
closeButton: false
|
||||
closeButton: false,
|
||||
autoPanPaddingTopLeft: [15,15],
|
||||
|
||||
}, leafletLayer);
|
||||
|
||||
leafletLayer.bindPopup(popup);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue