Skip to content

Commit

Permalink
Added Cyprus motorway shields
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Oct 10, 2022
1 parent 7af1e13 commit 72678d8
Show file tree
Hide file tree
Showing 5 changed files with 90 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.
39 changes: 39 additions & 0 deletions icons/shield_hex_vert_green_yellow_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions icons/shield_hex_vert_green_yellow_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3062,6 +3062,16 @@ export function loadShields(shieldImages) {
Color.shields.white
);

// Cyprus
shields["cy:national"] = {
...hexagonVerticalShield,
backgroundImage: [
shieldImages.shield_hex_vert_green_yellow_2,
shieldImages.shield_hex_vert_green_yellow_3,
],
textColor: Color.shields.yellow,
};

// Czechia
shields["CZ:national"] = roundedRectShield(
Color.shields.red,
Expand Down
1 change: 1 addition & 0 deletions src/shieldtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ let networks = [
"PK:national",

"AU:QLD:MR",
"cy:national",
"GR:national",
"my:federal",
"TR:motorway",
Expand Down

0 comments on commit 72678d8

Please sign in to comment.