You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
880 B
28 lines
880 B
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"en": "Contactless Payment",
|
|
"nl": "Contactloze Betaling",
|
|
"de": "Kontaklose Zahlung"
|
|
},
|
|
"query": {
|
|
"15": [
|
|
"(node[\"payment:contactless\"];",
|
|
"way[\"payment:contactless\"];",
|
|
"relation[\"payment:contactless\"];)"
|
|
]
|
|
},
|
|
"feature": {
|
|
"pre": [
|
|
"{% if attribute(tags, 'payment:contactless') == 'yes' %}",
|
|
" {% set payment_color='green' %}",
|
|
"{% elseif attribute(tags, 'payment:contactless') == 'no' %}",
|
|
" {% set payment_color='red' %}",
|
|
"{% else %}",
|
|
" {% set payment_color='white' %}",
|
|
"{% endif %}"
|
|
],
|
|
"markerSign": "<i class=\"fas fa-wifi\"></i>",
|
|
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}"
|
|
}
|
|
}
|