diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-06-16 17:54:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:17:08 +0300 |
commit | 063a20d481732f704d0f03944f9202b8a304858f (patch) | |
tree | 284d8d2957bd9465b6777bb2c1b12187eb6b9520 /map/user_mark_container.hpp | |
parent | 4cfe3ed54199831f4ab58d891419fdb72e65555f (diff) |
[core] dont show red marker when we have only one search result.
Diffstat (limited to 'map/user_mark_container.hpp')
-rw-r--r-- | map/user_mark_container.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/map/user_mark_container.hpp b/map/user_mark_container.hpp index d34733ce08..4e969bd9e7 100644 --- a/map/user_mark_container.hpp +++ b/map/user_mark_container.hpp @@ -58,6 +58,9 @@ public: bool IsVisible() const { return m_isVisible; } void SetVisible(bool isVisible) { m_isVisible = isVisible; } + bool IsDrawable() const { return m_isDrawable; } + void SetIsDrawable(bool isDrawable) { m_isDrawable = isDrawable; } + // If not found mark on rect result is NULL // If mark is found in "d" return distance from rect center // In multiple select choose mark with min(d) @@ -98,6 +101,7 @@ protected: private: Controller m_controller; bool m_isVisible; + bool m_isDrawable; double m_layerDepth; vector<UserMark *> m_userMarks; }; |