From a1f8ed7dc2868b96a73a325e0d16a6b54c9e1475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 2 Jun 2020 09:12:11 +0200 Subject: [PATCH] Developable Areas: colors, map key --- developable_areas.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/developable_areas.json b/developable_areas.json index 8f67600..6b92dcc 100644 --- a/developable_areas.json +++ b/developable_areas.json @@ -15,6 +15,25 @@ "{% set key = 'landuse' %}", "{% set value = tags.landuse %}" ], + "style": { + "color": "{{ const[value] }}" + }, + "markerSymbol": "{{ markerPointer({fillColor:const[value]})|raw }}", + "listMarkerSymbol": "{{ markerCircle({fillColor:const[value]})|raw }}", "description": "{{ tagTrans(key, value) }}" + }, + "info": [ + "", + "{% for value, color in const %}", + " ", + " ", + " ", + " ", + "{% endfor %}", + "
{{ markerCircle({fillColor: color})|raw }}{{ tagTrans('landuse', value) }}
" + ], + "const": { + "brownfield": "#c3701f", + "greenfield": "#009800" } }