https://github.com/earthskyorg/react-google-vehicle-tracking
React Google Map Vehicle Tracking
https://github.com/earthskyorg/react-google-vehicle-tracking
Last synced: 3 months ago
JSON representation
React Google Map Vehicle Tracking
- Host: GitHub
- URL: https://github.com/earthskyorg/react-google-vehicle-tracking
- Owner: earthskyorg
- Created: 2022-10-28T21:04:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T21:05:04.000Z (over 2 years ago)
- Last Synced: 2025-01-19T23:30:59.213Z (5 months ago)
- Language: JavaScript
- Size: 1.79 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-google-map-vehicle-tracking [](https://app.netlify.com/sites/react-google-map-vehicle-live-tracking/deploys)
## Demo Link: https://react-google-map-vehicle-live-tracking.netlify.app/#
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#### API-1 : `https://61a4a0604c822c0017041d33.mockapi.io/shuttle/v1/path`
#### API-2 : `https://61a4a0604c822c0017041d33.mockapi.io/shuttle/v1/stops`#

#
## Available ScriptsIn the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](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.### `npm run build`
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!#