127 lines
No EOL
2.8 KiB
JSON
127 lines
No EOL
2.8 KiB
JSON
{
|
|
"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",
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"service:bicycle:cleaning=yes",
|
|
"service:bicycle:cleaning=diy",
|
|
"amenity=bicycle_wash"
|
|
]
|
|
}
|
|
},
|
|
"minzoom": 13,
|
|
"wayHandling": 1,
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "Bike cleaning service",
|
|
"nl": "Fietsschoonmaakpunt"
|
|
},
|
|
"tags": [
|
|
"amenity=bicycle_wash"
|
|
]
|
|
}
|
|
],
|
|
"color": "#6bc4f7",
|
|
"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
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"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
|
|
}
|
|
]
|
|
} |