2025Live

X-trafik live

Real-time map of buses and trains in Gävleborg. GTFS-RT, Firebase, Leaflet.

v1.2.0

Screenshot from the X-trafik map, live vehicles across Gävleborg.

X-trafik live is a real-time map of public transit in Gävleborg county. Buses and trains move live on the map via GTFS-RT — vehicles update second by second without a page reload.

Behind the map, Firebase pulls GTFS-RT feeds from X-trafik's open API and distributes positions to all connected clients in real time. The map layer is built with Leaflet.

The service runs embedded in jimlov.se at /xtrafik and requires no installation.

TECH STACK

GTFS-RTFirebaseLeaflet
Open the map

RELEASE HISTORY

v1.2.02026-03-01minor

Favourite stops: save and quickly access your most-used stops.

v1.1.02025-12-01minor

Journey planner: find the next departure between two stops with transfers.

v1.0.02025-10-01major

Real-time map launched at jimlov.se/xtrafik. Live positions for buses and trains in Gävleborg County via GTFS-RT.