diff --git a/app/static/js/map.js b/app/static/js/map.js index db2126e..ad4da71 100644 --- a/app/static/js/map.js +++ b/app/static/js/map.js @@ -41,7 +41,7 @@ let callback = function OSMCallBack(location, data) { let marker = L.marker([lat, lon], { icon: marker_icon }).addTo(map) - .bindPopup(location.name + ', ' + location.address); + .bindPopup(location.name + ', ' + location.address, {offset: new L.Point(0, -16)}); marker.on('mouseover', function(env) { marker.openPopup();