Themes(winter_service): add colour to serviced_streets, also show winter_service=limited

This commit is contained in:
Robin van der Linde 2025-03-13 21:49:23 +01:00
parent 455f540cbd
commit d2ed83972f
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -21,7 +21,12 @@
"highway!=", "highway!=",
"service!=driveway", "service!=driveway",
"highway!=platform", "highway!=platform",
"winter_service=yes" {
"or": [
"winter_service=yes",
"winter_service=limited"
]
}
] ]
} }
}, },
@ -39,7 +44,22 @@
}, },
"lineRendering": [ "lineRendering": [
{ {
"color": "#00ff00" "color": {
"mappings": [
{
"if": "winter_service=yes",
"then": "#00ff00"
},
{
"if": "winter_service=limited",
"then": "#ffff00"
},
{
"if": "winter_service=no",
"then": "#ff0000"
}
]
}
} }
], ],
"pointRendering": null, "pointRendering": null,