diff --git a/style.json b/style.json index e5350d9..28f6780 100644 --- a/style.json +++ b/style.json @@ -19,7 +19,7 @@ "type": "raster" } }, - "sprite": "https://maputnik.github.io/osm-liberty/sprites/osm-liberty", + "sprite": "https://raw.githubusercontent.com/kylebarron/osm-liberty/one-way/sprites/osm-liberty", "glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key={key}", "layers": [ { @@ -893,6 +893,20 @@ "line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]} } }, + { + "id": "road_one_way_arrow", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation", + "minzoom": 15, + "filter": ["all", ["in", "oneway", 1]], + "layout": { + "icon-image": "arrow", + "symbol-placement": "line", + "symbol-spacing": 250, + "icon-size": 1 + } + }, { "id": "bridge_motorway_link_casing", "type": "line",