Created a Single page application in ReactJS which uses the provided data from mock API which display a live tracking of a vehicle. Rendered Map have below things:
- A Path ( polyline) - based on the path data provided in API-1
- Stops ( Markers ) - based on the stops data provided in API-2
- A Live Vehicle Tracker - Simulation which moves the vehicle very two seconds on the displayed path ( polyline )
- Start Simulation Button - Which starts the simulation
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!