Skip to content
/ f1mapp Public

F1 live timming map app: show in a map the f1 drivers position in real time using javascript, google maps and formula1.com live timing data

Notifications You must be signed in to change notification settings

lusob/f1mapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

F1 Live timing app

This is a live timing map application for f1 championship races made using javascript and google maps markers. The live timing data is supplied by formula1.com.

It’s interactive, you can press over a driver to track him or press into an empty map zone to untrack and have a general view. It has also been made with a responsive design to adapt it to mobile browsers using jquerymobile framework.

How it works:

Frontend:

It uses a Django app for the web page and the static race data (circuit, laps, driver names) is put into the html using the django template system.

Until the race start date a countdown and a demo race is showed.

When the countdown finishes it will connect to server (using ajax) to get the live timing data from server (every five seconds) and the interface will be updated using this data.

Backend:

There are two programs to run the backend (see readme.txt in backend folder):

  • live-f1: It's a C linux shell program called live-f1 modified to generate a json with the drivers data
  • nodejs: It's a websocket server to serve the json file generated by the above program

About

F1 live timming map app: show in a map the f1 drivers position in real time using javascript, google maps and formula1.com live timing data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published