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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-07-04 14:00:25 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2018-07-20 14:51:41 +0300
commit00da2f0826c5ef90dc72f9874d05d0b46ebb27f5 (patch)
tree16783bdaf6cac5f9353ca359ed7b73954daf55e7 /drape/overlay_tree.hpp
parentc3191975331f85d0789f7037f280303bce48becb (diff)
Check min visible scale of overlays when build the overlay tree.
Diffstat (limited to 'drape/overlay_tree.hpp')
-rw-r--r--drape/overlay_tree.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drape/overlay_tree.hpp b/drape/overlay_tree.hpp
index 91a9887a1a..2d94bfd7b6 100644
--- a/drape/overlay_tree.hpp
+++ b/drape/overlay_tree.hpp
@@ -64,7 +64,7 @@ public:
bool Frame();
bool IsNeedUpdate() const;
- void StartOverlayPlacing(ScreenBase const & screen);
+ void StartOverlayPlacing(ScreenBase const & screen, int zoomLevel);
void Add(ref_ptr<OverlayHandle> handle);
void Remove(ref_ptr<OverlayHandle> handle);
void EndOverlayPlacing();
@@ -117,5 +117,6 @@ private:
HandlesCache m_displacers;
uint32_t m_frameUpdatePeriod;
+ int m_zoomLevel = 1;
};
} // namespace dp