diff --git a/style.json b/style.json index 1c8c1b5..988c35a 100644 --- a/style.json +++ b/style.json @@ -120,12 +120,27 @@ "filter": ["==", "class", "school"], "paint": {"fill-color": "rgb(236,238,204)"} }, + { + "id": "waterway_tunnel", + "type": "line", + "source": "openmaptiles", + "source-layer": "waterway", + "filter": ["all", ["==", "brunnel", "tunnel"]], + "layout": {"visibility": "visible"}, + "paint": { + "line-color": "#a0c8f0", + "line-dasharray": [3, 3], + "line-gap-width": {"stops": [[12, 0], [20, 6]]}, + "line-opacity": 1, + "line-width": {"base": 1.4, "stops": [[8, 1], [20, 2]]} + } + }, { "id": "waterway_river", "type": "line", "source": "openmaptiles", "source-layer": "waterway", - "filter": ["==", "class", "river"], + "filter": ["all", ["==", "class", "river"], ["!=", "brunnel", "tunnel"]], "layout": {"line-cap": "round"}, "paint": { "line-color": "#a0c8f0", @@ -137,7 +152,7 @@ "type": "line", "source": "openmaptiles", "source-layer": "waterway", - "filter": ["all", ["!=", "class", "river"]], + "filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]], "layout": {"line-cap": "round"}, "paint": { "line-color": "#a0c8f0",