Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-09-24 17:27:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:43:41 +0300
commitb4952df726bd2b7e020739f3746b73c088c68983 (patch)
treefe3ed5530d6e2e9859c7fb1e8e544b169f0dc52f /map/address_finder.cpp
parente8bd221f5e7dafc95099a952ba044ac2968b3624 (diff)
Get AddressInfo for feature with visible texts or symbols.
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r--map/address_finder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp
index 3337259333..ab1e72e533 100644
--- a/map/address_finder.cpp
+++ b/map/address_finder.cpp
@@ -316,8 +316,9 @@ namespace
virtual double NeedProcess(feature::TypesHolder const & types) const
{
+ using namespace feature;
// we need features with texts for address lookup
- pair<int, int> const r = feature::GetDrawableScaleRangeForText(types);
+ pair<int, int> const r = GetDrawableScaleRangeForRules(types, RULE_TEXT | RULE_SYMBOL);
return my::between_s(r.first, r.second, m_scale);
}