Ditch garbage data ingest for lat/lon and extend map. Closes #63

This commit is contained in:
Jack Kingsman
2026-03-16 14:24:58 -07:00
parent 8d7d926762
commit 749fb43fd0
39 changed files with 131 additions and 61 deletions
+3
View File
@@ -273,6 +273,9 @@ export function isValidLocation(lat: number | null, lon: number | null): boolean
if (lat === null || lon === null) {
return false;
}
if (lat < -90 || lat > 90 || lon < -180 || lon > 180) {
return false;
}
// (0, 0) is in the Atlantic Ocean - treat as unset
if (lat === 0 && lon === 0) {
return false;