Browse Source

Added logos and extra cards

master
Robin van der Linde 5 years ago
parent
commit
ea5b1c93e8
  1. BIN
      img/maestro.png
  2. BIN
      img/visa.png
  3. BIN
      img/vpay.png
  4. 2
      maestro.json
  5. 28
      visa.json
  6. 28
      vpay.json

BIN
img/maestro.png

After

Width: 200  |  Height: 156  |  Size: 7.8 KiB

BIN
img/visa.png

After

Width: 200  |  Height: 65  |  Size: 5.1 KiB

BIN
img/vpay.png

After

Width: 200  |  Height: 217  |  Size: 5.7 KiB

2
maestro.json

@ -22,7 +22,7 @@
" {% set payment_color='white' %}",
"{% endif %}"
],
"markerSign": "",
"markerSign": "<img height='15' data-src='img/maestro.png'>",
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}"
}
}

28
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": "<img height='15' data-src='img/visa.png'>",
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}"
}
}

28
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": "<img height='15' data-src='img/vpay.png'>",
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}"
}
}
Loading…
Cancel
Save