allow zoom to 12

This commit is contained in:
Thomas Rudin 2019-11-30 17:34:30 +01:00
parent ff34d7fbef
commit c73d100559

View File

@ -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: 11, maxZoom: 12,
center: [lat, lon], center: [lat, lon],
zoom: zoom, zoom: zoom,
crs: SimpleCRS crs: SimpleCRS