diff --git a/map/navigator.cpp b/map/navigator.cpp index 38a0a490d4..98b2953d76 100644 --- a/map/navigator.cpp +++ b/map/navigator.cpp @@ -157,8 +157,10 @@ namespace bool CheckMaxScale(ScreenBase const & screen) { m2::RectD const r = screen.GlobalRect(); - return ((r.SizeX() <= (MercatorBounds::maxX - MercatorBounds::minX)) || - (r.SizeY() <= (MercatorBounds::maxY - MercatorBounds::minY))); + + // multiple by 2 to allow scale on zero level + double const maxSize = 2.0 * (MercatorBounds::maxX - MercatorBounds::minX); + return (r.SizeX() <= maxSize || r.SizeY() <= maxSize); } }