Set maxzoom again in minimap

This commit is contained in:
Pieter Vander Vennet 2024-04-24 00:43:13 +02:00
parent ccc55a342d
commit b453e39a7f

View file

@ -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<number>(18)
zoom: new UIEventSource<number>(17),
maxzoom: new UIEventSource<number>(17)
})
mla.allowMoving.setData(false)