Fail Geojson load silently

This commit is contained in:
Markus Koch 2020-04-17 22:00:36 +02:00
parent de3a4fc757
commit 3d0e8ae95d
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ function load_geojson(name, url, iconname, iconcolor, active=1, style={}) {
geojson.addTo(mymap);
return geojson;
} else {
alert("Error: Could not load geojson map layer (" + name + ").");
console.log("Error: Could not load geojson map layer (" + name + ").");
}
}
}