forked from MapComplete/MapComplete
UX: increase contrast of protomaps sunny to use in sunny conditions
This commit is contained in:
parent
ea68bb99c3
commit
aa8c7203ee
1 changed files with 251 additions and 32 deletions
|
|
@ -599,9 +599,8 @@
|
||||||
"river"
|
"river"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
|
|
@ -673,9 +672,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"in",
|
"in",
|
||||||
|
|
@ -702,6 +700,98 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "roads_tunnels_footway_casing_outer",
|
||||||
|
"type": "line",
|
||||||
|
"source": "protomaps",
|
||||||
|
"source-layer": "roads",
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"has",
|
||||||
|
"is_tunnel"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"!has",
|
||||||
|
"is_bridge"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind",
|
||||||
|
"other",
|
||||||
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind_detail",
|
||||||
|
"footway",
|
||||||
|
"cycleway"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#888888",
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"exponential",
|
||||||
|
1.6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
9
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "roads_tunnels_footway_casing_inner",
|
||||||
|
"type": "line",
|
||||||
|
"source": "protomaps",
|
||||||
|
"source-layer": "roads",
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"has",
|
||||||
|
"is_tunnel"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"!has",
|
||||||
|
"is_bridge"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind",
|
||||||
|
"other",
|
||||||
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind_detail",
|
||||||
|
"footway",
|
||||||
|
"cycleway"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#ffffff",
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"exponential",
|
||||||
|
1.6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
8
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "roads_tunnels_minor_casing",
|
"id": "roads_tunnels_minor_casing",
|
||||||
"type": "line",
|
"type": "line",
|
||||||
|
|
@ -710,9 +800,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -768,9 +857,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -824,9 +912,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -880,9 +967,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -943,15 +1029,24 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"in",
|
"in",
|
||||||
"kind",
|
"kind",
|
||||||
"other",
|
"other",
|
||||||
"path"
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"!=",
|
||||||
|
"kind_detail",
|
||||||
|
"footway"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"!=",
|
||||||
|
"kind_detail",
|
||||||
|
"cycleway"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"paint": {
|
"paint": {
|
||||||
|
|
@ -976,6 +1071,96 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "roads_tunnels_footway",
|
||||||
|
"type": "line",
|
||||||
|
"source": "protomaps",
|
||||||
|
"source-layer": "roads",
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"has",
|
||||||
|
"is_tunnel"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind",
|
||||||
|
"other",
|
||||||
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"kind_detail",
|
||||||
|
"footway"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#d46710",
|
||||||
|
"line-dasharray": [
|
||||||
|
4,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"exponential",
|
||||||
|
1.6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
5
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "roads_tunnels_cycleway",
|
||||||
|
"type": "line",
|
||||||
|
"source": "protomaps",
|
||||||
|
"source-layer": "roads",
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"has",
|
||||||
|
"is_tunnel"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"in",
|
||||||
|
"kind",
|
||||||
|
"other",
|
||||||
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"kind_detail",
|
||||||
|
"cycleway"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#6099c9",
|
||||||
|
"line-dasharray": [
|
||||||
|
4,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"exponential",
|
||||||
|
1.6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
14,
|
||||||
|
0,
|
||||||
|
20,
|
||||||
|
5
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "roads_tunnels_minor",
|
"id": "roads_tunnels_minor",
|
||||||
"type": "line",
|
"type": "line",
|
||||||
|
|
@ -984,9 +1169,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -1024,9 +1208,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -1062,9 +1245,8 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
"all",
|
"all",
|
||||||
[
|
[
|
||||||
"<",
|
"has",
|
||||||
"level",
|
"is_tunnel"
|
||||||
0
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"==",
|
"==",
|
||||||
|
|
@ -1244,7 +1426,20 @@
|
||||||
"source-layer": "buildings",
|
"source-layer": "buildings",
|
||||||
"paint": {
|
"paint": {
|
||||||
"fill-color": "#cccccc",
|
"fill-color": "#cccccc",
|
||||||
"fill-opacity": 0.5
|
"fill-opacity": 0.7,
|
||||||
|
"fill-outline-color": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"linear"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
15,
|
||||||
|
"#cccccc",
|
||||||
|
18,
|
||||||
|
"#aaaaaa"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -1363,7 +1558,21 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"paint": {
|
"paint": {
|
||||||
"line-color": "#e0e0e0",
|
"line-color": [
|
||||||
|
"interpolate",
|
||||||
|
[
|
||||||
|
"linear"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"zoom"
|
||||||
|
],
|
||||||
|
12,
|
||||||
|
"#dddddd",
|
||||||
|
14,
|
||||||
|
"#aaaaaa",
|
||||||
|
18,
|
||||||
|
"#888888"
|
||||||
|
],
|
||||||
"line-gap-width": [
|
"line-gap-width": [
|
||||||
"interpolate",
|
"interpolate",
|
||||||
[
|
[
|
||||||
|
|
@ -2956,6 +3165,16 @@
|
||||||
"kind",
|
"kind",
|
||||||
"other",
|
"other",
|
||||||
"path"
|
"path"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"!=",
|
||||||
|
"kind_detail",
|
||||||
|
"cycleway"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"!=",
|
||||||
|
"kind_detail",
|
||||||
|
"footway"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"paint": {
|
"paint": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue