From b453e39a7f9ee4d0fa8373f07b327550cb9a27ca Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 24 Apr 2024 00:43:13 +0200 Subject: [PATCH] Set maxzoom again in minimap --- src/UI/Popup/MinimapViz.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UI/Popup/MinimapViz.ts b/src/UI/Popup/MinimapViz.ts index b528f17dc9..177a6d027a 100644 --- a/src/UI/Popup/MinimapViz.ts +++ b/src/UI/Popup/MinimapViz.ts @@ -81,7 +81,8 @@ export class MinimapViz implements SpecialVisualization { const [lon, lat] = GeoOperations.centerpointCoordinates(feature) const mla = new MapLibreAdaptor(mlmap, { rasterLayer: state.mapProperties.rasterLayer, - zoom: new UIEventSource(18) + zoom: new UIEventSource(17), + maxzoom: new UIEventSource(17) }) mla.allowMoving.setData(false)