From 87aab4fd3346f7ccdecea839cbba1e4b495fe331 Mon Sep 17 00:00:00 2001 From: Joel Lappalainen Date: Fri, 13 Dec 2024 11:51:59 +0200 Subject: [PATCH] Set custom minZooms for configs covering large areas --- app/configurations/config.varely.js | 4 ++++ app/configurations/config.walttiOpas.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/configurations/config.varely.js b/app/configurations/config.varely.js index 162faac671..db1be1294a 100644 --- a/app/configurations/config.varely.js +++ b/app/configurations/config.varely.js @@ -88,6 +88,10 @@ export default configMerger(walttiConfig, { [maxLon, minLat], ], + map: { + minZoom: 7, + }, + menu: { copyright: { label: `© Seutu+ ${walttiConfig.YEAR}` }, content: [ diff --git a/app/configurations/config.walttiOpas.js b/app/configurations/config.walttiOpas.js index 1661de63b6..2a7a414e92 100644 --- a/app/configurations/config.walttiOpas.js +++ b/app/configurations/config.walttiOpas.js @@ -135,6 +135,10 @@ export default configMerger(walttiConfig, { [23.1, 60.6], ], + map: { + minZoom: 6, + }, + showDisclaimer: true, });