Skip to content

Commit

Permalink
Added Akrotiri and Dhekelia to status map
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Oct 9, 2022
1 parent 6d9d707 commit 9310af7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions 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.
4 changes: 4 additions & 0 deletions scripts/status_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(".cy")) {
// The Cyprus road network includes Akrotiri and Dhekelia (British Overseas Territory).
selectors.add(".akrotiridhekelia");
}
if (selectors.has(".nl")) {
// Curaçao routes use NL prefix with the Netherlands.
selectors.add(".cw");
Expand Down

0 comments on commit 9310af7

Please sign in to comment.