From 82fce1606d2b836ae72ead6b6edad3e7c0a61527 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 1 Apr 2021 17:54:12 +0200 Subject: [PATCH] Change conditions for cyclestreets so that traffic sign hiding works differently --- Models/Constants.ts | 2 +- assets/themes/cyclestreets/cyclestreets.json | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Models/Constants.ts b/Models/Constants.ts index 5df0bd9..52df36f 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.6.4a"; + public static vNumber = "0.6.4b"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/assets/themes/cyclestreets/cyclestreets.json b/assets/themes/cyclestreets/cyclestreets.json index fe7fd66..7409e12 100644 --- a/assets/themes/cyclestreets/cyclestreets.json +++ b/assets/themes/cyclestreets/cyclestreets.json @@ -99,11 +99,19 @@ "source": { "osmTags": { "and": [ - "cyclestreet=yes", - "traffic_sign=" + "cyclestreet=yes" ] } }, + "isShown": { + "render": "yes", + "mappings": [ + { + "if": "id!~way/.*", + "then": "no" + } + ] + }, "description": { "nl": "Een fietsstraat is een straat waar gemotoriseerd verkeer een fietser niet mag inhalen." },