diff options
author | Alex Zolotarev <alex@maps.me> | 2015-03-23 21:18:33 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:40:48 +0300 |
commit | 53675ba62fa8a1bbe28086c7dff618479074dc08 (patch) | |
tree | 39d5da359b913b3b12a6c03ce5b011132eb474e7 /map/bookmark.cpp | |
parent | faf2808ee2e77101b01affcc752f569785fa60f3 (diff) |
Log touch to the map.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r-- | map/bookmark.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp index c0813075fa..f2bedb4f51 100644 --- a/map/bookmark.cpp +++ b/map/bookmark.cpp @@ -53,6 +53,13 @@ shared_ptr<anim::Task> Bookmark::CreateAnimTask(Framework & fm) return CreateDefaultPinAnim(fm, m_animScaleFactor); } +void Bookmark::FillLogEvent(TEventContainer & details) const +{ + UserMark::FillLogEvent(details); + details.emplace("markType", "BOOKMARK"); + details.emplace("name", GetData().GetName()); +} + void BookmarkCategory::AddTrack(Track & track) { m_tracks.push_back(track.CreatePersistent()); |