diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-10-08 19:57:33 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:25:40 +0300 |
commit | 15d30304a143fac8f0f670e86026f09875dea144 (patch) | |
tree | 2ffe937f3e831a1916c5e54237a01a97ce88cdcd /map/navigator.hpp | |
parent | c08a25cd6a99a73fe772493f5a97e3021d5676ae (diff) |
turned on Screen rotation in TilingRenderPolicyMT.
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index ad6a04cfb7..c7802736d7 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -61,6 +61,7 @@ public: // Do appropriate coordinate axes swapping according to orientation m2::PointD const OrientPoint(m2::PointD const & pt) const; + void SetSupportRotation(bool flag); private: @@ -102,6 +103,8 @@ private: bool m_InAction; // Device orientation EOrientation m_orientation; + // Does Navigator supports screen rotation. + bool m_doSupportRotation; // Used in DoScale and ScaleByPoint bool ScaleImpl(m2::PointD const & newPt1, m2::PointD const & newPt2, m2::PointD const & oldPt1, m2::PointD const & oldPt2, bool skipMaxScaleAndBordersCheck); }; |