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:
authorExMix <rahuba.youri@mapswithme.com>2014-05-16 13:30:16 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:15:39 +0300
commitbf8badaa32714d758c65ba7d0f386afcfdbec3dd (patch)
tree054fc0dd8f5c08991092cee8a1f01922126c1289 /map/bookmark.cpp
parentbd1c2ce569c24c068f2e7f3072c59e35996234ee (diff)
[core] customize user mark drawing.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index 9752fc739a..5859e13f74 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -741,6 +741,11 @@ string BookmarkCategory::GenerateUniqueFileName(const string & path, string name
return (path + name + suffix + kmlExt);
}
+UserMark * BookmarkCategory::AllocateUserMark(m2::PointD const & ptOrg)
+{
+ return new Bookmark(ptOrg, this);
+}
+
bool BookmarkCategory::SaveToKMLFile()
{
string oldFile;