Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'map/framework.cpp')
-rw-r--r--map/framework.cpp3
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