Road warning PP event, toll road distance in subtitle.

This commit is contained in:
Daria Volvenkova 2019-04-12 18:56:34 +03:00 committed by Roman Kuznetsov
parent b90ecbc241
commit ca10737297
2 changed files with 4 additions and 0 deletions

View file

@ -2392,6 +2392,9 @@ void Framework::OnTapEvent(TapEvent const & tapEvent)
kv["partner"] = info.GetPartnerName();
}
if (info.IsRoadType())
kv["road_warning"] = DebugPrint(info.GetRoadType());
// Older version of statistics used "$GetUserMark" event.
alohalytics::Stats::Instance().LogEvent("$SelectMapObject", kv,
alohalytics::Location::FromLatLon(ll.lat, ll.lon));

View file

@ -362,6 +362,7 @@ void Info::SetRoadType(FeatureType & ft, RoadWarningMarkType type, std::string c
m_uiTitle = localizedType;
else
subtitle.push_back(localizedType);
subtitle.push_back(distance);
}
else if (type == RoadWarningMarkType::Dirty)
{