Tools to Visualize Floating Forest Classifications
Don't forget the Wiki! You can find some great information there about the Mapping Viz Tools infrastructure.
Be sure to check out Zoomapper, which serves custom mbtiles for this app to consume.
Azure Functions used to connect this app to the backend are maintained at mapping-viz-functions.
In the project directory, you can run:
This will install all dependencies for the project. Run this command the first time you check out the code for this repo. If you get a node version error, either update your Node.js version or try running the install with the --ignore-engines
flag like so: yarn install --ignore-engines
Runs the app in the development mode.
Open https://localhost:4000 to view it in the browser.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
Launches the Storybook viewer at http://localhost:9009/
Uses source-map-explorer to visually analyze the bundle for bloats.
To run this:
yarn build && yarn analyze
On push to the master
branch, the staging site is deployed to https://mapping-viz-staging.zooniverse.org.
Add notes here about REACT_APP_ENV: development.
Occasionally, Open Street Maps will not load via TileLayer using localhost in Chrome. OSM detects that environment to prevent abuse of their tile servers.