diff options
author | Igor Khmurets <subzero@mapswithme.com> | 2014-05-12 02:40:34 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:51 +0300 |
commit | f01434415f0ff19e5030d99867ba16926f052f2e (patch) | |
tree | 2a1c855cac79eb394a0a4d50058803fcccf242d2 /map/bookmark.hpp | |
parent | b9900f827900649022bf66cf78a1db1e07def82f (diff) |
[core] Added name setter to Bookmark
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r-- | map/bookmark.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp index d184c845d3..e5b859e546 100644 --- a/map/bookmark.hpp +++ b/map/bookmark.hpp @@ -90,9 +90,9 @@ public: virtual Type GetMarkType() const { return BOOKMARK; } - m2::PointD const & GetOrg() const { return UserMark::GetOrg(); } - string const & GetName() const { return m_data.GetName(); } - //void SetName(string const & name) { m_name = name; } + m2::PointD const & GetOrg() const { return m_org; } + string const & GetName() const { return m_name; } + void SetName(string const & name) { m_name = name; } /// @return Now its a bookmark color - name of icon file string const & GetType() const { return m_data.GetType(); } //void SetType(string const & type) { m_type = type; } |