Skip to content

This current project's purpose was to use (MBTA) JSON data to populate an Mapbox API every 15 seconds, to illustrate each bus stop from MIT to Harvard.

License

Notifications You must be signed in to change notification settings

SoftwareSam29/RealTimeBusTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealTimeBusTracker

This current project's purpose was to use (MBTA) JSON data to populate a Mapbox API every 15 seconds, to illustrate each bus stop from MIT to Harvard. Some of the changes that were made are; the button is now 3-D and a different color, I changed the color of the marker to white and finally I chose a different map style offered by Mapbox.

How to Run Code on Your Machine

1. Download the following files: -Index.html -Styles.css -mapAnimation.js

  1. Open the "Index.html" file, insert your own API token in the (mapboxgl.accessToken = ' ')

  2. Save changes on your Editor, Drag and Drop the HTML file onto your browser and the map should load, along with the button to show the bus stops!

Road to Future Improvements

In the future I would like to incorporate more styling into my projects; possibly a different marker, more 3-D animation or visuals, and other minor details that help a project stand out!

About

This current project's purpose was to use (MBTA) JSON data to populate an Mapbox API every 15 seconds, to illustrate each bus stop from MIT to Harvard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published