Skip to content

Commit

Permalink
Merge pull request #193 from ZeLonewolf/1ec5-tw
Browse files Browse the repository at this point in the history
ROC route shields
  • Loading branch information
ZeLonewolf authored Feb 24, 2022
2 parents 4e1cbcb + 1dee4ec commit 3b273ba
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
6 changes: 6 additions & 0 deletions style/icons/shield40_tw_expressway.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions style/icons/shield40_tw_freeway.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions style/icons/shield40_tw_provincial.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions style/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,41 @@ export function loadShields(shieldImages) {
shields["US:WA:Business"] = banneredShield(shields["US:WA"], ["BUS"]);
shields["US:WA:Alternate"] = banneredShield(shields["US:WA"], ["ALT"]);

// Asia
shields["TW:freeway"] = {
backgroundImage: shieldImages.shield40_tw_freeway,
textLayoutConstraint: ShieldText.ellipseTextConstraint,
textColor: "black",
padding: {
left: 4,
right: 4,
top: 4,
bottom: 4,
},
};
shields["TW:provincial"] = {
backgroundImage: shieldImages.shield40_tw_provincial,
textLayoutConstraint: ShieldText.southHalfellipseTextConstraint,
textColor: "white",
padding: {
left: 2,
right: 2,
top: 2,
bottom: 10,
},
};
shields["TW:expressway"] = {
backgroundImage: shieldImages.shield40_tw_expressway,
textLayoutConstraint: ShieldText.southHalfellipseTextConstraint,
textColor: "white",
padding: {
left: 2,
right: 2,
top: 2,
bottom: 10,
},
};

// Europe
shields["e-road"] = {
backgroundImage: [
Expand Down

0 comments on commit 3b273ba

Please sign in to comment.