diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2019-04-12 18:56:34 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2019-04-12 18:57:43 +0300 |
commit | ca107372975ba8630cf577a2cc8bc765d7138253 (patch) | |
tree | 44bfe72e23140e2027dc3e06292e7b8ba726e023 /map | |
parent | b90ecbc241cf20b7896290570308d9c5b1e24b5b (diff) |
Road warning PP event, toll road distance in subtitle.
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 3 | ||||
-rw-r--r-- | map/place_page_info.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index a1bd3b1e74..16c1858e6a 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -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)); diff --git a/map/place_page_info.cpp b/map/place_page_info.cpp index 01fee201c7..670c4331b7 100644 --- a/map/place_page_info.cpp +++ b/map/place_page_info.cpp @@ -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) { |