|
|
@ -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 }}" |
|
|
|
} |
|
|
|
} |