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.
- A selector switch between the views between four different bus routes
- Pop up messages with bus information added to each bus marker. (Clicking on the marker opens mesage box)
- Custom colors were added to differentiate each bus route
- Added an Alert banner towards bottom of Map for messages
- Zoom controls added
- Compas controls added
- Fork a Copy of this project to your Github page
- Clone a copy from your Github page to your local work environment
- Create an account at MapBox using this link MapBox
- Use this link to open an account or retrieve a token there to use without an accountMassachusetts Bay Transportation Authority (MBTA)
- Past your two keys in the proper locations in the script file
- Open the index file using a browser
- Select from one of four routes from the selectormenu on the top left side of the web page
- Watch the alerts and markers change in real time
Exploring ideas for additional features such as the ability to choose additional routes and map controls
- Bill Conley
- Dr. Abel Sanchez
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.