The Realtime Bus Tracking animation project is part of an assignment in the Week 9 of the Professional Certificate in Coding: Full Stack Development with MERN. It uses javascript, CSS and calls to MapBox API to create an animation of a moving marker in a map.
License: MIT License
You can download the source code cloning this repository using Git:
-
Open your favorite Terminal app (Unix, Linux or Macos), such as Terminal, Command, Console, iTerm2, so on.
-
Clone the repository
git clone https://github.com/dicotips/mit_xpro_bus_tracking.git
or
git clone git@github.com:dicotips/mit_xpro_bus_tracking.git
You will need to have an account in MapBox (https://mapbox.com/) to get an Access Token.
-
Add you access token in mapanimation.js:18 file.
-
Open the index.html file in your favorite Web Browser.
The future features and improvements that I want to do are:
- Track your GPS location in the map.
- Create a Database history of all the GPS positions during a period of time.
- Search alternative paths frop point X to Y based on heuristic information.