mapcomplete/assets/layers/veterinary/veterinary.json

119 lines
No EOL
2.7 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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",
"fr": "un vétérinaire"
},
"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",
"fr": "un vétérinaire, qui soigne les chiens"
}
}
],
"name": {
"en": "veterinary",
"da": "dyrlæge",
"de": "Tierärzte",
"es": "veterinario",
"nl": "Dierenarts",
"fr": "vétérinaire",
"ca": "Veterinari"
},
"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": "icons.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?",
"fr": "Quel est le nom de ce vétérinaire ?"
},
"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}",
"da": "Navnet på denne dyrlæge er {name}",
"fr": "Le nom de ce vétérinaire est {name}"
},
"freeform": {
"key": "name"
},
"id": "vetName"
}
]
}