diff --git a/style.json b/style.json index baa401be..c19d1646 100644 --- a/style.json +++ b/style.json @@ -165,6 +165,24 @@ "filter": ["==", "class", "public_park"], "paint": {"fill-color": "#d8e8c8", "fill-opacity": 0.8} }, + { + "id": "highway-motorway-construction", + "type": "line", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 5, + "filter": [ + "all", + ["==", "$type", "LineString"], + ["all", ["==", "class", "motorway_construction"]] + ], + "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"}, + "paint": { + "line-color": "#fff", + "line-width": {"base": 1.2, "stops": [[6.5, 0], [7, 0.5], [20, 18]]}, + "line-opacity": {"stops": [[5, 0], [14, 0.4]]} + } + }, { "id": "waterway_tunnel", "type": "line", @@ -2444,4 +2462,4 @@ } ], "id": "bright" -} \ No newline at end of file +}