Readding part that hides roadshield letter for some classification types

Signed-off-by: vikiawv <vikiawv@noreply.codeberg.org>
This commit is contained in:
vikiawv
2026-01-04 10:51:56 +01:00
committed by Yannik Bloscheck
parent 67f27482b8
commit ea4b39ea47

View File

@@ -513,9 +513,9 @@ public:
explicit AustriaRoadShieldParser(std::string const & baseRoadNumber)
: SimpleRoadShieldParser(baseRoadNumber, {{"A", RoadShieldType::Generic_Blue_Bordered},
{"S", RoadShieldType::Generic_Blue_Bordered},
{"B", RoadShieldType::Generic_Blue},
{"B", RoadShieldType::Generic_Blue, false, true},
{"P", RoadShieldType::Generic_Pill_Red_Bordered},
{"L", RoadShieldType::Generic_Pill_White_Bordered}})
{"L", RoadShieldType::Generic_Pill_White_Bordered, false, true}})
{}
};
@@ -703,7 +703,7 @@ class GermanyRoadShieldParser : public SimpleRoadShieldParser
{
public:
explicit GermanyRoadShieldParser(std::string const & baseRoadNumber)
: SimpleRoadShieldParser(baseRoadNumber, {{"A", RoadShieldType::Highway_Hexagon_Blue},
: SimpleRoadShieldParser(baseRoadNumber, {{"A", RoadShieldType::Highway_Hexagon_Blue, false, true},
{"D", RoadShieldType::Hidden},
{"B", RoadShieldType::Generic_Orange_Bordered},
{"L", RoadShieldType::Generic_White_Bordered},