diff options
author | Markus Koch <markus@notsyncing.net> | 2020-04-17 22:00:36 +0200 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2020-04-17 22:00:36 +0200 |
commit | 3d0e8ae95d3dead7ce3fcc54ace0f8361d243108 (patch) | |
tree | 15311afc8cccb9b5272573153993ed143f969e6b /htdocs | |
parent | de3a4fc757104e6edb736bf4acb7fdb7c9259287 (diff) | |
download | lifomapserver-3d0e8ae95d3dead7ce3fcc54ace0f8361d243108.tar.gz lifomapserver-3d0e8ae95d3dead7ce3fcc54ace0f8361d243108.tar.bz2 lifomapserver-3d0e8ae95d3dead7ce3fcc54ace0f8361d243108.zip |
Fail Geojson load silently
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/mapscript.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index aafc624..7463f19 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -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 + ")."); } } } |