Recreate BlueIcon class
This commit is contained in:
parent
2af33c6464
commit
c9294024a5
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue