Skip to content

Commit

Permalink
Merge pull request #295 from ZeLonewolf/shields-maryland
Browse files Browse the repository at this point in the history
Add Maryland shields
  • Loading branch information
claysmalley authored Apr 25, 2022
2 parents 7ffd953 + 900ec10 commit d8ef06c
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc-img/shield_map_us.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions style/icons/shield40_us_md_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions style/icons/shield40_us_md_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 29 additions & 1 deletion style/js/shield_defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,9 +882,37 @@ export function loadShields(shieldImages) {
shields["US:LA:Truck"] = banneredShield(shields["US:LA"], ["TRK"]);

shields["US:MA"] = roundedRectShield("white", "black", "black", 1, 1);

let padding_us_md = {
left: 4,
right: 4,
top: 7,
bottom: 3,
};
let shield_us_md = [
shieldImages.shield40_us_md_2,
shieldImages.shield40_us_md_3,
];
shields["US:MD"] = {
backgroundImage: shield_us_md,
textColor: "black",
padding: padding_us_md,
};
shields["US:MD:Alternate"] = banneredShield(shields["US:MD"], ["ALT"]);
shields["US:MD:Bypass"] = banneredShield(shields["US:MD"], ["BYP"]);
shields["US:MD:Business"] = banneredShield(
{
backgroundImage: shield_us_md,
textColor: "black",
padding: padding_us_md,
colorLighten: "#006747",
},
["BUS"]
);

shields["US:ME"] = roundedRectShield("white", "black", "black", 1, 1);
shields["US:MI"] = diamondShield;
shields["US:MI:CR"] = usMUTCDCountyShield;
shields["US:ME"] = roundedRectShield("white", "black", "black", 1, 1);

shields["US:MN"] = {
backgroundImage: [
Expand Down

0 comments on commit d8ef06c

Please sign in to comment.