I made this app inspired in this project and this article.
This project was bootstrapped with Create React App.
To execute this project, clone and after that run:
Running the development mode.
Open 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.
NOTE: Remember to put a .env
file with the Mapbox Access Token, like example bellow:
REACT_APP_MAPBOX_GL_TOKEN="my-mapbox-secret-token"
You can know more on this link