/curb-map

Web map for visualizing curb regulations and key stats. Uses CurbLR data spec.

Primary LanguageTypeScript

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.0.0 or 1.1.0.

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