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:
authorAlex Zolotarev <alex@maps.me>2015-03-23 21:18:33 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:40:48 +0300
commit53675ba62fa8a1bbe28086c7dff618479074dc08 (patch)
tree39d5da359b913b3b12a6c03ce5b011132eb474e7 /map/bookmark.cpp
parentfaf2808ee2e77101b01affcc752f569785fa60f3 (diff)
Log touch to the map.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp7
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());