add speed setting close #49

This commit is contained in:
Matt Walsh
2024-07-29 23:12:47 -05:00
parent 913dc383f6
commit 193d742aa3
8 changed files with 110 additions and 17 deletions

View File

@@ -31,6 +31,14 @@ const createLink = async (e) => {
}
});
// get all select boxes
const selects = document.querySelectorAll('select');
[...selects].forEach((elem) => {
if (elem?.id) {
queryStringElements[elem.id] = elem?.value ?? 0;
}
});
// add the location string
queryStringElements.latLonQuery = localStorage.getItem('latLonQuery');
queryStringElements.latLon = localStorage.getItem('latLon');