From 77a19d33f87bdd6a98c5de7390e40c1a4ff02697 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 9 Feb 2022 00:35:18 +0100 Subject: [PATCH] Small tweaks to the location input: zoom out a bit --- UI/Input/LocationInput.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Input/LocationInput.ts b/UI/Input/LocationInput.ts index 269c0d74a..8e66d4270 100644 --- a/UI/Input/LocationInput.ts +++ b/UI/Input/LocationInput.ts @@ -221,7 +221,7 @@ export default class LocationInput extends InputElement implements MinimapO leaflet.setMaxZoom(layer.max_zoom) leaflet.setMinZoom(self._minZoom ?? layer.max_zoom - 2) - leaflet.setZoom(layer.max_zoom) + leaflet.setZoom(layer.max_zoom - 1) }, [this.map.leafletMap])