From e35d4234ef2eecfff18813a3e23ff7d17cc40dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sat, 25 Jun 2022 17:47:26 -0700 Subject: [PATCH] =?UTF-8?q?Added=20Cura=C3=A7ao=20more=20durably=20to=20sh?= =?UTF-8?q?ield=20coverage=20map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc-img/shield_map_world.svg | 3 ++- scripts/status_map.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc-img/shield_map_world.svg b/doc-img/shield_map_world.svg index 673543563..068b8eaf4 100644 --- a/doc-img/shield_map_world.svg +++ b/doc-img/shield_map_world.svg @@ -157,7 +157,8 @@ See the end of this file for a list of available jurisdictions and their codes. .sk, .ua, .xk, -.nz { fill: #8250df; } +.nz, +.cw { fill: #8250df; } /* Color individual borders For example, to color the border between Angola and Namibia in green, add this line in the space below: diff --git a/scripts/status_map.js b/scripts/status_map.js index 0f74854b8..4d935c74f 100644 --- a/scripts/status_map.js +++ b/scripts/status_map.js @@ -5,6 +5,10 @@ import * as ShieldDef from "../src/js/shield_defs.js"; function fillPaths(svg, codes) { let selectors = new Set(codes.map((code) => `.${code.toLowerCase()}`)); + if (selectors.has(".nl")) { + // CuraƧao routes use NL prefix with the Netherlands. + selectors.add(".cw"); + } return svg.replace(".supported", new Array(...selectors).join(",\n")); }