An application tracking all the MBTA buses around MIT, and give their positions in real time
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.
- Create an account and get a free API Access Token at https://www.mapbox.com/
- Clone the repo
git@github.com:rodolphonapoleon/bus-tracker-project.git
- Enter your Access Token in
script.js
mapboxgl.accessToken = 'YOUR ACCESS TOKEN'
- 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
For any problems or issues:
- Email : rnapoleon@imajine.ht
Let's keep in touch
- Get the marker color blue when a bus is heading to MIT and red when is going in the opposite direction.
This project is licensed under the MIT License - see the LICENSE file for details