diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-08-16 13:49:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:42:07 +0300 |
commit | a164270834a7d3d056f7a237a51da15621b18e07 (patch) | |
tree | 483cc7cb643d0160a31f3e02acf8edb853854609 /map/navigator.hpp | |
parent | 96c0658a68e29d7b6671291c3c28b35dbd7d6086 (diff) |
moved location handling from Framework into location::State and added "follow compass" mode.
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index 15f6cc0006..a4142d13f5 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -41,6 +41,7 @@ public: void DoScale(m2::PointD const & org, m2::PointD const & p1, m2::PointD const & p2); void DoScale(m2::PointD const & pt1, m2::PointD const & pt2, double timeInSec); void StopScale(m2::PointD const & pt1, m2::PointD const & pt2, double timeInSec); + bool IsRotatingDuringScale() const; void ScaleToPoint(m2::PointD const & pt, double factor, double timeInSec); @@ -54,8 +55,10 @@ public: bool InAction() const; + /// enabling/disabling screen rotation handling void SetSupportRotation(bool flag); - + /// checking, whether the navigator supports rotation + bool DoSupportRotation() const; /// Our surface is a square which is bigger than visible screen area on the device, /// so we should take it into an account m2::PointD ShiftPoint(m2::PointD const & pt) const; |