diff --git a/fitness_trail.json b/fitness_trail.json
index 595148e8..08ad67dc 100644
--- a/fitness_trail.json
+++ b/fitness_trail.json
@@ -9,10 +9,13 @@
"members": true,
"feature": {
"body": [
- "
Stations
",
+ "Route
",
"{% for member in members %}",
- "{% if member.role == 'station' %}",
- "- {{ member.tags.name|default(trans('loading')) }}
",
+ "{% if const.roles[member.role] %}",
+ "- ",
+ "
{{ markerCircle({})|raw }}
{{ const.roles[member.role].sign|raw }}
",
+ " {{ member.tags.name|default(trans('loading')) }}",
+ " ",
"{% endif %}",
"{% endfor %}",
"
"
@@ -57,7 +60,26 @@
"style:hover": {
"radius": "4"
},
- "markerSymbol": "{% if master0.role == 'station' %}{{ markerPointer({})|raw }}{% endif %}",
- "markerSign": "{% if master0.role == 'station' %}S{% endif %} "
+ "markerSymbol": "{% if const.roles[master0.role] %}{{ markerPointer({})|raw }}{% endif %}",
+ "markerSign": "{% if const.roles[master0.role] %}{{ const.roles[master0.role].sign|raw }}{% endif %} "
+ },
+ "const": {
+ "roles": {
+ "station": {
+ "sign": ""
+ },
+ "information": {
+ "sign": "🛈"
+ },
+ "start": {
+ "sign": "⚐"
+ },
+ "stop": {
+ "sign": "🏁"
+ },
+ "start_stop": {
+ "sign": "⚐"
+ }
+ }
}
}