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:
authorIgor Khmurets <subzero@mapswithme.com>2014-03-12 20:04:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:37 +0300
commit6f4dd2d12c58e46b374aa22fa92872f32fac2b98 (patch)
tree1170708d03b4f2341473b36e959408d6ab4d540d /map/navigator.hpp
parent5f70ce2e6751ff763cbea7bb1c81c68de342c10e (diff)
[core] Added viewport centering animation
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r--map/navigator.hpp2
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();