|
@ -13,14 +13,14 @@ |
|
|
}, |
|
|
}, |
|
|
"feature": { |
|
|
"feature": { |
|
|
"pre": [ |
|
|
"pre": [ |
|
|
"{% if 'tags.payment:maestro' == 'yes' %}", |
|
|
|
|
|
|
|
|
"{% if attribute(tags, 'payment:maestro') == 'yes' %}", |
|
|
" {% set payment_color='green' %}", |
|
|
" {% set payment_color='green' %}", |
|
|
"{% elseif 'tags.payment:maestro' == 'no' %}", |
|
|
|
|
|
|
|
|
"{% elseif attribute(tags, 'payment:maestro') == 'no' %}", |
|
|
" {% set payment_color='red' %}", |
|
|
" {% set payment_color='red' %}", |
|
|
"{% else %}", |
|
|
"{% else %}", |
|
|
" {% set payment_color='white' %}", |
|
|
" {% set payment_color='white' %}", |
|
|
"{% endif %}" |
|
|
"{% endif %}" |
|
|
], |
|
|
], |
|
|
"markerSymbol": "{{markerPointer({\\\"fillColor\\\": payment_color }})|raw }}" |
|
|
|
|
|
|
|
|
"markerSymbol": "{{ markerPointer({\"fillColor\":payment_color})|raw }}" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |