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:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2016-10-05 13:42:17 +0300
committerVladiMihaylenko <vxmihaylenko@gmail.com>2016-10-17 17:16:47 +0300
commit3c0bac96e9e0b746bc2e156a81ea77e2bb660e9e (patch)
treecb7c0637b87bb48a7e4475ea746536dc49d9b616 /map/place_page_info.hpp
parent989154cb73d24f4ce44e38a64cffb438c4299778 (diff)
[map] Refactored work of bookmark
Diffstat (limited to 'map/place_page_info.hpp')
-rw-r--r--map/place_page_info.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/map/place_page_info.hpp b/map/place_page_info.hpp
index ece891102e..2a150f4b43 100644
--- a/map/place_page_info.hpp
+++ b/map/place_page_info.hpp
@@ -54,6 +54,9 @@ public:
/// @returns empty string or GetStars() count of ★ symbol.
string FormatStars() const;
+ /// @returns coordinate in DMS format if isDMS is true
+ string GetFormattedCoordinate(bool isDMS) const;
+
string GetCustomName() const;
BookmarkAndCategory GetBookmarkAndCategory() const;
string GetBookmarkCategoryName() const;
@@ -72,9 +75,15 @@ public:
/// Comes from API, shared links etc.
string m_customName;
/// If not empty, bookmark is bound to this place page.
- BookmarkAndCategory m_bac = MakeEmptyBookmarkAndCategory();
+ BookmarkAndCategory m_bac;
/// Bookmark category name. Empty, if it's not bookmark;
string m_bookmarkCategoryName;
+ /// Bookmark title. Empty, if it's not bookmark;
+ string m_bookmarkTitle;
+ /// Bookmark color name. Empty, if it's not bookmark;
+ string m_bookmarkColorName;
+ /// Bookmark description. Empty, if it's not bookmark;
+ string m_bookmarkDescription;
/// Api ID passed for the selected object. It's automatically included in api url below.
string m_apiId;
/// [Deep] link to open when "Back" button is pressed in a Place Page.