Responsiveness and coordinates

This commit is contained in:
2023-03-13 19:10:13 +01:00
parent 7813ac72a6
commit e7013e8977
3 changed files with 34 additions and 8 deletions

View File

@@ -42,6 +42,12 @@ document.addEventListener('readystatechange', async () => {
DataSpace.createMap([lat, long]);
// Write coordinates below map
document.querySelector('#coord').innerHTML = `
<span><strong>Latitude</strong>: ${lat}</span>
<span><strong>Longitude</strong>: ${long}</span>
`;
resKeys = resKeys.filter(e => !e.includes('Coordinates'));
document.querySelector('#rep-tit')