-
Notifications
You must be signed in to change notification settings - Fork 65
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
Adding highway shields in Peru #1178
Conversation
src/js/shield_defs.js
Outdated
shields[`PE:departmental:${department}`], | ||
shields[`PE:rural:${department}`], | ||
] = [ | ||
escutcheonDownShield(12, Color.shields.white, Color.shields.black), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These shields are visually closer to the state highway shields of Mexico (see line 584). Let's factor that out into a reusable shield definition and use it here.
Side note: this is making it really clear how much we need a draw function for badge shields, and maybe support for crossbars and accent colors in some of the functions...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this should be addressed with the latest commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This PR adds the Peruvian national, departmental, and rural route shields to the map after some tagging changes. Only the national routes required a new shield.
Localhost link
Pan-American, national, departmental, and rural highway shields in Peru