diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-10-23 05:24:51 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:26:35 +0300 |
commit | bf559047229bf85e109d30b49ac7dd9d4b10a85f (patch) | |
tree | d3af6d4b3d0bc109aa2e876c16084f79ea162e4b /map/navigator.hpp | |
parent | 175ec47793aa169b2d237fee2ed2383971189679 (diff) |
Removed unnecessary device orientation support in framework.
[ios] Fixed orientation bug when map controller didn't receive orientation change event if another modal controller was on the top
@TODO [ios] Set correct angle in compass events using UIDeviceOrientationChanged notification
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index 865b496c09..d4ef3a393a 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -55,12 +55,6 @@ public: bool InAction() const; - void SetOrientation(EOrientation orientation); - EOrientation Orientation() const; - - // Do appropriate coordinate axes swapping according to orientation - m2::PointD const OrientPoint(m2::PointD const & pt) const; - void SetSupportRotation(bool flag); private: @@ -105,8 +99,6 @@ private: math::Matrix<float, 3, 3> m_DeltaMatrix; // Flag, which indicates, whether we are in the middle of some action. bool m_InAction; - // Device orientation - EOrientation m_orientation; // Does Navigator supports screen rotation. bool m_doSupportRotation; // Used in DoScale and ScaleByPoint |