diff options
author | Igor Khmurets <subzero@mapswithme.com> | 2014-03-12 20:04:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:12:37 +0300 |
commit | 6f4dd2d12c58e46b374aa22fa92872f32fac2b98 (patch) | |
tree | 1170708d03b4f2341473b36e959408d6ab4d540d /map/navigator.hpp | |
parent | 5f70ce2e6751ff763cbea7bb1c81c68de342c10e (diff) |
[core] Added viewport centering animation
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index bbb2030092..028517ab1e 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -16,6 +16,8 @@ public: void CenterViewport(m2::PointD const & p); void SetFromRects(m2::AnyRectD const & glbRect, m2::RectD const & pxRect); + double ComputeMoveSpeed(m2::PointD const & p0, m2::PointD const & p1) const; + void SaveState(); /// @return false if can't load previously saved values bool LoadState(); |