A map of bike infrastructure using osm2streets output.
 
 
 
 
Go to file
Jake Coppinger 84a8f2b452 Add meta tags, increase min zoom for background 2023-01-19 20:46:24 +11:00
config Add directions api 2023-01-17 13:21:47 +11:00
img Improve layering, update screenshot 2023-01-05 17:06:46 +11:00
public Add meta tags, increase min zoom for background 2023-01-19 20:46:24 +11:00
scripts Initial commit 2023-01-05 13:09:44 +11:00
src Add meta tags, increase min zoom for background 2023-01-19 20:46:24 +11:00
.gitignore Initial commit 2023-01-05 13:09:44 +11:00
.nvmrc Initial commit 2023-01-05 13:09:44 +11:00
LICENSE Initial commit 2023-01-05 12:56:01 +11:00
README.md Migrate back to Mapbox GL JS to use directions api 2023-01-17 13:13:43 +11:00
package-lock.json Add geocoding 2023-01-17 13:26:46 +11:00
package.json Add geocoding 2023-01-17 13:26:46 +11:00
tsconfig.json Initial commit 2023-01-05 13:09:44 +11:00

README.md

Safe Cycling Map

Work in progress! PRs and forks very welcome :)

Screenshot of map

A map of bike infrastructure using osm2streets output.

Uses 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

Install packages: nvm install npm i --legacy-peer-deps

Run dev server: npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It bundles React in production mode and optimizes the build for the best performance.

License

GNU GPL v3