Skip to content
All projects

Magula FlightTracker

A Django-based spatiotemporal web application that ingests, filters, and renders real-time aviation telemetry on interactive geospatial maps.

Magula FlightTracker screenshot

What to notice

Summary

This is a real-time animated flight tracking web application built with Django (backend) and Solid.js (frontend), leveraging the Google Maps JavaScript API. It displays live flight data for Discover Airlines (4Y/OCN) flights between Frankfurt (FRA), Windhoek (WDH), and Munich (MUC), with animated aircraft markers that move along predicted paths, update every second, and auto-refresh every 10 seconds. The page includes filter buttons (by category, airport, flight no., altitude, etc.), a contact/about modal, and persistent viewport state via localStorage.

Target audience

Aviation enthusiasts, flight tracking hobbyists, and professionals interested in real-time flight visualization over Africa/Europe routes. Also aimed at developers exploring Django + Solid.js integrations for interactive map-based dashboards.

Key features

  • Real-time animated flight markers on Google Maps with aircraft-shaped icons that rotate according to track heading
  • Live position prediction every second using velocity, track, and elapsed time calculations
  • Auto-refresh every 10 seconds to fetch the latest flight data from the Django backend
  • Clickable markers linking to FlightAware for detailed flight information
  • Trail visualization with polyline paths showing the last 20 positions of each flight
  • Filter buttons for Category, Airport, Bounds, Flight No., Airspace, Operating As, Aircraft, Route, and Altitude
  • Persistent map viewport (zoom/center saved to localStorage across auto-refreshes)
  • Contact form modal for inquiries/feedback with AJAX submission
  • Empty state handling with a clear banner when no flights match criteria
  • Keyboard controls with on-screen hint (+/- to zoom, arrows to pan, Esc to focus)

Pain points

  • 10-second auto-refresh interrupts the user experience and resets map interactions if the user is not actively typing
  • Incomplete flight data - only shows 3 flights from a single airline (Discover Airlines) on specific routes
  • No historical data or playback - only real-time/predicted positions with no ability to rewind
  • Prediction drift - the velocity-based prediction doesn't account for real-world factors like wind, air traffic control, or course changes
  • Contact form requires CSRF token that may expire on long-persisting pages
  • No user authentication or personalized features (saved filters, favorite flights, etc.)
  • Limited geolocation scope - flights only cover Europe-Africa routes

Usage instructions

Open the page to see an interactive Google Map with live aircraft markers. Use the filter buttons at the top (Category, Airport, Flight No., etc.) to narrow down flights. Click any aircraft marker to open its FlightAware page in a new tab. Use +/- keys to zoom, arrow keys to pan, and Esc to refocus the map. Click the 'Contact' button to send feedback or inquiries via the modal form. The page auto-refreshes every 10 seconds to update flight data.