Skip to content

Commit

Permalink
Merge pull request #195 from ZeLonewolf/1ec5-ph
Browse files Browse the repository at this point in the history
Philippines route shields
  • Loading branch information
1ec5 authored Mar 10, 2022
2 parents 4056790 + 8257799 commit a54a346
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
3 changes: 3 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.
3 changes: 3 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.
3 changes: 3 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.
24 changes: 24 additions & 0 deletions style/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,30 @@ export function loadShields(shieldImages) {
},
};

shields["PH:N"] = {
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 a54a346

Please sign in to comment.