From e6838b8e2de4d2a3a5d9d9eb6702c1b43be92e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Fri, 26 Oct 2018 19:36:59 +0200 Subject: [PATCH] car_maxspeed/railway-maxspeed: show speed (w/o unit) as label --- car_maxspeed.json | 5 ++++- railway-maxspeed.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/car_maxspeed.json b/car_maxspeed.json index 0b50d60..b2249f3 100644 --- a/car_maxspeed.json +++ b/car_maxspeed.json @@ -57,7 +57,10 @@ "listMarkerSymbol": "line", "style": { "width": "3", - "color": "{{ color }}" + "color": "{{ color }}", + "text": "{{ maxspeed }} ", + "textRepeat": "1", + "textFontWeight": "bold" } }, "const": { diff --git a/railway-maxspeed.json b/railway-maxspeed.json index 261bdcf..9ce73db 100644 --- a/railway-maxspeed.json +++ b/railway-maxspeed.json @@ -55,7 +55,10 @@ "listMarkerSymbol": "line", "style": { "width": "3", - "color": "{{ color }}" + "color": "{{ color }}", + "text": "{{ maxspeed }} ", + "textRepeat": "1", + "textFontWeight": "bold" } }, "const": {