Fail Geojson load silently

This commit is contained in:
Markus Koch 2020-04-17 22:00:36 +02:00
parent de3a4fc757
commit 3d0e8ae95d

View File

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