mapcomplete/assets/layers/veterinary/veterinary.json

100 lines
2 KiB
JSON
Raw Normal View History

{
"id": "veterinary",
2022-05-21 02:13:01 +02:00
"description": "A layer showing veterinarians",
"source": {
"osmTags": {
"or": [
"amenity=veterinary"
]
}
},
"minzoom": 10,
"presets": [
{
"title": {
"en": "a veterianarian",
2022-05-06 12:17:21 +02:00
"da": "en dyrlæge",
"de": "ein Tierarzt"
},
"tags": [
"amenity=veterinary",
"pet=dog"
],
"description": {
"en": "a veterianarian, that treats dogs",
2022-05-06 12:17:21 +02:00
"da": "En dyrlæge, der behandler hunde",
"de": "ein Tierarzt, der Hunde behandelt"
}
}
],
"name": {
"en": "veterinary",
2022-05-06 12:17:21 +02:00
"da": "dyrlæge",
2022-05-21 02:31:32 +02:00
"de": "Tierärzte"
},
"title": {
"render": {
"en": "Veterinary",
2022-05-06 12:17:21 +02:00
"da": "dyrlæge",
2022-06-01 20:21:16 +02:00
"de": "Tierarzt",
"id": "Dokter hewan"
},
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
]
},
"mapRendering": [
{
"location": [
"point",
"centroid"
],
2022-04-30 02:41:06 +02:00
"icon": "./assets/layers/veterinary/vet.svg",
"iconSize": "30,40,center",
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
]
},
{
"color": "#ff0",
"width": 5
}
],
"tagRenderings": [
"website",
"reviews",
"phone",
"opening_hours",
{
"question": {
"en": "What is the name of this veterinarian?",
2022-05-06 12:17:21 +02:00
"da": "Hvad hedder denne dyrl&aelig;?",
"de": "Wie lautet der Name dieses Tierarztes?"
},
"render": {
"en": "The name of this veterinarian is {name}",
"de": "Denne dyrl&aelig; hedder {name}"
},
"freeform": {
"key": "name"
},
"id": "vetName"
}
]
}