SharedStreets CurbLR Viewer is an interactive web map that displays curb regulations and key stats for a specified weekday and hour. Input data must be provided in the CurbLR specification.
In the working copy:
- Set up project and install dependencies:
yarn
- Restore Ant Design Pro (charting library) styling changes:
git checkout node_modules/ant-design-pro
(This is necessary because installing the dependencies removed chart styling overrides.)
- Launch map:
yarn start
- CurbLR data feeds are stored in /src/assets/data. Add desired CurbLR feed here.
- CurbLR feed is specified in /src/models/curblr.ts
- Default viewport and zoom level are specified in /src/pages/index.tsx