Show "generating…" message until map is loaded
This commit is contained in:
parent
9fbf437731
commit
a071db561d
|
@ -2,6 +2,8 @@ function update_map(event)
|
||||||
{
|
{
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
|
document.getElementById("svgcontainer").innerHTML = '<p id="loading">Generating, please wait…</p>';
|
||||||
|
|
||||||
var lat = document.getElementById('lat').value;
|
var lat = document.getElementById('lat').value;
|
||||||
var lon = document.getElementById('lon').value;
|
var lon = document.getElementById('lon').value;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="Azimuthal-equidistant map generator.">
|
<meta name="description" content="Azimuthal-equidistant map generator.">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="me" href="https://chaos.social/@cfr34k">
|
|
||||||
<title>QSOMap: Azimuthal-equidistant SVG map generator</title>
|
<title>QSOMap: Azimuthal-equidistant SVG map generator</title>
|
||||||
|
|
||||||
<!--link rel="stylesheet" href="https://www.tkolb.de/main.css"-->
|
<!--link rel="stylesheet" href="https://www.tkolb.de/main.css"-->
|
||||||
|
|
Loading…
Reference in a new issue