Disable adding new elements-popup if the userbadge is disabled; add small cosmetic changes

This commit is contained in:
Pieter Vander Vennet 2021-07-18 21:48:11 +02:00
parent 186405784e
commit 219895191d
3 changed files with 15 additions and 2 deletions

View file

@ -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);