safe-cycling-map/README.md

39 wiersze
1.1 KiB
Markdown
Czysty Zwykły widok Historia

2023-01-05 02:09:44 +00:00
Safe Cycling Map
================
2023-01-05 06:06:46 +00:00
Work in progress! PRs and forks very welcome :)
2023-01-05 02:09:44 +00:00
2023-01-05 02:17:09 +00:00
2023-01-05 06:06:46 +00:00
![Screenshot of map](img/safe-cycling-map-2022-01-05-v2.jpg)
2023-01-05 02:17:09 +00:00
2023-01-05 02:09:44 +00:00
A map of bike infrastructure using [osm2streets](https://github.com/a-b-street/osm2streets) output.
Uses [osm2streets-vector-tileserver](https://github.com/jakecoppinger/osm2streets-vector-tileserver),
a vector tileserver I wrote to generate Protobuf GeoJSON vector tiles using the JS bindings to
osm2streets (which is written in Rust).
# Local development
See instructions for setting up the backend tileserve at
[https://github.com/jakecoppinger/osm2streets-vector-tileserver](https://github.com/jakecoppinger/osm2streets-vector-tileserver)
Install packages:
`nvm install`
`npm i`
Run dev server:
`npm run start`
Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br />
You will also see any lint errors in the console.
### `npm run build`
Builds the app for production to the `build` folder.<br />
It bundles React in production mode and optimizes the build for the best performance.
# License
GNU GPL v3