forked from MapComplete/MapComplete
UI: improve contrast of bridges, fix #2399
This commit is contained in:
parent
32bca03e26
commit
944e139f5b
2 changed files with 100 additions and 4 deletions
|
@ -2547,7 +2547,7 @@
|
||||||
],
|
],
|
||||||
"paint": {
|
"paint": {
|
||||||
"line-color": "#e0e0e0",
|
"line-color": "#e0e0e0",
|
||||||
"line-gap-width": [
|
"line-width": [
|
||||||
"interpolate",
|
"interpolate",
|
||||||
[
|
[
|
||||||
"exponential",
|
"exponential",
|
||||||
|
@ -2558,8 +2558,10 @@
|
||||||
],
|
],
|
||||||
14,
|
14,
|
||||||
0,
|
0,
|
||||||
|
18,
|
||||||
|
10,
|
||||||
20,
|
20,
|
||||||
7
|
16
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -3149,6 +3151,52 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "roads_bridges_footway_other",
|
||||||
|
"type": "line",
|
||||||
|
"source": "protomaps",
|
||||||
|
"source-layer": "roads",
|
||||||
|
"minzoom": 12,
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"has",
|
||||||
|
"is_bridge"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind",
|
||||||
|
"other",
|
||||||
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"kind_detail",
|
||||||
|
"footway"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#d46710",
|
||||||
|
"line-dasharray": [
|
||||||
|
2,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"exponential",
|
||||||
|
1.6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
7
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "roads_bridges_other",
|
"id": "roads_bridges_other",
|
||||||
"type": "line",
|
"type": "line",
|
||||||
|
|
|
@ -2546,7 +2546,7 @@
|
||||||
],
|
],
|
||||||
"paint": {
|
"paint": {
|
||||||
"line-color": "#e0e0e0",
|
"line-color": "#e0e0e0",
|
||||||
"line-gap-width": [
|
"line-width": [
|
||||||
"interpolate",
|
"interpolate",
|
||||||
[
|
[
|
||||||
"exponential",
|
"exponential",
|
||||||
|
@ -2557,8 +2557,10 @@
|
||||||
],
|
],
|
||||||
14,
|
14,
|
||||||
0,
|
0,
|
||||||
|
18,
|
||||||
|
10,
|
||||||
20,
|
20,
|
||||||
7
|
16
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -3148,6 +3150,52 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "roads_bridges_footway_other",
|
||||||
|
"type": "line",
|
||||||
|
"source": "protomaps",
|
||||||
|
"source-layer": "roads",
|
||||||
|
"minzoom": 12,
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"has",
|
||||||
|
"is_bridge"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind",
|
||||||
|
"other",
|
||||||
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"kind_detail",
|
||||||
|
"footway"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#d46710",
|
||||||
|
"line-dasharray": [
|
||||||
|
2,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"exponential",
|
||||||
|
1.6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
7
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "roads_bridges_other",
|
"id": "roads_bridges_other",
|
||||||
"type": "line",
|
"type": "line",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue