diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-09-15 17:25:21 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:05:26 +0300 |
commit | e31d7e6d0d80eff58af2d6021f8e52615469c9f8 (patch) | |
tree | 42873d55e24b397d6c04e59a1619c440189d4674 /map | |
parent | e3eb324988be9329cf487dca560179419e9fed7a (diff) |
Collect statistics about style switching
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<int>(mapStyle))}}; + alohalytics::Stats::Instance().LogEvent("MapStyle_Changed", details); } MapStyle Framework::GetMapStyle() const |