forked from MTSR/mapserver
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, {
|
const map = L.map(node, {
|
||||||
minZoom: 2,
|
minZoom: 2,
|
||||||
maxZoom: 12,
|
maxZoom: 11,
|
||||||
center: [lat, lon],
|
center: [lat, lon],
|
||||||
zoom: zoom,
|
zoom: zoom,
|
||||||
crs: SimpleCRS
|
crs: SimpleCRS
|
||||||
|
Loading…
Reference in New Issue
Block a user