diff --git a/img/maestro.png b/img/maestro.png new file mode 100644 index 0000000..d137cd0 Binary files /dev/null and b/img/maestro.png differ diff --git a/img/visa.png b/img/visa.png new file mode 100644 index 0000000..e731729 Binary files /dev/null and b/img/visa.png differ diff --git a/img/vpay.png b/img/vpay.png new file mode 100644 index 0000000..da5e44b Binary files /dev/null and b/img/vpay.png differ diff --git a/maestro.json b/maestro.json index aee738f..a21f34a 100644 --- a/maestro.json +++ b/maestro.json @@ -22,7 +22,7 @@ " {% set payment_color='white' %}", "{% endif %}" ], - "markerSign": "", + "markerSign": "", "markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}" } } diff --git a/visa.json b/visa.json new file mode 100644 index 0000000..8796ba6 --- /dev/null +++ b/visa.json @@ -0,0 +1,28 @@ +{ + "type": "overpass", + "name": { + "en": "Visa Payment", + "nl": "Visa Betaling", + "de": "Visa Zahlung" + }, + "query": { + "15": [ + "(node[\"payment:visa\"];", + "way[\"payment:visa\"];", + "relation[\"payment:visa\"];)" + ] + }, + "feature": { + "pre": [ + "{% if attribute(tags, 'payment:visa') == 'yes' %}", + " {% set payment_color='green' %}", + "{% elseif attribute(tags, 'payment:visa') == 'no' %}", + " {% set payment_color='red' %}", + "{% else %}", + " {% set payment_color='white' %}", + "{% endif %}" + ], + "markerSign": "", + "markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}" + } +} diff --git a/vpay.json b/vpay.json new file mode 100644 index 0000000..7469eee --- /dev/null +++ b/vpay.json @@ -0,0 +1,28 @@ +{ + "type": "overpass", + "name": { + "en": "V PAY Payment", + "nl": "V PAY Betaling", + "de": "V PAY Zahlung" + }, + "query": { + "15": [ + "(node[\"payment:v_pay\"];", + "way[\"payment:v_pay\"];", + "relation[\"payment:v_pay\"];)" + ] + }, + "feature": { + "pre": [ + "{% if attribute(tags, 'payment:v_pay') == 'yes' %}", + " {% set payment_color='green' %}", + "{% elseif attribute(tags, 'payment:v_pay') == 'no' %}", + " {% set payment_color='red' %}", + "{% else %}", + " {% set payment_color='white' %}", + "{% endif %}" + ], + "markerSign": "", + "markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}" + } +}