Fix missing titles for markers
This commit is contained in:
committed by
GitHub
parent
39d9dba814
commit
7de8fa4f17
@@ -302,7 +302,7 @@ overviewer.util = {
|
|||||||
} else {
|
} else {
|
||||||
m_icon = icon;
|
m_icon = icon;
|
||||||
}
|
}
|
||||||
let new_marker = new L.marker(latlng, {icon: m_icon});
|
let new_marker = new L.marker(latlng, {icon: m_icon, title: db.hovertext});
|
||||||
new_marker.bindPopup(db.text);
|
new_marker.bindPopup(db.text);
|
||||||
marker_group.addLayer(new_marker);
|
marker_group.addLayer(new_marker);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user