fixed poput location
This commit is contained in:
parent
7802464c66
commit
7555b9d65c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue