From 8c4fc6f64e8eba7f2eedd6bbd1996a3dfe53f5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 11 Jul 2018 10:12:11 +0200 Subject: [PATCH] pt: fixes --- pt.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pt.json b/pt.json index 1ac160d..ee10b35 100644 --- a/pt.json +++ b/pt.json @@ -49,17 +49,14 @@ ], "listMarkerSign": "{{ const[tags.route].sign|raw }}", "markerSymbol": null, - "listMarkerSymbol": "{{ markerCircle({fillColor:const[tags.route].color})|raw }}", - "style": { - "color": "{{ const[tags.route].color }}" - } + "listMarkerSymbol": "{{ markerCircle({fillColor:const[tags.route].color})|raw }}" }, "memberFeature": { "listMarkerSymbol": "{{ markerCircle({})|raw }}", "style": { "color": [ "{% set master = masters[0] %}", - "{{ {'subway':'#0000ff','tram':'#007fff','trolley':'#ff007f','bus':'#ff0000'}[master.tags.route]|default('#000000') }}" + "{{ const[master.tags.route].color|default('#ff0000') }}" ], "width": "{% if map.zoom>=15 %}5{% else %}3{% endif %}" },