From 43de367464c24869bedc5cea25bf4349b4220282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sat, 25 Jun 2022 21:38:38 -0700 Subject: [PATCH] Added Ecuador arterial, collector shields --- doc-img/shield_map_world.svg | 1 + icons/shield40_ec_collector_3.svg | 51 +++++++++++++++++++++++++++++++ src/js/shield_defs.js | 11 +++++++ 3 files changed, 63 insertions(+) create mode 100644 icons/shield40_ec_collector_3.svg diff --git a/doc-img/shield_map_world.svg b/doc-img/shield_map_world.svg index 068b8eaf4..91df668aa 100644 --- a/doc-img/shield_map_world.svg +++ b/doc-img/shield_map_world.svg @@ -116,6 +116,7 @@ See the end of this file for a list of available jurisdictions and their codes. .ca, .us, +.ec, .bd, .cn, .hk, diff --git a/icons/shield40_ec_collector_3.svg b/icons/shield40_ec_collector_3.svg new file mode 100644 index 000000000..870742efa --- /dev/null +++ b/icons/shield40_ec_collector_3.svg @@ -0,0 +1,51 @@ + + + + + + + + + diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index f2faaabd8..1d1c9e98e 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -2397,6 +2397,17 @@ export function loadShields(shieldImages) { (county) => (shields[`US:WY:${county}`] = pentagonShieldBlueYellow) ); + // SOUTH AMERICA + + // Ecuador + shields["EC:national"] = shields["US:I"]; + shields["EC:provincial"] = { + backgroundImage: shieldImages.shield40_ec_collector_3, + textLayoutConstraint: ShieldText.southHalfellipseTextConstraint, + textColor: Color.shields.white, + padding: padding_us_interstate, + }; + // ASIA // Bangladesh