From 4daecbccd30f92213575d175408e31778545e6fe Mon Sep 17 00:00:00 2001 From: Midgard Date: Fri, 22 May 2020 22:35:28 +0200 Subject: [PATCH] Make map.js play nice with leaflet 1.0.0 again --- src/js/map.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/map.js b/src/js/map.js index 5a970a3..b86802f 100644 --- a/src/js/map.js +++ b/src/js/map.js @@ -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" } });