diff options
author | vng <viktor.govako@gmail.com> | 2012-09-24 17:27:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:41 +0300 |
commit | b4952df726bd2b7e020739f3746b73c088c68983 (patch) | |
tree | fe3ed5530d6e2e9859c7fb1e8e544b169f0dc52f /map/address_finder.cpp | |
parent | e8bd221f5e7dafc95099a952ba044ac2968b3624 (diff) |
Get AddressInfo for feature with visible texts or symbols.
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 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); } |