mapcomplete/assets/layers/veterinary/veterinary.json
2023-09-19 14:04:13 +02:00

122 lines
2.8 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}"
}
}
]
},
"tagRenderings": [
"website",
"reviews",
"phone",
"opening_hours",
{
"question": {
"en": "What is the name of this veterinarian?",
"da": "Hvad hedder denne dyrlæ?",
"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æ 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"
}
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"icon": "./assets/layers/veterinary/vet.svg",
"iconSize": "30,40",
"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"
}
],
"anchor": "center"
}
],
"lineRendering": [
{
"color": "#ff0",
"width": 5
}
]
}