{ "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": "
{name}
" } ] }, "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æ?", "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æ hedder {name}", "es": "El nombre de este veterinario es {name}", "nl": "Deze dierenartspraktijk heet {name}", "da": "Navnet på denne dyrlæge er {name}" }, "freeform": { "key": "name" }, "id": "vetName" } ] }