diff --git a/style.json b/style.json index 46363cc..6e200ad 100644 --- a/style.json +++ b/style.json @@ -1553,6 +1553,31 @@ }, "paint": {"text-color": "#000"} }, + { + "id": "road_shield_ca-transcanada-2", + "type": "symbol", + "source": "openmaptiles", + "source-layer": "transportation_name", + "minzoom": 7, + "filter": [ + "all", + ["<=", "ref_length", 2], + ["in", "network", "ca-transcanada"] + ], + "layout": { + "icon-image": "{network}_2", + "icon-rotation-alignment": "viewport", + "symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]}, + "symbol-spacing": 500, + "text-field": "{ref}", + "text-font": ["Roboto Regular"], + "text-offset": [0, 0.2], + "text-rotation-alignment": "viewport", + "text-size": 10, + "icon-size": 0.8 + }, + "paint": {"text-color": "#000"} + }, { "id": "road_shield", "type": "symbol", @@ -1562,7 +1587,7 @@ "filter": [ "all", ["<=", "ref_length", 6], - ["!in", "network", "us-interstate", "us-highway"] + ["!in", "network", "us-interstate", "us-highway", "ca-transcanada"] ], "layout": { "icon-image": "default_{ref_length}",