Browse Source

Added mastercard file

master
Robin van der Linde 6 years ago
parent
commit
ab6105090f
  1. 28
      mastercard.json

28
mastercard.json

@ -0,0 +1,28 @@
{
"type": "overpass",
"name": {
"en": "Mastercard Payment",
"nl": "Mastercard Betaling",
"de": "Mastercard Zahlung"
},
"query": {
"15": [
"(node[\"payment:mastercard\"];",
"way[\"payment:mastercard\"];",
"relation[\"payment:mastercard\"];)"
]
},
"feature": {
"pre": [
"{% if attribute(tags, 'payment:mastercard') == 'yes' %}",
" {% set payment_color='green' %}",
"{% elseif attribute(tags, 'payment:mastercard') == 'no' %}",
" {% set payment_color='red' %}",
"{% else %}",
" {% set payment_color='white' %}",
"{% endif %}"
],
"markerSign": "",
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}"
}
}
Loading…
Cancel
Save