From b364751c83ae80c62b103db42f74d4377d9f2ea5 Mon Sep 17 00:00:00 2001 From: Stream Date: Sun, 19 Apr 2026 16:40:01 +0300 Subject: [PATCH] auto-sync: 2026-04-19 16:40:01 --- tasks/flightradar24/frontend/static/index.html | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tasks/flightradar24/frontend/static/index.html b/tasks/flightradar24/frontend/static/index.html index 31a74be..3b7cfaa 100644 --- a/tasks/flightradar24/frontend/static/index.html +++ b/tasks/flightradar24/frontend/static/index.html @@ -62,16 +62,11 @@ L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, }).addTo(map); -// plane SVG icon, rotated by heading +// plane icon rotated by heading function planeIcon(heading) { const deg = heading || 0; - const svg = ` - - `; return L.divIcon({ - html: svg, + html: `
`, className: '', iconSize: [24, 24], iconAnchor: [12, 12], @@ -103,7 +98,7 @@ function closePopup() { async function refresh() { try { - const res = await fetch('/api/aircraft/live?minutes=10'); + const res = await fetch('/api/aircraft/live?minutes=60'); if (!res.ok) throw new Error('HTTP ' + res.status); const geojson = await res.json(); const features = geojson.features || [];