From 80ac3b519e052851a57fd593296750cf2e6ec95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 21 Aug 2018 22:43:51 +0200 Subject: [PATCH] fitness_trail: show marker with 'S' on all stations --- fitness_trail.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fitness_trail.json b/fitness_trail.json index 7d9d015f..595148e8 100644 --- a/fitness_trail.json +++ b/fitness_trail.json @@ -28,6 +28,9 @@ } }, "memberFeature": { + "pre": [ + "{% set master0 = masters[0] %}" + ], "title": "{{ tags.name }}", "body": [ "

Routes

", @@ -53,6 +56,8 @@ }, "style:hover": { "radius": "4" - } + }, + "markerSymbol": "{% if master0.role == 'station' %}{{ markerPointer({})|raw }}{% endif %}", + "markerSign": "{% if master0.role == 'station' %}S{% endif %} " } }