Skip to content

BillConley01/Real-Time-Bus-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Time Bus Tracker With Javascript ES6

This code provides real time information for four Boston bus lines. This code originate from an assignment in Week #9 of MIT's MERN Coding Bootcamp. The challenge was to animate and add features to a map view of a Boston bus route.

Links

Features

  1. A selector switch between the views between four different bus routes
  2. Pop up messages with bus information added to each bus marker. (Clicking on the marker opens mesage box)
  3. Custom colors were added to differentiate each bus route
  4. Added an Alert banner towards bottom of Map for messages
  5. Zoom controls added
  6. Compas controls added

How to Use

  1. Fork a Copy of this project to your Github page
  2. Clone a copy from your Github page to your local work environment
  3. Create an account at MapBox using this link MapBox
  4. Use this link to open an account or retrieve a token there to use without an accountMassachusetts Bay Transportation Authority (MBTA)
  5. Past your two keys in the proper locations in the script file
  6. Open the index file using a browser
  7. Select from one of four routes from the selectormenu on the top left side of the web page
  8. Watch the alerts and markers change in real time

Roadmap

Exploring ideas for additional features such as the ability to choose additional routes and map controls

Contributors

  • Bill Conley
  • Dr. Abel Sanchez

License

MIT License

Copyright (c) 2021 Bill Conley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Tracks Boston bus locations in real time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published