Skip to content

Commit

Permalink
Added Hong Kong route shields
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Feb 24, 2022
1 parent a5008b0 commit 3db2386
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
43 changes: 43 additions & 0 deletions style/icons/shield40_hk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions style/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,18 @@ export function loadShields(shieldImages) {
};
});

shields["HK"] = {
backgroundImage: shieldImages.shield40_hk,
textLayoutConstraint: ShieldText.southHalfellipseTextConstraint,
textColor: "black",
padding: {
left: 1,
right: 1,
top: 1,
bottom: 12,
},
};

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

0 comments on commit 3db2386

Please sign in to comment.