Browse Source

Color for plastic

master
sembruk 6 years ago
parent
commit
742683d9d0
  1. 8
      recycling.json

8
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": [
"<table>",

Loading…
Cancel
Save