From c1d94cfdeee046ebd6412843b07bf4731d6964ea Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Thu, 15 Jul 2021 10:06:56 +0200 Subject: [PATCH] Fix highway=path and cycleway=track not showing --- assets/themes/cycle_infra/cycle_infra.json | 27 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/assets/themes/cycle_infra/cycle_infra.json b/assets/themes/cycle_infra/cycle_infra.json index 7fc345eca1..ed0595d419 100644 --- a/assets/themes/cycle_infra/cycle_infra.json +++ b/assets/themes/cycle_infra/cycle_infra.json @@ -35,7 +35,11 @@ "highway=cycleway", "cycleway=shared_lane", "cycleway=lane", - "cyclestreet=yes" + "cycleway=track", + "cyclestreet=yes", + { + "and": ["highway=path", "bicycle=designated"] + } ] } }, @@ -46,7 +50,9 @@ }, "mappings": [ { - "if": "highway=cycleway", + "if": { + "or": ["highway=cycleway", "highway=path"] + }, "then": { "nl": "Fietsweg", "en": "Bike road" @@ -62,10 +68,17 @@ { "if": "cycleway=lane", "then": { - "nl": "Fietsweg naast de weg", + "nl": "Fietsstrook", "en": "Bike lane" } }, + { + "if": "cycleway=track", + "then": { + "en": "Bike road next to the road", + "nl": "Fietsweg naast de weg" + } + }, { "if": "cyclestreet=yes", "then": { @@ -447,9 +460,15 @@ "render": "#aaaaaa", "mappings": [ { - "if": "highway=cycleway", + "if": { + "or": ["highway=cycleway", "highway=path"] + }, "then": "#00ff00" }, + { + "if": "cycleway=track", + "then": "#45c445" + }, { "if": "cycleway=shared_lane", "then": "#ff0000"