Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update default style to show conditional turn restrictions #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewharvey
Copy link

https://wiki.openstreetmap.org/wiki/Key:restriction defines the restriction:conditional tag. This change ensures that restrictions tagged this way show up with an icon.

I used a transparent icon to distinguish these conditional restrictions from standard unconditional restrictions.

I was tempted to set the text based on the conditional condition however it appears that JOSM's MapCSS implementation does not offer a function to obtain the key directly based on a regexp.

https://wiki.openstreetmap.org/wiki/Key:restriction defines the
restriction:conditional tag. This change ensures that restrictions
tagged this way show up with an icon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant