Hide controls when needed

This commit is contained in:
Pieter Vander Vennet 2021-02-21 03:51:29 +01:00
parent 604d7863fe
commit 0e5b69f6cf
8 changed files with 671 additions and 51 deletions

View file

@ -18,6 +18,8 @@ export class Basemap {
center: [location.data.lat ?? 0, location.data.lon ?? 0],
zoom: location.data.zoom ?? 2,
layers: [currentLayer.data.layer],
zoomControl: false
});
L.control.scale(