diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-10-08 15:32:33 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:44:49 +0300 |
commit | f3c89d79e60dfafe526d1c2bc6e0367d2184c4af (patch) | |
tree | 8b6b5405fe2b6beb74d746acfb953f16673005a4 /map/bookmark.hpp | |
parent | 5340642367a30929a27bcd4e631d626f4ac4e4cb (diff) |
Framework::Addbookmark now automatically edits or moves bookmark from one category to another if it exists
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r-- | map/bookmark.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp index bdeb4de83b..a27f94f1d4 100644 --- a/map/bookmark.hpp +++ b/map/bookmark.hpp @@ -55,7 +55,11 @@ public: inline size_t GetBookmarksCount() const { return m_bookmarks.size(); } Bookmark const * GetBookmark(size_t index) const; + /// @param[in] distance in metres between orgs + /// @returns -1 or index of found bookmark + int GetBookmark(m2::PointD const org, double const squareDistance) const; void DeleteBookmark(size_t index); + void ReplaceBookmark(size_t index, Bookmark const & bm); void LoadFromKML(ReaderPtr<Reader> const & reader); void SaveToKML(ostream & s); |