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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-10-25 00:17:11 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:26:43 +0300
commit5f8f2936716f0189947ebb0018c9818d30ff8345 (patch)
tree13f2031883fdb1c4fd1d691e9ac860ac42e394c0 /map/navigator.hpp
parent307617de4328a90a5ada1cc7411168ac22a8387f (diff)
Closes #367 - zooming errors
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r--map/navigator.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp
index d4ef3a393a..d2440e01b4 100644
--- a/map/navigator.hpp
+++ b/map/navigator.hpp
@@ -57,6 +57,10 @@ public:
void SetSupportRotation(bool flag);
+ /// 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;
+
private:
m2::RectD m_worldRect;