diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-05-16 13:30:16 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:39 +0300 |
commit | bf8badaa32714d758c65ba7d0f386afcfdbec3dd (patch) | |
tree | 054fc0dd8f5c08991092cee8a1f01922126c1289 /map/bookmark.cpp | |
parent | bd1c2ce569c24c068f2e7f3072c59e35996234ee (diff) |
[core] customize user mark drawing.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r-- | map/bookmark.cpp | 5 |
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; |