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"]]]], ], };