Show "generating…" message until map is loaded

This commit is contained in:
Thomas Kolb 2023-11-14 22:14:59 +01:00
parent 9fbf437731
commit a071db561d
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,8 @@ function update_map(event)
{
event.preventDefault();
document.getElementById("svgcontainer").innerHTML = '<p id="loading">Generating, please wait…</p>';
var lat = document.getElementById('lat').value;
var lon = document.getElementById('lon').value;

View file

@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta name="description" content="Azimuthal-equidistant map generator.">
<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>
<!--link rel="stylesheet" href="https://www.tkolb.de/main.css"-->