Small tweaks to the location input: zoom out a bit

This commit is contained in:
pietervdvn 2022-02-09 00:35:18 +01:00
parent 435e16604b
commit 77a19d33f8

View file

@ -221,7 +221,7 @@ export default class LocationInput extends InputElement<Loc> 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])