Displaying live data on a map

Live airplane routes

This example displays a real-life live map of airplanes flying over the world. The data is retrieved from a live API once every 10 seconds.

The trajectory of each airplane is calculated client-side based on its speed (in m/s) and the bearing (in degrees starting from North, clockwise) and normalized with each API call.

Only planes (markers) with positions within the map's bounds are drawn on the map

Plane details