Fail Geojson load silently
This commit is contained in:
parent
de3a4fc757
commit
3d0e8ae95d
@ -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 + ").");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user