diff --git a/recycling.json b/recycling.json index 003ae32..e9d79e7 100644 --- a/recycling.json +++ b/recycling.json @@ -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": [ "", @@ -64,8 +67,7 @@ "const": { "amenity=recycling": { "minZoom": 13, - "sign": "", - "color": "{{ color }}" + "sign": "" } } }