https://github.com/sharedstreets/curb-map
Web map for visualizing curb regulations and key stats. Uses CurbLR data spec.
https://github.com/sharedstreets/curb-map
Last synced: 11 months ago
JSON representation
Web map for visualizing curb regulations and key stats. Uses CurbLR data spec.
- Host: GitHub
- URL: https://github.com/sharedstreets/curb-map
- Owner: sharedstreets
- License: mit
- Created: 2019-11-06T22:51:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T15:16:41.000Z (about 5 years ago)
- Last Synced: 2025-04-12T05:14:53.518Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 118 MB
- Stars: 10
- Watchers: 4
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.github.com/sharedstreets/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.

## Install
In the working copy:
1. Set up project and install dependencies:
```sh
yarn
```
2. Restore Ant Design Pro (charting library) styling changes:
```sh
git checkout node_modules/ant-design-pro
```
(This is necessary because installing the dependencies removed chart styling overrides.)
3. Launch map:
```sh
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