Commit 4daecbcc authored by midgard's avatar midgard

Make map.js play nice with leaflet 1.0.0 again

parent 296365b9
......@@ -4,19 +4,19 @@ $(document).ready(function() {
});
L.Icon.Default.imagePath = "img/";
L.Icon.Default.imagePath = "img";
var popuptemplate = Handlebars.compile($("#popup-template").html());
var BlueIcon = L.Icon.Default.extend({});
var RedIcon = L.Icon.Default.extend({
options: {
iconUrl: "red-marker.png"
iconUrl: "img/red-marker.png"
}
});
var ChristmasIcon = L.Icon.Default.extend({
options: {
iconUrl: "christmas-marker.png"
iconUrl: "img/christmas-marker.png"
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment