Demo mapbox app demonstrating example of usage redux toolkit for handling complex app state.
- Ensure you got node & yarn installed
- Clone the repo
- Navigate to the project's root
- Run
yarn
to install all dependencies - Add the
.env.local
file with your mapbox token yarn start
- Mapbox integration
- Two Mapbox layers displaying different aggregated views of provided raw geojson data:
- location layer
- area layer — displaying exact object's area. Can be examined on close zoom in.
- Two bar chart statistic components categorizing incoming data by specific aspect:
- object's material
- object's area
- Extension on top of stat charts providing interactive object filtering on chart bar click.
- Resetting filter state button.
- Dynamic objects loading on map resize.
- Add more tests
- Re-implement object's marker to display useful information on hover