mapcomplete/assets/layers/veterinary/veterinary.json

113 lines
No EOL
2.5 KiB
JSON

{
"id": "veterinary",
"description": "A layer showing veterinarians",
"source": {
"osmTags": {
"or": [
"amenity=veterinary"
]
}
},
"minzoom": 10,
"presets": [
{
"title": {
"en": "a veterianarian",
"da": "en dyrlæge",
"de": "ein Tierarzt",
"es": "un veterinario",
"nl": "een dierenarts"
},
"tags": [
"amenity=veterinary",
"pet=dog"
],
"description": {
"en": "a veterianarian, that treats dogs",
"da": "En dyrlæge, der behandler hunde",
"de": "ein Tierarzt, der Hunde behandelt",
"es": "un veterinario, que trata a perros",
"nl": "een dierenarts die honden verzorgt"
}
}
],
"name": {
"en": "veterinary",
"da": "dyrlæge",
"de": "Tierärzte",
"es": "veterinario",
"nl": "Dierenarts",
"fr": "vétérinaire"
},
"title": {
"render": {
"en": "Veterinary",
"da": "dyrlæge",
"de": "Tierarzt",
"id": "Dokter hewan",
"es": "Veterinario",
"nl": "Dierenarts"
},
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
]
},
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"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?",
"da": "Hvad hedder denne dyrl&aelig;?",
"de": "Wie lautet der Name dieses Tierarztes?",
"es": "¿Cual es el nombre de este veterinario?",
"nl": "Wat is de naam van deze dierenartspraktijk?"
},
"render": {
"en": "The name of this veterinarian is {name}",
"de": "Denne dyrl&aelig; hedder {name}",
"es": "El nombre de este veterinario es {name}",
"nl": "Deze dierenartspraktijk heet {name}"
},
"freeform": {
"key": "name"
},
"id": "vetName"
}
]
}