Skip to content

Commit

Permalink
Fix marker positions on items map (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Jan 23, 2024
1 parent 211782e commit 4c1c404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/tags/items_map.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
var icon@(id) = L.icon({
iconUrl: '@controllers.routes.Assets.at("javascripts/images/marker-icon-book.png")',
iconSize: [30, 30],
popupAnchor: [0, -15]
iconAnchor: [15, 30],
popupAnchor: [0, -30]
});
var marker@(id) = L.marker([lat, lon],{
title: "@ownerName (@key)",
Expand Down

0 comments on commit 4c1c404

Please sign in to comment.