diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-06-01 17:24:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:39 +0300 |
commit | 897b61764528cd2fefbbc26dbfc2be9569c674ec (patch) | |
tree | 88efff29a6d78c38ceb7d31bf7f965a8a26162c6 /map/bookmark.hpp | |
parent | 3000488be4e75fe8223a21de3a8f148fb821d9b0 (diff) |
[ios] Added bookmarks color support. @TODO save and load bookmarks color
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r-- | map/bookmark.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp index ffde355bdb..362be1f9fd 100644 --- a/map/bookmark.hpp +++ b/map/bookmark.hpp @@ -14,16 +14,20 @@ class Bookmark { m2::PointD m_org; string m_name; + /// Now it stores bookmark color + string m_type; public: Bookmark() {} - Bookmark(m2::PointD const & org, string const & name) - : m_org(org), m_name(name) + Bookmark(m2::PointD const & org, string const & name, string const & type) + : m_org(org), m_name(name), m_type(type) { } m2::PointD GetOrg() const { return m_org; } string const & GetName() const { return m_name; } + /// Now it returns bookmark color + string const & GetType() const { return m_type; } m2::RectD GetViewport() const { return m2::RectD(m_org, m_org); } }; |