Add ca-transcanada shields to style
This commit is contained in:
parent
68a0e11506
commit
52c1151bcb
27
style.json
27
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}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user