An open API service indexing awesome lists of open source software.

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.

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.

![image](https://user-images.githubusercontent.com/9657971/94090506-c30c7b00-fde3-11ea-89b9-81032ad08ad7.png)

## 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