zlant / parking-lanes

Parking lanes viewer from OpenStreetMap
https://zlant.github.io/parking-lanes/
MIT License
77 stars 13 forks source link

Improve max zoom #71

Closed tordans closed 2 years ago

tordans commented 2 years ago

This has multiple parts:

  1. It syncs the maxZoom, maxNativeZoom in order to make it easier to switch layer
  2. It fixes the maxZoom for Maxar, which does not load data on https://zlant.github.io/parking-lanes/#21/52.50753/13.46417
  3. It adds a reminder to keep the maxZoom in Sync with generateStyleMapByZoom() which caused an error in my build. I don't know why the error does not show in your build (maybe different NodeJS versions?), but in any case this should help with documenting the setup regardless.