2020-11-09 20:20:39 +01:00
|
|
|
{
|
|
|
|
"id": "bike_cleaning",
|
|
|
|
"name": {
|
|
|
|
"en": "Bike cleaning service",
|
|
|
|
"nl": "Fietsschoonmaakpunt"
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"en": "Bike cleaning service",
|
|
|
|
"nl": "Fietsschoonmaakpunt"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "name~*",
|
|
|
|
"then": {
|
|
|
|
"en": "Bike cleaning service <i>{name}</i>",
|
|
|
|
"nl": "Fietsschoonmaakpunt <i>{name}</i>"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"icon": {
|
|
|
|
"render": "./assets/layers/bike_cleaning/bike_cleaning.svg"
|
|
|
|
},
|
|
|
|
"iconSize": "50,50,bottom",
|
|
|
|
"overpassTags": {
|
|
|
|
"or": [
|
|
|
|
"service:bicycle:cleaning=yes",
|
2021-01-08 03:57:18 +01:00
|
|
|
"service:bicycle:cleaning=diy",
|
2020-11-09 20:20:39 +01:00
|
|
|
"amenity=bicycle_wash"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"minzoom": 13,
|
|
|
|
"wayHandling": 1,
|
|
|
|
"presets": [
|
|
|
|
{
|
|
|
|
"title": {
|
|
|
|
"en": "Bike cleaning service",
|
|
|
|
"nl": "Fietsschoonmaakpunt"
|
|
|
|
},
|
|
|
|
"tags": [
|
2021-01-08 03:57:18 +01:00
|
|
|
"amenity=bicycle_wash"
|
2020-11-09 20:20:39 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"color": "#6bc4f7",
|
2021-01-08 03:57:18 +01:00
|
|
|
"iconOverlays": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"service:bicycle:cleaning~*",
|
|
|
|
"amenity!=bike_wash"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"render": "./assets/layers/bike_cleaning/bike_cleaning_icon.svg",
|
|
|
|
"roaming": true
|
|
|
|
},
|
|
|
|
"badge": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"titleIcons": [
|
|
|
|
{
|
|
|
|
"render": "<img src='./assets/layers/bike_cleaning/bike_cleaning_icon.svg'/>",
|
|
|
|
"roaming": true
|
|
|
|
}
|
|
|
|
],
|
2020-11-09 20:20:39 +01:00
|
|
|
"tagRenderings": [
|
2021-01-08 03:57:18 +01:00
|
|
|
"images",
|
|
|
|
{
|
|
|
|
"question": "How much does it cost to use the cleaning service?",
|
|
|
|
"render": "Using the cleaning service costs {charge}",
|
|
|
|
"condition": "amenity!=bike_wash",
|
|
|
|
"freeform": {
|
|
|
|
"key": "service:bicycle:cleaning:charge",
|
|
|
|
"addExtraTags": [
|
|
|
|
"service:bicycle:cleaning:fee=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "service:bicycle:cleaning:fee=no&service:bicycle:cleaning:charge=",
|
|
|
|
"then": "The cleaning service is free to use"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "service:bicycle:cleaning:fee=no&",
|
|
|
|
"then": "Free to use",
|
|
|
|
"hideInAnswer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "service:bicycle:cleaning:fee=yes",
|
|
|
|
"then": "The cleaning service has a fee"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"roaming": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "How much does it cost to use the cleaning service?",
|
|
|
|
"render": "Using the cleaning service costs {charge}",
|
|
|
|
"condition": "amenity=bike_wash",
|
|
|
|
"freeform": {
|
|
|
|
"key": "charge",
|
|
|
|
"addExtraTags": [
|
|
|
|
"fee=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "fee=no&charge=",
|
|
|
|
"then": "Free to use cleaning service"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "fee=no&",
|
|
|
|
"then": "Free to use",
|
|
|
|
"hideInAnswer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "fee=yes",
|
|
|
|
"then": "The cleaning service has a fee"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"roaming": false
|
|
|
|
}
|
2020-11-09 20:20:39 +01:00
|
|
|
]
|
|
|
|
}
|