From 2338dfdd29dacce96975c29a3d846c5ec158aeca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 15 Jul 2018 21:35:03 +0200
Subject: [PATCH] pt: show route refs on ways

---
 pt.json | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pt.json b/pt.json
index aee7bc3..3e3e9c5 100644
--- a/pt.json
+++ b/pt.json
@@ -85,7 +85,11 @@
                 "{% set master = masters[0] %}",
                 "{{ const[master.tags.route].color|default('#ff0000') }}"
             ],
-            "width": "{% if map.zoom>=15 %}5{% else %}3{% endif %}"
+            "width": "3",
+            "text": "{% for master in masters %}{{ master.tags.ref }}  {% endfor %}             ",
+            "textRepeat": "1",
+            "textOffset": "12",
+            "textFontWeight": "bold"
         },
         "title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name }}{% endif %}",
         "listStopsTitle": "{{ tags.name }}",