diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2019-03-18 15:58:44 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2019-03-25 15:47:46 +0300 |
commit | 3148af8df9387420c1a6aafde0cdb4af088fbb65 (patch) | |
tree | b81241d0eb15cef82ff758453021d10033dc4a38 /drape_frontend/user_mark_shapes.hpp | |
parent | 4723ecedd4f16af9b2ee552d86f21a859a8c62ec (diff) |
Road warning marks automatically visible since certain zoom level.
Diffstat (limited to 'drape_frontend/user_mark_shapes.hpp')
-rw-r--r-- | drape_frontend/user_mark_shapes.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drape_frontend/user_mark_shapes.hpp b/drape_frontend/user_mark_shapes.hpp index 51534d8a08..38ca36b7e1 100644 --- a/drape_frontend/user_mark_shapes.hpp +++ b/drape_frontend/user_mark_shapes.hpp @@ -8,6 +8,7 @@ #include "geometry/spline.hpp" +#include <limits> #include <memory> #include <unordered_map> @@ -38,6 +39,7 @@ struct UserMarkRenderParams bool m_hasCreationAnimation = false; bool m_justCreated = false; bool m_isVisible = true; + int m_autoVisibleMinZoom = std::numeric_limits<int>::max(); FeatureID m_featureId; bool m_isMarkAboveText = false; }; |