Themes(shops): add labels to icecream, refactor label for shps
This commit is contained in:
parent
cd6a3512d2
commit
1ade2ed45b
2 changed files with 8 additions and 2 deletions
|
@ -38,6 +38,11 @@
|
|||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"label": {
|
||||
"render": "{name}",
|
||||
"condition": "name~*"
|
||||
},
|
||||
"labelCssClasses": "bg-white rounded px-2",
|
||||
"marker": [
|
||||
{
|
||||
"icon": "circle",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue