zlant / parking-lanes

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

Fix buttons for parking on odd/even days and for free/paid parking #140

Open SupaplexOSM opened 1 year ago

SupaplexOSM commented 1 year ago

If clicking the little preset buttons for parking on odd/even days or free/paid parking, then the unspecific parking:*=yes is tagged (that even overwrites existing parking:*-Tags). Maybe it's better to not set the parking:* tag at all (or only if it's empty)?

Clicking the free parking button currently is not setting the fee=no attribute.

Also, it seems, that the "parking on odd days" button tags the specific conditional value "none @ 1-31/2" (not sure if this syntax is correct), but it's invisible till you expand the conditional restriction field manually by changing the restriction value in the drop down menu. The even-days-button isn't tagging a conditional restriction at all.