Themes(shops): add labels to icecream, refactor label for shps

This commit is contained in:
Pieter Vander Vennet 2024-10-08 13:48:57 +02:00
parent cd6a3512d2
commit 1ade2ed45b
2 changed files with 8 additions and 2 deletions

View file

@ -38,6 +38,11 @@
"point",
"centroid"
],
"label": {
"render": "{name}",
"condition": "name~*"
},
"labelCssClasses": "bg-white rounded px-2",
"marker": [
{
"icon": "circle",

View file

@ -172,11 +172,12 @@
"then": "circle:white;./assets/layers/id_presets/fas-key.svg"
}
],
"labelCssClasses": "bg-white rounded px-2",,
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
"then": "{name}"
}
]
},
@ -366,7 +367,7 @@
]
}
},
"opening_hours_by_appointment",
"opening_hours",
"website",
"email",
"phone",