mapcomplete/assets/layers/pharmacy/pharmacy.json

177 lines
No EOL
4.7 KiB
JSON

{
"id": "pharmacy",
"name": {
"en": "Pharmacies",
"de": "Apotheken",
"nl": "Apotheken",
"pa_PK": "فارمیسی",
"ca": "Farmàcies"
},
"description": {
"en": "A layer showing pharmacies, which (probably) dispense prescription drugs",
"de": "Eine Ebene mit Apotheken, die (wahrscheinlich) verschreibungspflichtige Medikamente ausgeben",
"nl": "Deze laag toont apotheken, welke (waarschijnlijk) ook medicijnen onder voorschrift verkopen"
},
"title": {
"render": {
"en": "{name}",
"de": "{name}",
"nl": "{name}"
},
"mappings": [
{
"if": "name=",
"then": {
"en": "Pharmacy",
"de": "Apotheke",
"nl": "Apotheek",
"pa_PK": "فارمیسی"
}
}
]
},
"source": {
"osmTags": {
"and": [
"amenity=pharmacy"
]
}
},
"minzoom": 13,
"tagRenderings": [
"images",
{
"id": "name",
"freeform": {
"key": "name",
"type": "string",
"placeholder": {
"en": "Name of the pharmacy",
"de": "Name der Apotheke",
"nl": "Naam van de apotheek"
}
},
"question": {
"en": "What is the name of the pharmacy?",
"de": "Wie lautet der Name der Apotheke?",
"nl": "Wat is de naam van deze apotheek?"
},
"render": {
"en": "This pharmacy is called {name}",
"de": "Der Name der Apotheke lautet {name}",
"nl": "Deze apotheek heet {name}",
"ca": "Aquesta farmàcia es diu {name}",
"fr": "Cette pharmacie s'appelle {name}"
}
},
"opening_hours",
"phone",
"email",
"website",
{
"id": "wheelchair",
"question": {
"en": "Is this pharmacy easy to access on a wheelchair?",
"de": "Ist die Apotheke für Rollstuhlfahrer leicht zugänglich?",
"nl": "Is het mogelijk om deze apotheek te bereiken met een rolstoel?",
"ca": "És fàcil accedir a aquesta farmàcia amb una cadira de rodes?"
},
"mappings": [
{
"if": "wheelchair=yes",
"then": {
"en": "This pharmacy is easy to access on a wheelchair",
"ca": "Aquesta farmàcia és fàcil d'accedir en una cadira de rodes",
"de": "Die Apotheke ist für Rollstuhlfahrer leicht zugänglich",
"nl": "Deze apotheek is makkelijk te bereiken met een rolstoel"
}
},
{
"if": "wheelchair=no",
"then": {
"en": "This pharmacy is hard to access on a wheelchair",
"de": "Die Apotheke ist für Rollstuhlfahrer nur schwer zugänglich",
"nl": "Deze apotheek is moeilijk te bereiken met een rolstoel",
"ca": "Aquesta farmàcia es difícil d'accedir amb una cadira de rodes"
}
},
{
"if": "wheelchair=limited",
"then": {
"en": "This pharmacy has limited access for wheelchair users",
"de": "Die Apotheke ist für Rollstuhlfahrer nur eingeschränkt zugänglich",
"nl": "Deze apotheek is bereikbaar met een rolstoel, maar het is niet makkelijk",
"ca": "Aquesta farmàcia té un accés limitat per a usuaris amb cadira de rodes"
}
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/layers/pharmacy/pharmacy.svg"
},
"iconSize": "40,40,bottom",
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
}
}
],
"filter": [
{
"id": "drive-through",
"options": [
{
"question": {
"en": "Has drive through",
"de": "Bietet einen Durchfahr-Service an",
"nl": "Heeft een drive-through"
},
"osmTags": "drive_through=yes"
}
]
},
{
"id": "dispensing",
"options": [
{
"question": {
"en": "Pharmacy able to provide prescription drugs",
"de": "Apotheke, die verschreibungspflichtige Arzneimittel ausgibt",
"nl": "Deze apotheek verdeelt medicijnen met voorschrift"
},
"osmTags": "dispensing=yes"
}
]
},
"open_now"
],
"presets": [
{
"tags": [
"amenity=pharmacy"
],
"title": {
"en": "a pharmacy",
"nl": "een apotheek",
"de": "eine Apotheke"
}
}
]
}