From 63d8aedfbe307ec7a244155ddae1d8f9e897f52b Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 17 Jan 2020 02:16:24 +0100 Subject: [PATCH] Frontend: Set max zoom for fitBounds to 17 Signed-off-by: Michael Mayer --- frontend/src/pages/places.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/places.vue b/frontend/src/pages/places.vue index c6dca5541..f103bcee9 100644 --- a/frontend/src/pages/places.vue +++ b/frontend/src/pages/places.vue @@ -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;