diff --git a/icons/shield_badge_crossbar_2.svg b/icons/shield_badge_crossbar_2.svg
new file mode 100644
index 000000000..be80b8769
--- /dev/null
+++ b/icons/shield_badge_crossbar_2.svg
@@ -0,0 +1,4 @@
+
diff --git a/icons/shield_badge_crossbar_3.svg b/icons/shield_badge_crossbar_3.svg
new file mode 100644
index 000000000..5cdda03ce
--- /dev/null
+++ b/icons/shield_badge_crossbar_3.svg
@@ -0,0 +1,4 @@
+
diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js
index 7bafda044..54b34f5e8 100644
--- a/src/js/shield_defs.js
+++ b/src/js/shield_defs.js
@@ -78,6 +78,17 @@ export function loadShields() {
},
};
+ let badgeShieldCrossbar = {
+ spriteBlank: ["shield_badge_crossbar_2", "shield_badge_crossbar_3"],
+ textColor: Color.shields.black,
+ padding: {
+ left: 1,
+ right: 1,
+ top: 6,
+ bottom: 4,
+ },
+ };
+
// Default
shields["default"] = {
@@ -492,11 +503,14 @@ export function loadShields() {
"BUS",
]);
- shields["US:US:Historic"] = {
- ...badgeShield,
- textColor: Color.shields.brown,
- colorLighten: Color.shields.brown,
- };
+ shields["US:US:Historic"] = banneredShield(
+ {
+ ...badgeShieldCrossbar,
+ textColor: Color.shields.brown,
+ colorLighten: Color.shields.brown,
+ },
+ ["HIST"]
+ );
// Federal Agencies
shields["US:BIA"] = {
diff --git a/src/layer/oneway.js b/src/layer/oneway.js
index 47253b9c6..e8f50eb06 100644
--- a/src/layer/oneway.js
+++ b/src/layer/oneway.js
@@ -10,6 +10,7 @@ export const surface = {
["==", ["get", "oneway"], 1],
["!=", ["get", "ramp"], 1],
["!", ["in", ["get", "brunnel"], ["literal", ["bridge", "tunnel"]]]],
+ ["!", ["in", ["get", "class"], ["literal", ["path", "track"]]]],
],
source: "openmaptiles",
"source-layer": "transportation",
@@ -73,6 +74,7 @@ export const tunnel = {
["==", ["get", "oneway"], 1],
["!=", ["get", "ramp"], 1],
["==", ["get", "brunnel"], "tunnel"],
+ ["!", ["in", ["get", "class"], ["literal", ["path", "track"]]]],
],
paint: {
"icon-opacity": 0.2,
@@ -87,5 +89,6 @@ export const bridge = {
["==", ["get", "oneway"], 1],
["!=", ["get", "ramp"], 1],
["==", ["get", "brunnel"], "bridge"],
+ ["!", ["in", ["get", "class"], ["literal", ["path", "track"]]]],
],
};