restrict map zoom to 11
This commit is contained in:
parent
46ef2ec3b8
commit
04408acaa9
@ -16,7 +16,7 @@ export function createMap(node, layerId, zoom, lat, lon){
|
||||
|
||||
const map = L.map(node, {
|
||||
minZoom: 2,
|
||||
maxZoom: 12,
|
||||
maxZoom: 11,
|
||||
center: [lat, lon],
|
||||
zoom: zoom,
|
||||
crs: SimpleCRS
|
||||
|
Loading…
Reference in New Issue
Block a user