Frontend: Set max zoom for fitBounds to 17

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-01-17 02:16:24 +01:00
parent 9bdfeaabeb
commit 63d8aedfbe

View file

@ -127,7 +127,7 @@
this.map.getSource("photos").setData(this.result);
if (this.filter.q || !this.initialized) {
this.map.fitBounds(this.result.bbox, {maxZoom: 16, padding: 100});
this.map.fitBounds(this.result.bbox, {maxZoom: 17, padding: 100});
}
this.initialized = true;