Responsiveness and coordinates
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user