From 935ee7702de47e5b8335cddaf97950648a6b131e Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Thu, 25 Jan 2024 14:43:05 +0100 Subject: [PATCH] Increase zoom level when selecting items map marker (#637) --- app/views/tags/items_map.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tags/items_map.scala.html b/app/views/tags/items_map.scala.html index 8c25361..f00b369 100644 --- a/app/views/tags/items_map.scala.html +++ b/app/views/tags/items_map.scala.html @@ -114,7 +114,7 @@ zoomDetails@(id)(); } function zoomDetails@(id)() { - map.setView(latlng@(id), 16); + map.setView(latlng@(id), 17); marker@(id).openPopup(); } function bindPopup@(id)(content) {