fix: rimossi riferimenti assoluti

This commit is contained in:
giomba 2021-02-15 23:45:04 +01:00
parent 64af12e9ec
commit 1bb5d482b7
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ var MapIcon = L.Icon.extend({
iconSize: [16, 19], iconSize: [16, 19],
popupAnchor: [1, -19], popupAnchor: [1, -19],
iconAnchor: [8, 19], iconAnchor: [8, 19],
iconUrl: '/img/lug-point.png' iconUrl: 'img/lug-point.png'
} }
}); });
@ -81,7 +81,7 @@ function init () {
map.setView (new L.LatLng (lat, lon), zoom); map.setView (new L.LatLng (lat, lon), zoom);
map.addLayer (tile); map.addLayer (tile);
var f = '/geolug.txt'; var f = 'geolug.txt';
microAjax (f, function (res) { microAjax (f, function (res) {
var feat = JSON.parse (res); var feat = JSON.parse (res);