Compare commits

..

2 commits

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": [
@ -55,6 +70,7 @@
"if": { "if": {
"and": [ "and": [
{ {
"#": "Keep these access conditions in sync with those further down in the marker's square icon",
"or": [ "or": [
"access=yes", "access=yes",
"access=public", "access=public",
@ -81,25 +97,25 @@
"if": { "if": {
"or": [ "or": [
"access=private", "access=private",
"access=no" "access=no",
]
},
"then": "#c3acab"
},
{
"if": "access=customers",
"then": "#87763d"
},
{
"if": {
"or": [
"opening_hours=",
"opening_hours=unknown",
"opening_hours=closed", "opening_hours=closed",
"opening_hours=off" "opening_hours=off"
] ]
}, },
"then": "#87763d" "then": "#cfc6c6"
},
{
"if": {
"or": [
"access=customers",
"opening_hours=unknown"
]
},
"then": "#d8c37f"
},
{
"if": "opening_hours=",
"then": "#878787"
}, },
{ {
"if": { "if": {
@ -110,7 +126,8 @@
"access=yes", "access=yes",
"access=public", "access=public",
"access=permissive" "access=permissive"
] ],
"#": "Keep these access conditions in sync with those below and with those in iconSize"
} }
] ]
}, },
@ -118,6 +135,7 @@
}, },
{ {
"if": { "if": {
"#": "Keep these access conditions in sync with those above",
"or": [ "or": [
"access=yes", "access=yes",
"access=public", "access=public",