forked from organicmaps/organicmaps
[search] Do not call MatchAroundPivot for MwmType::MatchedCity: LimitedSearch already called from MatchRegions.
This commit is contained in:
parent
59de76a3f8
commit
445e4715f4
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ void Geocoder::GoImpl(vector<shared_ptr<MwmInfo>> const & infos, bool inViewport
|
|||
{
|
||||
MatchRegions(ctx, Region::TYPE_COUNTRY);
|
||||
|
||||
if (mwmType.IsFirstBatchMwm(inViewport) || m_preRanker.NumSentResults() == 0)
|
||||
if (mwmType.m_viewportIntersect || mwmType.m_userPosition || m_preRanker.NumSentResults() == 0)
|
||||
{
|
||||
MatchAroundPivot(ctx);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue