diff --git a/client/src/services/adsb.ts b/client/src/services/adsb.ts index ab412af..29b6a93 100644 --- a/client/src/services/adsb.ts +++ b/client/src/services/adsb.ts @@ -180,7 +180,6 @@ export class AirTrafficLayer { private traceSegs: Record = {} private popups: Record void }> = {} private historyCache: Record = {} - private shapes: any = null private data: any[] = [] private clickHandler: ((e: any) => void) | null = null private refreshTimer: any = null; @@ -194,8 +193,6 @@ export class AirTrafficLayer { if (this.visible) return this.visible = true - if (!this.shapes) this.shapes = await fetch(`${API}/vehicles`).then(r => r.json()) - this.layer = new VectorLayer({ source: new VectorSource(), zIndex: 100 }) this.map.addLayer(this.layer)