From 87317ae7154cb518ce7aba7c582dcd378b0b12ae Mon Sep 17 00:00:00 2001
From: Robin van der Linde <robin.vanderlinde@gmail.com>
Date: Mon, 20 May 2019 12:09:29 +0200
Subject: [PATCH] Added contactless

---
 contactless.json | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 contactless.json

diff --git a/contactless.json b/contactless.json
new file mode 100644
index 0000000..d179ff9
--- /dev/null
+++ b/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 }}"
+    }
+}