Skip to content

An animated map of the MBTA bus stops between Harvard and MIT, using the Mapbox library and API.

License

Notifications You must be signed in to change notification settings

jayeclark/bus-map-animation

Repository files navigation

Bus-Map-Animation

An animated map of the MBTA bus stops between Harvard and MIT.

Screenshot of Bus Map Animation

Description

This project demonstrates the ability to render a map on a web page and build and manipulate maps on web pages using the Mapbox library and API.

Features

  • Page displays a styled map of Cambridge, Massachusetts
  • Clicking the button starts the animation
  • The animation cycles through the bus stops between Harvard and MIT at an interval of 1 second

Built With

  • Mapbox
  • Javascript
  • CSS
  • HTML

How to Run

This will run locally in your browser from index.html if you download all files and ensure they're located in the same directory as each other and have the same file structure (i.e. images folder with separately stored images.) Alternately, you can see it in action here.

Planned Future Improvements

  • Rewrite the animation to travel from Harvard to MIT and back, instead of only one direction
  • Use the Mapbox library to smooth the transition from one stop to the next
  • Add a toggle option for real time bus tracking to the map
  • Add the option to display map animations of bus stops at other locations

Back Matter

Legal Disclaimer

Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

License

This project is licensed under the MIT License.

About

An animated map of the MBTA bus stops between Harvard and MIT, using the Mapbox library and API.

Topics

Resources

License

Stars

Watchers

Forks