168 lines
4.2 KiB
JSON
168 lines
4.2 KiB
JSON
{
|
|
"id": "pharmacy",
|
|
"name": {
|
|
"en": "pharmacy",
|
|
"de": "Apotheke",
|
|
"nl": "apotheek"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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}"
|
|
}
|
|
},
|
|
"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?"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "./assets/layers/pharmacy/pharmacy.svg"
|
|
},
|
|
"iconSize": "40,40,bottom",
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"iconBadges": [
|
|
{
|
|
"if": "opening_hours~*",
|
|
"then": "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"
|
|
}
|
|
}
|
|
]
|
|
}
|