Shows parking restrictions on streets in OpenStreetMap.
Live at OpenParkingMap.com
Originally built by zlant (GitHub) / acsd (OSM). I've added Australian parking signs, deployed to this website to attract more users and made other small changes, but it's really all their hard work.
See their original launch post on OSM, and their deployment of the viewer at https://zlant.github.io/parking-lanes/#16/52.4751/13.4435.
Click the Editor
button in the bottom right. It will take some time to load the data using
Overpass turbo.
If the map data isn't loading, either there is no data for your location or Overpass Turbo isn't returning any data.
If you're moving the map a lot you may get HTTP error 429 - Overpass Turbo has a low rate limit threshold. I've added a debounce function but it still crops up.
Open your browser console to look for errors. PRs welcome to surface these errors in the UI.
The correct Node version is specified in .nvmrc
.
For an easy way to automatically use this Node version just for your current shell:
- Install
nvm
- Using the [install script]https://github.com/nvm-sh/nvm#install--update-script)
- Or using Homebrew
- Run
nvm use
to automatically use the Node version specified in the.nvmrc
. You may need tonvm install
.
- Install dependencies:
npm i
- Run
npm run prepare
. This will install Husky, which will automatically run the command in.husky/pre-commit
before commiting. This prevents commits that fail typecheck or the linter being committed (you can always add a type or linter ignore though). - Start Webpack dev server:
npm run start
Geolocation won't work over http. ngrok can start an HTTPS tunnel to your localhost with the following command:
ngrok http --host-header=rewrite 33444
Run npm run prepare
. This will install Husky, which will automatically run the command in .husky/pre-commit
before commiting.
This prevents commits that fail typecheck or the linter being committed (you can always add a type or linter ignore though).
MIT