mapcomplete/assets/layers/pharmacy/pharmacy.json

143 lines
3.3 KiB
JSON
Raw Normal View History

2022-07-06 15:54:21 +02:00
{
2022-07-08 03:14:55 +02:00
"id": "pharmacy",
"name": {
2022-07-26 10:51:14 +02:00
"en": "pharmacy",
"de": "Apotheke"
2022-07-08 03:14:55 +02:00
},
"description": {
2022-07-27 10:16:11 +02:00
"en": "A layer showing pharmacies, which (probably) dispense prescription drugs",
"de": "Eine Ebene mit Apotheken, die (wahrscheinlich) verschreibungspflichtige Medikamente ausgeben"
},
2022-07-08 03:14:55 +02:00
"title": {
"render": {
2022-07-26 10:51:14 +02:00
"en": "{name}",
"de": "{name}"
2022-07-06 15:54:21 +02:00
},
2022-07-18 11:49:22 +02:00
"mappings": [
{
"if": "name=",
"then": {
2022-07-26 10:51:14 +02:00
"en": "Pharmacy",
"de": "Apotheke"
2022-07-06 15:54:21 +02:00
}
}
2022-07-18 11:49:22 +02:00
]
2022-07-08 03:14:55 +02:00
},
"source": {
"osmTags": {
"and": [
"amenity=pharmacy"
]
}
},
"minzoom": 13,
"tagRenderings": [
"images",
{
"id": "name",
"freeform": {
"key": "name",
"type": "string",
"placeholder": {
2022-07-27 10:16:11 +02:00
"en": "Name of the pharmacy",
"de": "Name der Apotheke"
}
},
"question": {
2022-07-27 10:16:11 +02:00
"en": "What is the name of the pharmacy?",
"de": "Wie lautet der Name der Apotheke?"
},
"render": {
2022-07-27 10:16:11 +02:00
"en": "This pharmacy is called {name}",
"de": "Der Name der Apotheke lautet {name}"
}
},
2022-07-08 03:14:55 +02:00
"opening_hours",
"phone",
"email",
"website",
{
"id": "wheelchair",
"question": {
2022-07-26 10:51:14 +02:00
"en": "Is this pharmacy easy to access on a wheelchair?",
"de": "Ist die Apotheke für Rollstuhlfahrer leicht zugänglich?"
2022-07-08 03:14:55 +02:00
},
"mappings": [
2022-07-06 15:54:21 +02:00
{
2022-07-08 03:14:55 +02:00
"if": "wheelchair=yes",
"then": {
2022-07-26 10:51:14 +02:00
"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"
2022-07-08 03:14:55 +02:00
}
2022-07-06 15:54:21 +02:00
},
{
2022-07-08 03:14:55 +02:00
"if": "wheelchair=no",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This pharmacy is hard to access on a wheelchair",
"de": "Die Apotheke ist für Rollstuhlfahrer nur schwer zugänglich"
2022-07-08 03:14:55 +02:00
}
},
2022-07-06 15:54:21 +02:00
{
2022-07-08 03:14:55 +02:00
"if": "wheelchair=limited",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This pharmacy has limited access for wheelchair users",
"de": "Die Apotheke ist für Rollstuhlfahrer nur eingeschränkt zugänglich"
2022-07-08 03:14:55 +02:00
}
2022-07-06 15:54:21 +02:00
}
2022-07-08 03:14:55 +02:00
]
}
],
"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>"
}
]
}
2022-07-08 03:14:55 +02:00
}
],
"filter": [
{
"id": "drive-through",
"options": [
2022-07-07 16:08:54 +02:00
{
"question": {
2022-07-27 10:16:11 +02:00
"en": "Has drive through",
"de": "Bietet einen Durchfahr-Service an"
},
"osmTags": "drive_through=yes"
}
]
},
{
"id": "dispensing",
"options": [
2022-07-07 16:08:54 +02:00
{
"question": {
2022-07-27 10:16:11 +02:00
"en": "Pharmacy able to provide prescription drugs",
"de": "Apotheke, die verschreibungspflichtige Arzneimittel ausgibt"
},
"osmTags": "dispensing=yes"
2022-07-07 16:08:54 +02:00
}
]
}
]
2022-07-06 15:54:21 +02:00
}