Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.05 KB

CurbLR viewer


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. This map can ingest data created in CurbLR version 1.1.0 (released in Sept 2020). For data feeds using older versions of CurbLR, see other branches.

image

Install

In the working copy:

  1. Set up project and install dependencies:
yarn
  1. 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.)

  1. Launch map:
yarn start

Configure

  • 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