Add major tunnels to sunny background map

This commit is contained in:
Pieter Vander Vennet 2024-03-26 12:26:01 +01:00
parent 24fd638619
commit 442377ab6f

View file

@ -1045,6 +1045,48 @@
] ]
} }
}, },
{
"id": "roads_tunnels_major_outline",
"type": "line",
"source": "protomaps",
"source-layer": "roads",
"filter": [
"all",
[
"<",
"pmap:level",
0
],
[
"==",
"pmap:kind",
"major_road"
]
],
"paint": {
"line-dasharray":[0.4,0.1],
"line-color": "#d9a985",
"line-width": [
"interpolate",
[
"exponential",
1.6
],
[
"zoom"
],
6,
0,
12,
3.6,
15,
6,
18,
18
]
}
},
{ {
"id": "roads_tunnels_major", "id": "roads_tunnels_major",
"type": "line", "type": "line",
@ -1064,7 +1106,19 @@
] ]
], ],
"paint": { "paint": {
"line-color": "#d5d5d5", "line-color": [
"interpolate",
[
"linear"
],
[
"zoom"
],
8,
"#f9d9b5",
18,
"#f9c9c5"
],
"line-width": [ "line-width": [
"interpolate", "interpolate",
[ [
@ -1085,6 +1139,7 @@
] ]
} }
}, },
{ {
"id": "roads_tunnels_highway", "id": "roads_tunnels_highway",
"type": "line", "type": "line",