Skip to content

Commit

Permalink
Added Trans-Canada Highway shield
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Mar 15, 2022
1 parent b2b47f7 commit e4b899b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc-img/shield_map_world.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_ca_tch.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions style/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,24 @@ export function loadShields(shieldImages) {
},
};

// North America

shields["CA:transcanada"] = {
backgroundImage: shieldImages.shield40_ca_tch,
textLayoutConstraint: ShieldText.ellipseTextConstraint,
textColor: "#006747",
padding: {
left: 2,
right: 2,
top: 5,
bottom: 4,
},
};
shields["CA:transcanada:namedRoute"] = {
norefImage: shieldImages.shield40_ca_tch,
notext: true,
};

shields["US:I"] = {
backgroundImage: [
shieldImages.shield40_us_interstate_2,
Expand Down

0 comments on commit e4b899b

Please sign in to comment.