ADSB updates

This commit is contained in:
2026-06-25 10:15:23 -04:00
parent 19d2dd2d9d
commit afb530a999
6 changed files with 188 additions and 54 deletions

View File

@@ -248,7 +248,7 @@ export class AirTrafficLayer {
private async _fetch() {
const j = await fetch(`${API}/adsb`).then(r => r.json())
this.data = (j.data || []).map((a: any) => ({
this.data = (j || []).map((a: any) => ({
...a,
icao: a.hex,
latitude: a.lat,