Browse Source

Added contactless

master
Robin van der Linde 6 years ago
parent
commit
87317ae715
  1. 28
      contactless.json

28
contactless.json

@ -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 }}"
}
}
Loading…
Cancel
Save