diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2015-01-23 19:16:35 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:03:59 +0300 |
commit | 66d91af035b665debf3b5d55453b13c4d2efd695 (patch) | |
tree | dc19daa7ed506f29cbb0e56c10e4fbd0f521c225 /map/address_finder.cpp | |
parent | efb53ac0f91c7ffb2254b5d5a0d363a5a723e32c (diff) |
[drape] build android with drape
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r-- | map/address_finder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp index 07c6950292..8d340122c6 100644 --- a/map/address_finder.cpp +++ b/map/address_finder.cpp @@ -1,6 +1,7 @@ #include "map/framework.hpp" #include "search/result.hpp" +#include "drape_frontend/visual_params.hpp" #include "indexer/classificator.hpp" #include "indexer/feature_visibility.hpp" @@ -164,7 +165,7 @@ namespace void Framework::GetFeatureTypes(m2::PointD const & pxPoint, vector<string> & types) const { m2::AnyRectD rect; - m_navigator.GetTouchRect(pxPoint, TOUCH_PIXEL_RADIUS * GetVisualScale(), rect); + m_navigator.GetTouchRect(pxPoint, TOUCH_PIXEL_RADIUS * df::VisualParams::Instance().GetVisualScale(), rect); // This scale should fit in geometry scales range. int const scale = min(GetDrawScale(), scales::GetUpperScale()); |