Removed old adsb shapes call

This commit is contained in:
2026-06-25 21:46:13 -04:00
parent b87bcbabb7
commit 80b9b1bfcc

View File

@@ -180,7 +180,6 @@ export class AirTrafficLayer {
private traceSegs: Record<string, Feature[]> = {}
private popups: Record<string, { el: HTMLDivElement, destroy: () => void }> = {}
private historyCache: Record<string, any[]> = {}
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)