tejassavaliya / react-google-map-vehicle-tracking

Created a Single page application in ReactJS which uses the provided data from mock API which display a live tracking of a vehicle in google map

Home Page:https://react-google-map-vehicle-live-tracking.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-google-map-vehicle-tracking Netlify Status

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

GMap-Simulator

Available Scripts

In the project directory, you can run:

npm start

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.

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!

About

Created a Single page application in ReactJS which uses the provided data from mock API which display a live tracking of a vehicle in google map

https://react-google-map-vehicle-live-tracking.netlify.app/


Languages

Language:JavaScript 83.8%Language:HTML 11.6%Language:CSS 4.6%