From c9334d3b78d16e3f215c6dd344e8af8fc17f544c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 6 Jun 2018 20:47:54 +0200 Subject: [PATCH] Building Start Date: Improvements --- buildings-start_date.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildings-start_date.json b/buildings-start_date.json index 04a0d67..fadac20 100644 --- a/buildings-start_date.json +++ b/buildings-start_date.json @@ -1,8 +1,8 @@ { "type": "overpass", "name": { - "en": "Buildings", - "de": "Gebäude" + "en": "Building age", + "de": "Gebäudealter" }, "query": { "16": [ @@ -38,7 +38,7 @@ " {% set color = colorInterpolate([ '#ffff00', '#00ff00' ], (value - 2000.0) / 50) %}", " {% endif %}", "{% else %}", - "{% set color = '#000000' %}", + "{% set color = '#7f7f7f' %}", "{% endif %}" ], "description": [ @@ -46,8 +46,8 @@ "{{ tags.start_date }}", "{% endif %}" ], - "markerSign": null, - "listMarkerSymbol": "polygon", + "markerSymbol": null, + "listMarkerSymbol": "{{ markerPolygon({ \"fillColor\": color, \"fillOpacity\": 0.8, \"width\": 1, \"color\": \"#000000\" })|raw }}", "priority": [ "{% set p = 100 %}", "{% if tags.start_date %}{% set p = p - 20 %}{% endif %}", @@ -63,7 +63,7 @@ "{{ p }}" ], "style": { - "weight": "1", + "width": "1", "color": "#000000", "fillColor": "{{ color }}", "fillOpacity": "0.8"