diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-03-29 19:17:54 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:37:08 +0300 |
commit | 3f6e9d5d5b8475d76c1e09d7739cbcfe2101e465 (patch) | |
tree | c59d61919df98e35ad937420e8b877f82ff51152 /map/navigator.hpp | |
parent | 98507afbd62448a669db67f1bdbd94e67ec38186 (diff) |
correct function for zooming to specified scale level.
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index 45dd79077e..d1d156ed2a 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -15,6 +15,7 @@ public: void SetMinScreenParams(unsigned pxMinWidth, double metresMinWidth); void SetFromRect(m2::AnyRectD const & r); void CenterViewport(m2::PointD const & p); + void SetFromRects(m2::AnyRectD const & glbRect, m2::RectD const & pxRect); void SaveState(); /// @return false if can't load previously saved values |