forked from organicmaps/organicmaps
Road warning PP event, toll road distance in subtitle.
This commit is contained in:
parent
b90ecbc241
commit
ca10737297
2 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue