Road shields for Cyprus + No prohibitions for speed cameras #2692
2 changed files with 24 additions and 1 deletions
|
@ -513,6 +513,27 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
class CyprusRoadShieldParser : public SimpleRoadShieldParser
|
||||
{
|
||||
public:
|
||||
explicit CyprusRoadShieldParser(std::string const & baseRoadNumber)
|
||||
: SimpleRoadShieldParser(baseRoadNumber, {// North Cuprus.
|
||||
{"D.", RoadShieldType::Generic_Blue}, // White font.
|
||||
{"GM.", RoadShieldType::Generic_White}, // Blue font.
|
||||
{"GZ.", RoadShieldType::Generic_White}, // Blue font.
|
||||
{"GR.", RoadShieldType::Generic_White}, // Blue font.
|
||||
{"LF.", RoadShieldType::Generic_White}, // Blue font.
|
||||
{"İK.", RoadShieldType::Generic_White}, // Blue font.
|
||||
// South Cyprus.
|
||||
{"A", RoadShieldType::Generic_Green}, // Yellow font. Hexagon.
|
||||
{"B", RoadShieldType::Generic_Blue}, // Yellow font.
|
||||
{"E", RoadShieldType::Generic_Blue}, // Yellow font.
|
||||
{"F", RoadShieldType::Generic_Blue}, // Yellow font.
|
||||
{"U", RoadShieldType::Generic_Blue}}) // Yellow font.
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class MexicoRoadShieldParser : public RoadShieldParser
|
||||
{
|
||||
public:
|
||||
|
@ -606,6 +627,8 @@ RoadShieldsSetT GetRoadShields(std::string const & mwmName, std::string const &
|
|||
return MalaysiaRoadShieldParser(roadNumber).GetRoadShields();
|
||||
if (mwmName == "Mexico")
|
||||
return MexicoRoadShieldParser(roadNumber).GetRoadShields();
|
||||
if (mwmName == "Cyprus")
|
||||
return CyprusRoadShieldParser(roadNumber).GetRoadShields();
|
||||
|
||||
return SimpleRoadShieldParser(roadNumber, SimpleRoadShieldParser::ShieldTypes()).GetRoadShields();
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace
|
|||
{
|
||||
// List of country names where mwm should be generated without speed cameras.
|
||||
std::vector<std::string> kSpeedCamerasProhibitedCountries = {
|
||||
"Cyprus", "Macedonia", "Switzerland", "Turkey",
|
||||
"Macedonia", "Switzerland", "Turkey",
|
||||
|
||||
};
|
||||
|
||||
// List of country names where an end user should be warned about speed cameras.
|
||||
|
|
Reference in a new issue
Turkey, Switzerland, Cyprus, Macedonia
In these countries all Speed Camera warning systems are illegal. Because of this, TomTom does not offer the Speed Camera service in these countries, and users driving in these countries do not need to manually change the settings of their device.
https://help.tomtom.com/hc/en-us/articles/360013899980-TomTom-Speed-Camera-service-and-the-law