mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 15:49:31 -07:00
filter stations that do not have usable data
This commit is contained in:
@@ -131,6 +131,8 @@ const autocompleteOnSelect = async (suggestion, elem) => {
|
||||
|
||||
const loc = data.locations[0];
|
||||
if (loc) {
|
||||
localStorage.removeItem('latLonFromGPS');
|
||||
document.getElementById('btnGetGps').classList.remove('active');
|
||||
doRedirectToGeometry(loc.feature.geometry);
|
||||
} else {
|
||||
console.error('An unexpected error occurred. Please try a different search string.');
|
||||
|
||||
Reference in New Issue
Block a user