From c1ebe016e8e564506e706175bef0657f6dcc82fb Mon Sep 17 00:00:00 2001 From: Darafei Praliaskouski Date: Mon, 22 Jul 2013 16:43:13 +0300 Subject: [PATCH] [framework] set queryMaxScaleMode from parameter --- map/framework.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/map/framework.hpp b/map/framework.hpp index cfda9bb3c9..e81cd30325 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -322,6 +322,12 @@ public: Invalidate(true); } + inline void SetQueryMaxScaleMode(bool mode) + { + m_queryMaxScaleMode = mode; + Invalidate(true); + } + /// Get classificator types for nearest features. /// @param[in] pixPt Current touch point in device pixel coordinates. void GetFeatureTypes(m2::PointD pixPt, vector & types) const;