Try a DEMO
Documentation
git clone https://github.com/agl0809/react-location-history-player/
cd react-location-history-player
npm installRuns the app in the development mode:
npm startOpen http://localhost:3000 to view it in the browser.
The page will reload if you make edits.You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode:
npm testBuilds the app for production to the build folder:
npm run buildIt correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the file names include the hashes.
There are two different ways to set up the data provided in constants.js
Firebase service
By default Firebase service example will be used.
export const JSON_FILE_URL = 'https://api-project-923029851043.firebaseio.com/locations.json';Google Takeout
Use a specific data file downloading the location history JSON file. Then move it to /public project folder .
export const JSON_FILE_URL = '/YOUR_FILE_NAME.json';