Make map.js play nice with leaflet 1.0.0 again
This commit is contained in:
parent
296365b925
commit
4daecbccd3
1 changed files with 3 additions and 3 deletions
|
@ -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 popuptemplate = Handlebars.compile($("#popup-template").html());
|
||||||
|
|
||||||
var BlueIcon = L.Icon.Default.extend({});
|
var BlueIcon = L.Icon.Default.extend({});
|
||||||
var RedIcon = L.Icon.Default.extend({
|
var RedIcon = L.Icon.Default.extend({
|
||||||
options: {
|
options: {
|
||||||
iconUrl: "red-marker.png"
|
iconUrl: "img/red-marker.png"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
var ChristmasIcon = L.Icon.Default.extend({
|
var ChristmasIcon = L.Icon.Default.extend({
|
||||||
options: {
|
options: {
|
||||||
iconUrl: "christmas-marker.png"
|
iconUrl: "img/christmas-marker.png"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue