From 4b4a2f3cb6bed4224afae27cfd7afe30ee031ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 10 Oct 2018 14:19:07 +0200 Subject: [PATCH] fitness_trail: improvements --- fitness_trail.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/fitness_trail.json b/fitness_trail.json index 08ad67dc..2910e007 100644 --- a/fitness_trail.json +++ b/fitness_trail.json @@ -9,21 +9,27 @@ "members": true, "feature": { "body": [ - "

Route

{% endif %}" ], "description": "{{ tagTrans('route', 'fitness_trail') }}", "listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': '#007fff' })|raw }}", - "styles": "", "markerSymbol": "", + "style": { + "opacity": 0, + "z-index": 1, + "width": 4 + }, "style:hover": { "width": "4", "color": "#000000", @@ -61,7 +67,8 @@ "radius": "4" }, "markerSymbol": "{% if const.roles[master0.role] %}{{ markerPointer({})|raw }}{% endif %}", - "markerSign": "{% if const.roles[master0.role] %}{{ const.roles[master0.role].sign|raw }}{% endif %} " + "markerSign": "{% if const.roles[master0.role] %}{{ const.roles[master0.role].sign|raw }}{% endif %} ", + "popupReplace": "{% if masters|length == 1 %}{{ master0.id }}{% endif %}" }, "const": { "roles": {