diff --git a/recycling.json b/recycling.json index 77211c1..39ca841 100644 --- a/recycling.json +++ b/recycling.json @@ -25,6 +25,9 @@ "{% if tags.amenity == 'recycling' %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", + " {% if attribute(tags, 'recycling:plastic_bottles') == 'yes' or attribute(tags, 'recycling:plastic') == 'yes' %}", + " {% set color='green' %}", + " {% endif %}", "{% endif %}", "{% set kv = key ~ '=' ~ value %}" ], @@ -38,7 +41,10 @@ "{% if const[kv] %}", "{{ const[kv].sign|raw }}", "{% endif %}" - ] + ], + "style": { + "color": "{{ color }}" + } }, "info": [ "