Permalink
Browse files

web: fix createInfoWindow not having any effect

Fixes #1494.
  • Loading branch information...
CounterPillow committed Nov 18, 2018
1 parent 2918637 commit bde265a8ac7a27b51fd8b7764e12c7b2ccc3d90d
Showing with 3 additions and 1 deletion.
  1. +3 −1 overviewer_core/data/js_src/util.js
@@ -349,7 +349,9 @@ overviewer.util = {
m_icon = icon;
}
let new_marker = new L.marker(latlng, {icon: m_icon, title: db.hovertext});
new_marker.bindPopup(db.text);
if (marker_entry.createInfoWindow) {
new_marker.bindPopup(db.text);
}
marker_group.addLayer(new_marker);
}
obj.marker_groups[marker_entry.displayName] = marker_group;

0 comments on commit bde265a

Please sign in to comment.