Themes(aed): add iconBadges for opening hours and wheelchair access

This commit is contained in:
Midgard 2024-12-18 22:06:07 +01:00
parent a1d275c668
commit 65d1fb1647
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -48,6 +48,21 @@
}, },
"pointRendering": [ "pointRendering": [
{ {
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"or": [
"wheelchair=yes",
"wheelchair=designated"
]
},
"then": "circle:white;./assets/layers/toilet/wheelchair.svg"
}
],
"iconSize": { "iconSize": {
"render": "20,20", "render": "20,20",
"mappings": [ "mappings": [