Compare commits

..

2 commits

View file

@ -48,6 +48,21 @@
},
"pointRendering": [
{
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"or": [
"wheelchair=yes",
"wheelchair=designated"
]
},
"then": "circle:white;./assets/layers/toilet/wheelchair.svg"
}
],
"iconSize": {
"render": "20,20",
"mappings": [
@ -55,6 +70,7 @@
"if": {
"and": [
{
"#": "Keep these access conditions in sync with those further down in the marker's square icon",
"or": [
"access=yes",
"access=public",
@ -81,25 +97,25 @@
"if": {
"or": [
"access=private",
"access=no"
]
},
"then": "#c3acab"
},
{
"if": "access=customers",
"then": "#87763d"
},
{
"if": {
"or": [
"opening_hours=",
"opening_hours=unknown",
"access=no",
"opening_hours=closed",
"opening_hours=off"
]
},
"then": "#87763d"
"then": "#cfc6c6"
},
{
"if": {
"or": [
"access=customers",
"opening_hours=unknown"
]
},
"then": "#d8c37f"
},
{
"if": "opening_hours=",
"then": "#878787"
},
{
"if": {
@ -110,7 +126,8 @@
"access=yes",
"access=public",
"access=permissive"
]
],
"#": "Keep these access conditions in sync with those below and with those in iconSize"
}
]
},
@ -118,6 +135,7 @@
},
{
"if": {
"#": "Keep these access conditions in sync with those above",
"or": [
"access=yes",
"access=public",