|
@ -0,0 +1,28 @@ |
|
|
|
|
|
{ |
|
|
|
|
|
"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": "", |
|
|
|
|
|
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}" |
|
|
|
|
|
} |
|
|
|
|
|
} |