Skip to content

Commit 2a681ee

Browse files
author
Andy Townsend
committed
Copied bridge logic from svwd01 for tertiary.
1 parent 0b8c298 commit 2a681ee

File tree

1 file changed

+51
-10
lines changed

1 file changed

+51
-10
lines changed

resources/svwd03_style.json

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3681,25 +3681,23 @@
36813681
}
36823682
},
36833683
{
3684-
"id": "highway-tertiary-bridgecasing-9",
3684+
"id": "highway-tertiary-bridgecasing-12",
36853685
"type": "line",
36863686
"source": "someoneelse",
36873687
"source-layer": "streets",
3688-
"minzoom": 9,
3689-
"filter": [
3690-
"all",
3691-
[ "in", "kind", "tertiary",
3692-
"tertiary_link" ],
3693-
[ "==", "bridge", true ]
3694-
],
3688+
"minzoom": 12,
3689+
"filter": [ "all", [ "in", "kind", "tertiary",
3690+
"tertiary_link" ],
3691+
[ "==", "bridge", true ] ],
36953692
"layout": { "line-cap": "butt", "line-join": "round", "visibility": "visible" },
36963693
"paint": {
36973694
"line-color": "black",
36983695
"line-width": {
36993696
"base": 2.0,
37003697
"stops": [
3701-
[ 9, 2.8 ],
3702-
[ 20, 86.0 ]
3698+
[ 6, 2.4 ],
3699+
[ 9, 4.8 ],
3700+
[ 20, 120.0 ]
37033701
]
37043702
}
37053703
}
@@ -3966,6 +3964,28 @@
39663964
}
39673965
}
39683966
},
3967+
{
3968+
"id": "highway-tertiary-bridgeprefill-12",
3969+
"type": "line",
3970+
"source": "someoneelse",
3971+
"source-layer": "streets",
3972+
"minzoom": 12,
3973+
"filter": [ "all", [ "in", "kind", "tertiary",
3974+
"tertiary_link" ],
3975+
[ "==", "bridge", true ] ],
3976+
"layout": { "line-cap": "butt", "line-join": "round", "visibility": "visible" },
3977+
"paint": {
3978+
"line-color": "#f2efe9",
3979+
"line-width": {
3980+
"base": 2.0,
3981+
"stops": [
3982+
[ 6, 2.0 ],
3983+
[ 9, 4.0 ],
3984+
[ 20, 100.0 ]
3985+
]
3986+
}
3987+
}
3988+
},
39693989
{
39703990
"id": "highway-service-bridgeinnercasing-12",
39713991
"type": "line",
@@ -4029,6 +4049,27 @@
40294049
}
40304050
}
40314051
},
4052+
{
4053+
"id": "highway-tertiary-bridgeinnercasing-12",
4054+
"type": "line",
4055+
"source": "someoneelse",
4056+
"source-layer": "streets",
4057+
"minzoom": 12,
4058+
"filter": [ "all", [ "in", "kind", "tertiary",
4059+
"tertiary_link" ],
4060+
[ "==", "bridge", true ] ],
4061+
"layout": { "line-cap": "butt", "line-join": "round", "visibility": "visible" },
4062+
"paint": {
4063+
"line-color": "#c6c68a",
4064+
"line-width": {
4065+
"base": 2.0,
4066+
"stops": [
4067+
[ 9, 2.8 ],
4068+
[ 20, 86.0 ]
4069+
]
4070+
}
4071+
}
4072+
},
40324073
{
40334074
"id": "highway-footwaynarrow-bridgefill-12",
40344075
"type": "line",

0 commit comments

Comments
 (0)