vet labels

This commit is contained in:
Niels Elgaard Larsen 2022-04-25 22:15:54 +02:00
parent 0e838a64f7
commit 9462638fa7

View file

@ -198,10 +198,10 @@
"point", "point",
"centroid" "centroid"
], ],
"icon": "./assets/themes/dog/dog-food.svg" "icon": "./assets/themes/dog/dog-food.svg",
"iconSize": "30,30,center"
} }
], ],
"iconSize": "30,30,center",
"=presets": [], "=presets": [],
"source": { "source": {
"=osmTags": { "=osmTags": {
@ -342,6 +342,14 @@
], ],
"icon": "./assets/themes/dog/Veterinary-First-Aid.svg", "icon": "./assets/themes/dog/Veterinary-First-Aid.svg",
"iconSize": "30,30,center", "iconSize": "30,30,center",
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"iconBadges": [ "iconBadges": [
{ {
"if": "opening_hours~*", "if": "opening_hours~*",