forked from MapComplete/MapComplete
Hide controls when needed
This commit is contained in:
parent
604d7863fe
commit
0e5b69f6cf
8 changed files with 671 additions and 51 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue