|
|
@ -26,7 +26,7 @@ |
|
|
|
" {% set key = 'amenity' %}", |
|
|
|
" {% set value = tags.amenity %}", |
|
|
|
" {% if attribute(tags, 'recycling:plastic_bottles') == 'yes' or attribute(tags, 'recycling:plastic') == 'yes' %}", |
|
|
|
" {% set color='green' %}", |
|
|
|
" {% set recycling_color='green' %}", |
|
|
|
" {% endif %}", |
|
|
|
"{% endif %}", |
|
|
|
"{% set kv = key ~ '=' ~ value %}" |
|
|
@ -41,7 +41,10 @@ |
|
|
|
"{% if const[kv] %}", |
|
|
|
"{{ const[kv].sign|raw }}", |
|
|
|
"{% endif %}" |
|
|
|
] |
|
|
|
], |
|
|
|
"markerSymbol": "{{ markerPointer({\"fillColor\": recycling_color })|raw }}", |
|
|
|
"listMarkerSymbol": "{{ markerCircle({\"fillColor\": recycling_color })|raw }}" |
|
|
|
|
|
|
|
}, |
|
|
|
"info": [ |
|
|
|
"<table>", |
|
|
@ -64,8 +67,7 @@ |
|
|
|
"const": { |
|
|
|
"amenity=recycling": { |
|
|
|
"minZoom": 13, |
|
|
|
"sign": "<img src='maki:recycling'>", |
|
|
|
"color": "{{ color }}" |
|
|
|
"sign": "<img src='maki:recycling'>" |
|
|
|
} |
|
|
|
} |
|
|
|
} |