Themes(winter_service): add colour to serviced_streets, also show winter_service=limited
This commit is contained in:
parent
455f540cbd
commit
d2ed83972f
1 changed files with 22 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue