cloutierjo / curb-map

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:TypeScript 67.1%Language:JavaScript 32.4%Language:CSS 0.4%