Skip to content

Commit

Permalink
Add bridges for minor roads
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriusGeo committed May 25, 2024
1 parent 67aa942 commit 3382402
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions vector/styles/bright/style.json
Original file line number Diff line number Diff line change
Expand Up @@ -2840,6 +2840,36 @@
}
}
},
{
"id": "bridge-minor-casing",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "minor"]
],
"layout": {
"line-cap": "butt",
"line-join": "round"
},
"paint": {
"line-color": "#cfcdca",
"line-opacity": {
"stops": [[12, 0], [12.5, 1]]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 0.5],
[13, 1],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "bridge-secondary-tertiary-casing",
"type": "line",
Expand Down Expand Up @@ -3158,6 +3188,33 @@
}
}
},
{
"id": "bridge-minor",
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
["==", "brunnel", "bridge"],
["in", "class", "minor"]
],
"layout": {
"line-cap": "butt",
"line-join": "round"
},
"paint": {
"line-color": "#fff",
"line-opacity": 1,
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "bridge-secondary-tertiary",
"type": "line",
Expand Down

0 comments on commit 3382402

Please sign in to comment.