Recreate BlueIcon class

This commit is contained in:
Midgard 2020-05-22 21:59:01 +02:00
parent 2af33c6464
commit c9294024a5
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -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();