From 3b4bde668da7afdc68c1055081040174f04ee69d Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 28 Jul 2011 08:01:34 +0300 Subject: [PATCH] [search] Temporary change to search in viewport only --- search/query.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/search/query.cpp b/search/query.cpp index 12ef84b50d..6a04876ede 100644 --- a/search/query.cpp +++ b/search/query.cpp @@ -241,9 +241,9 @@ void Query::Search(function const & f) try { m_pIndex->ForEachInRect(featureProcessor, - m2::RectD(MercatorBounds::minX, MercatorBounds::minY, - MercatorBounds::maxX, MercatorBounds::maxY), - // m_viewport, + //m2::RectD(MercatorBounds::minX, MercatorBounds::minY, + // MercatorBounds::maxX, MercatorBounds::maxY), + m_viewport, scales::GetUpperWorldScale()); } catch (FeatureProcessor::StopException &)