From 6670672b16af4db8afc931f2c0694a745793f2de Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Thu, 6 Apr 2023 19:49:40 -0400 Subject: [PATCH 1/2] Add Long Island Parkway shield --- icons/shield_us_ny_parkway_li.svg | 4 ++++ src/js/shield_defs.js | 10 ++++++++++ src/shieldtest.js | 1 + 3 files changed, 15 insertions(+) create mode 100644 icons/shield_us_ny_parkway_li.svg diff --git a/icons/shield_us_ny_parkway_li.svg b/icons/shield_us_ny_parkway_li.svg new file mode 100644 index 000000000..ff585e69c --- /dev/null +++ b/icons/shield_us_ny_parkway_li.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index 7ff9d04d7..b52dd45a5 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -2390,6 +2390,16 @@ export function loadShields() { colorLighten: Color.shields.white, colorDarken: Color.shields.green, }; + shields["US:NY:Parkway:LI"] = { + spriteBlank: "shield_us_ny_parkway_li", + textColor: Color.shields.black, + padding: { + left: 6, + right: 2, + top: 2, + bottom: 8, + }, + }; shields["US:NY:Parkway:NYC"] = { spriteBlank: "shield_us_ny_parkway_nyc", textColor: Color.shields.black, diff --git a/src/shieldtest.js b/src/shieldtest.js index 82d6b0212..3e1cc33bb 100644 --- a/src/shieldtest.js +++ b/src/shieldtest.js @@ -157,6 +157,7 @@ let networks = [ "US:DC", "US:FL", "US:NH", + "US:NY:Parkway:LI", "US:NY:Parkway:NYC", "US:OK", "US:SC", From bf303b14e6109eb6d7bbdcc21ff56091c7b75383 Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Thu, 6 Apr 2023 20:26:09 -0400 Subject: [PATCH 2/2] Add Lake Ontario State Parkway shield --- icons/shield_us_ny_parkway_losp.svg | 6 ++++++ src/js/shield_defs.js | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 icons/shield_us_ny_parkway_losp.svg diff --git a/icons/shield_us_ny_parkway_losp.svg b/icons/shield_us_ny_parkway_losp.svg new file mode 100644 index 000000000..96020f4ad --- /dev/null +++ b/icons/shield_us_ny_parkway_losp.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index b52dd45a5..5cbefebe0 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -2400,6 +2400,11 @@ export function loadShields() { bottom: 8, }, }; + shields["US:NY:Parkway:LOSP"] = { + noref: { + spriteBlank: "shield_us_ny_parkway_losp", + }, + }; shields["US:NY:Parkway:NYC"] = { spriteBlank: "shield_us_ny_parkway_nyc", textColor: Color.shields.black,