diff --git a/icons/shield40_us_nm_2.svg b/icons/shield40_us_nm_2.svg new file mode 100644 index 000000000..13a23c708 --- /dev/null +++ b/icons/shield40_us_nm_2.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/icons/shield40_us_nm_3.svg b/icons/shield40_us_nm_3.svg new file mode 100644 index 000000000..a15b60d6a --- /dev/null +++ b/icons/shield40_us_nm_3.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/scripts/stats_compare.js b/scripts/stats_compare.js index 279171a60..bf999529a 100644 --- a/scripts/stats_compare.js +++ b/scripts/stats_compare.js @@ -49,7 +49,13 @@ const ss2xRow = mdCompareRow( difference.spriteSheet2xSize ); -printTable("Style size statistics", [layersRow, sizeRow, ss1xRow, ss2xRow, shieldRow]); +printTable("Style size statistics", [ + layersRow, + sizeRow, + ss1xRow, + ss2xRow, + shieldRow, +]); /** * Show comparison of the number of layers in each group before and after diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index 03f6c1bd9..1529c0c5f 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -1673,11 +1673,17 @@ export function loadShields() { ); // New Mexico - shields["US:NM"] = pillShield( - Color.shields.white, - Color.shields.pink, - Color.shields.black - ); + shields["US:NM"] = { + spriteBlank: ["shield40_us_nm_2", "shield40_us_nm_3"], + textColor: Color.shields.black, + textLayout: textConstraint("ellipse"), + padding: { + left: 5, + right: 5, + top: 5, + bottom: 5, + }, + }; shields["US:NM:Frontage"] = { spriteBlank: "shield_us_nm_frontage", textColor: Color.shields.black, diff --git a/src/layer/poi.js b/src/layer/poi.js index 1352e90d3..d9a5ddbcc 100644 --- a/src/layer/poi.js +++ b/src/layer/poi.js @@ -368,13 +368,9 @@ export const poi = { [ "match", ["get", "subclass"], - [ - ...getSubclasses(iconDefs.college), - ], + [...getSubclasses(iconDefs.college)], 10, - [ - "station", - "halt"], + ["station", "halt"], 12, ["bus_station", "subway"], 14,