Browse Source

Fixed coloring

master
Robin van der Linde 5 years ago
parent
commit
9307cc1656
  1. 6
      maestro.json

6
maestro.json

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