diff options
-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 |