Skip to content

rodolphonapoleon/bus-tracker-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pacman-logo

bus-tracker

An application tracking all the MBTA buses around MIT, and give their positions in real time

Description

The app tracks the route 1 of all MBTA buses in real time. Every 15 seconds, their positions are updated on a map (Mapbox map). Each bus is identified by a marker on the map.

Getting Started

Installing

  1. Create an account and get a free API Access Token at https://www.mapbox.com/
  2. Clone the repo
git@github.com:rodolphonapoleon/bus-tracker-project.git
  1. Enter your Access Token in script.js
mapboxgl.accessToken = 'YOUR ACCESS TOKEN'

Executing application

  • Open the comand line
  • Go to the directory where the files are located
  • And simply open the html file with the command open
open index.html
  • 0r simply drag and drop the index.html file into the browser

Support

For any problems or issues:

Let's keep in touch

LinkedIn Account

Twitter Account

Roadmap

  • Get the marker color blue when a bus is heading to MIT and red when is going in the opposite direction.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

An app tracking all the MBTA buses around MIT, and give their positions in real time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published