From e31d7e6d0d80eff58af2d6021f8e52615469c9f8 Mon Sep 17 00:00:00 2001 From: Constantin Shalnev Date: Tue, 15 Sep 2015 17:25:21 +0300 Subject: Collect statistics about style switching --- map/framework.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'map/framework.cpp') diff --git a/map/framework.cpp b/map/framework.cpp index 5e79929ef7..539dacdb53 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1617,6 +1617,9 @@ void Framework::SetMapStyle(MapStyle mapStyle) { GetStyleReader().SetCurrentStyle(mapStyle); classificator::Load(); + + alohalytics::TStringMap details {{"mapStyle", strings::to_string(static_cast(mapStyle))}}; + alohalytics::Stats::Instance().LogEvent("MapStyle_Changed", details); } MapStyle Framework::GetMapStyle() const -- cgit v1.2.3