mapcomplete/assets/layers/pharmacy/pharmacy.json

200 lines
5.8 KiB
JSON

{
"id": "pharmacy",
"name": {
"en": "Pharmacies",
"de": "Apotheken",
"nl": "Apotheken",
"pa_PK": "فارمیسی",
"ca": "Farmàcies",
"fr": "Pharmacies"
},
"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",
"fr": "Une couche affichant les pharmacie qui (probablement) délivrent des médicaments",
"ca": "Una capa que mostra les farmàcies, que (probablement) distribueixen medicaments amb recepta"
},
"title": {
"render": {
"en": "{name}",
"de": "{name}",
"nl": "{name}",
"fr": "{name}",
"ca": "{name}"
},
"mappings": [
{
"if": "name=",
"then": {
"en": "Pharmacy",
"de": "Apotheke",
"nl": "Apotheek",
"pa_PK": "فارمیسی",
"fr": "Pharmacie",
"ca": "Farmàcia"
}
}
]
},
"source": {
"osmTags": {
"and": [
"amenity=pharmacy"
]
}
},
"minzoom": 13,
"tagRenderings": [
"images",
"reviews",
{
"id": "name",
"freeform": {
"key": "name",
"type": "string",
"placeholder": {
"en": "Name of the pharmacy",
"de": "Name der Apotheke",
"nl": "Naam van de apotheek",
"fr": "Nom de la pharmacie",
"ca": "Nom de la farmàcia"
}
},
"question": {
"en": "What is the name of the pharmacy?",
"de": "Wie lautet der Name der Apotheke?",
"nl": "Wat is de naam van deze apotheek?",
"fr": "Quel est le nom de cette pharmacie ?",
"ca": "Quin és el nom de la farmàcia?"
},
"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?",
"fr": "Cette pharmacie est-elle facilement accessible en chaise roulante ?"
},
"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",
"fr": "Cette pharmacie est facile d'accès en chaise roulante"
}
},
{
"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",
"fr": "Cette pharmacie est difficilement accessible en chaise roulante"
}
},
{
"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",
"fr": "L'accès à cette pharmacie est limité en chaise roulante"
}
}
]
}
],
"mapRendering": [
{
"icon": "./assets/layers/pharmacy/pharmacy.svg",
"iconSize": "40,40",
"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>"
}
]
},
"anchor": "bottom"
}
],
"filter": [
{
"id": "drive-through",
"options": [
{
"question": {
"en": "Has drive through",
"de": "Bietet einen Durchfahr-Service an",
"nl": "Heeft een drive-through",
"fr": "A une drive",
"ca": "Té autoservei"
},
"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",
"fr": "Pharmacie pouvant délivrer des médicaments sous prescription",
"ca": "Farmàcia que subministra medicaments amb recepta"
},
"osmTags": "dispensing=yes"
}
]
},
"open_now"
],
"presets": [
{
"tags": [
"amenity=pharmacy"
],
"title": {
"en": "a pharmacy",
"nl": "een apotheek",
"de": "eine Apotheke",
"fr": "une pharmacie",
"ca": "una farmàcia"
}
}
],
"deletion": true,
"allowMove": true
}