From 1966f3f9486bca84dc666c21d376f9d90824f789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 21 Aug 2018 09:41:23 +0200 Subject: [PATCH] fitness_trail: new category --- fitness_trail.json | 58 ++++++++++++++++++++++++++++++++++++++++++++++ outdoor.json | 3 +++ 2 files changed, 61 insertions(+) create mode 100644 fitness_trail.json diff --git a/fitness_trail.json b/fitness_trail.json new file mode 100644 index 00000000..7d9d015f --- /dev/null +++ b/fitness_trail.json @@ -0,0 +1,58 @@ +{ + "type": "overpass", + "name": { + "en": "Fitness trails" + }, + "query": { + "14": "relation[type=route][route=fitness_trail]" + }, + "members": true, + "feature": { + "body": [ + "

Stations

" + ], + "description": "{{ tagTrans('route', 'fitness_trail') }}", + "listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': '#007fff' })|raw }}", + "styles": "", + "markerSymbol": "", + "style:hover": { + "width": "4", + "color": "#000000", + "radius": "4" + } + }, + "memberFeature": { + "title": "{{ tags.name }}", + "body": [ + "

Routes

", + "" + ], + "listExclude": "1", + "style": { + "color": "{{ '#007fff' }}", + "width": 4, + "opacity": 1, + "textRepeat": "1", + "textOffset": "12", + "textFontWeight": "bold", + "radius": "3" + }, + "style:hover": { + "radius": "4" + } + } +} diff --git a/outdoor.json b/outdoor.json index fdf22253..72412a54 100644 --- a/outdoor.json +++ b/outdoor.json @@ -9,6 +9,9 @@ "subCategories": [ { "id": "mtb-routes" + }, + { + "id": "fitness_trail" } ] }