Skip to content

Commit

Permalink
Increase zoom level when selecting items map marker (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Jan 25, 2024
1 parent e654eb0 commit 935ee77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tags/items_map.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 935ee77

Please sign in to comment.