Small tweaks to the location input: zoom out a bit
This commit is contained in:
parent
435e16604b
commit
77a19d33f8
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in a new issue