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

Change E-road shields to variable-width #1023

Merged
merged 3 commits into from
Jan 2, 2024

Conversation

Blijbol
Copy link
Contributor

@Blijbol Blijbol commented Dec 27, 2023

This removes the fixed 34px width for E-road shields.

Sample road signs showing the varying width of E-road shields depending on the number of digits:

@ZeLonewolf
Copy link
Member

Thanks for the PR, this logic makes sense to me.
Please add location 9/51.5829/5.2957 to test/sample_locations.json (unless you have a better test location to show the differences). This is new functionality just added to show render samples in the "PR Preview" section.

@Blijbol
Copy link
Contributor Author

Blijbol commented Jan 1, 2024

I added a sample location near the Belgium-France-Luxembourg tripoint with both a 2-digit and a 3-digit E-route. The shield for the 2-digit E-route becomes slightly smaller in this sample.

Copy link
Member

@ZeLonewolf ZeLonewolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@ZeLonewolf ZeLonewolf merged commit 8eff097 into osm-americana:main Jan 2, 2024
6 checks passed
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.

2 participants