From 5d2a6226529524a326799811cc63889f5f477ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 23 Feb 2022 01:39:42 -0800 Subject: [PATCH] Added Hong Kong route shields --- style/icons/shield40_hk.svg | 43 +++++++++++++++++++++++++++++++++++++ style/js/shield_defs.js | 12 +++++++++++ 2 files changed, 55 insertions(+) create mode 100644 style/icons/shield40_hk.svg diff --git a/style/icons/shield40_hk.svg b/style/icons/shield40_hk.svg new file mode 100644 index 000000000..0b66e5a0f --- /dev/null +++ b/style/icons/shield40_hk.svg @@ -0,0 +1,43 @@ + + + + + + + + diff --git a/style/js/shield_defs.js b/style/js/shield_defs.js index 98e384761..ab7b51c7e 100644 --- a/style/js/shield_defs.js +++ b/style/js/shield_defs.js @@ -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, + }, + }; + // Europe shields["e-road"] = { backgroundImage: [