Skip to content

Commit

Permalink
Added route shields for the Philippines
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Feb 25, 2022
1 parent afbb684 commit af9b2ae
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions style/icons/shield40_ph_expressway_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions style/icons/shield40_ph_national_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions style/icons/shield40_ph_national_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions style/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,34 @@ export function loadShields(shieldImages) {
},
};

shields["PH:N"] =
shields["PH:N:primary"] =
shields["PH:N:secondary"] =
shields["ph:nhn"] =
{
backgroundImage: [
shieldImages.shield40_ph_national_2,
shieldImages.shield40_ph_national_3,
],
textColor: "black",
padding: {
left: 2,
right: 2,
top: 2,
bottom: 6,
},
};
shields["PH:E"] = {
backgroundImage: shieldImages.shield40_ph_expressway_2,
textColor: "black",
padding: {
left: 2,
right: 2,
top: 2,
bottom: 6,
},
};

shields["TW:freeway"] = {
backgroundImage: shieldImages.shield40_tw_freeway,
textLayoutConstraint: ShieldText.ellipseTextConstraint,
Expand Down

0 comments on commit af9b2ae

Please sign in to comment.