mapcomplete/assets/layers/pharmacy/pharmacy.json

123 lines
3.2 KiB
JSON
Raw Normal View History

2022-07-06 15:54:21 +02:00
{
"id": "pharmacy",
"name": {
"en": "pharmacy"
},
"title": {
"render": {
"en": "{name}"
}
},
"source": {
"osmTags": {
"and": [
"amenity=pharmacy"
]
}
},
"minzoom":13,
"tagRenderings": [
"images",
"opening_hours",
"phone",
"email",
"website",
"dispensing",
{
"id": "wheelchair",
"render": {
"en": "Easily accessible for wheelchair users: {wheelchair}"
},
"question": {
"en": "Is this pharmacy easy to access on a wheelchair?"
},
"freeform": {
"key": "wheelchair"
},
"mappings": [
{
"if": "wheelchair=yes",
"then": {
"en": "Yes, this pharmacy is easy to access on a wheelchair"
}
},
{
"if": "wheelchair=no",
"then": {
2022-07-07 15:56:40 +02:00
"en": "No, this pharmacy is hard to access on a wheelchair"
2022-07-06 15:54:21 +02:00
}
},
{
"if": "wheelchair=limited",
"then": {
"en": "This pharmacy has limited access for wheelchair users"
}
}
]
},
{
"id": "drive_through",
"render": {
"en": "Pharmacy drive through: {drive_through}"
},
"question": {
"en": "Does this pharmacy have a drive through?"
},
"freeform": {
"key": "drive_through"
},
"mappings": [
{
"if": "drive_through=yes",
"then": {
"en": "Yes, this pharmacy has a drive through"
}
},
{
"if": "drive_through=no",
"then": {
"en": "No, this pharmacy does not have a drive through"
}
}
]
}
],
2022-07-07 16:08:54 +02:00
"filter": [
{
"id": "drive-through",
"options": [
{
"question": {
"en": "Has drive through"
},
"osmTags": "drive_through=yes"
}
]
},
{
"id": "dispensing",
"options": [
{
"question": {
"en": "Pharmacy able to provide prescription drugs"
},
"osmTags": "dispensing=yes"
}
]
}
],
2022-07-06 15:54:21 +02:00
"mapRendering": [
{
"icon": {
"render": "./assets/layers/pharmacy/pharmacy.svg"
},
"iconSize": "40,40,bottom",
"location": [
"point",
"centroid"
]
}
]
}