Fix dissapearing attribution, fix toggle behaviour

This commit is contained in:
Pieter Vander Vennet 2021-07-28 18:20:59 +02:00
parent ba84fd4a8d
commit ae21e33077
2 changed files with 10 additions and 6 deletions

View file

@ -50,6 +50,8 @@ export class Basemap {
}
previousLayer = newLayer;
self.map.addLayer(newLayer);
extraAttribution.AttachTo('leaflet-attribution')
})