From c9294024a58e49d9e397c9af5239d8931187a3a6 Mon Sep 17 00:00:00 2001 From: Midgard Date: Fri, 22 May 2020 21:59:01 +0200 Subject: [PATCH] Recreate BlueIcon class --- src/js/map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/map.js b/src/js/map.js index 4b691b1..388d731 100644 --- a/src/js/map.js +++ b/src/js/map.js @@ -3,6 +3,7 @@ $(document).ready(function() { var popuptemplate = Handlebars.compile($("#popup-template").html()); + var BlueIcon = L.Icon.Default.extend({}); var RedIcon = L.Icon.Default.extend({ options: { iconUrl: "red-marker.png" @@ -14,7 +15,7 @@ $(document).ready(function() { } }); - var blueIcon = new L.Icon.Default(); + var blueIcon = new BlueIcon(); var redIcon = new RedIcon(); var christmasIcon = new ChristmasIcon();