DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > F1 Live Timing Map

F1 Live Timing Map

Luis Sobrecueva user avatar by
Luis Sobrecueva
·
Apr. 12, 12 · Web Dev Zone · Interview
Like (0)
Save
Tweet
13.11K Views

Join the DZone community and get the full member experience.

Join For Free

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.

f1 live timing map

how it works:

  • the client side:

    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.

  • the server side:

    it uses a django app for the web page and the static race data (circuit, laps, drivers) is put into the html using the django template system.
    for the dynamic data (live timing) i have modified the source of a c program for the linux terminal called live-f1 to generate a json with the data that the client requires instead of printing it on terminal screen.

enjoy the race!

Data (computing) mobile app Google Maps terminal Django (web framework) Driver (software) Printing Template

Published at DZone with permission of Luis Sobrecueva, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Datafaker: An Alternative to Using Production Data
  • Debugging Deadlocks and Race Conditions
  • Java: Why Core-to-Core Latency Matters
  • How to Properly Format SQL Code

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo