forked from organicmaps/organicmaps
Removed text filtration to avoid overhead. World.mwm data now is OK.
This commit is contained in:
parent
46693a03f0
commit
3e1807e096
1 changed files with 5 additions and 3 deletions
|
@ -74,9 +74,11 @@ namespace di
|
|||
}
|
||||
|
||||
// Low zoom heuristics - don't show superlong names on World map.
|
||||
strings::UniString uniPrimary = strings::MakeUniString(m_primaryText);
|
||||
if (zoom <= 5 && uniPrimary.size() > 50)
|
||||
m_primaryText.clear();
|
||||
//if (zoom <= 5)
|
||||
//{
|
||||
// if (strings::MakeUniString(m_primaryText).size() > 50)
|
||||
// m_primaryText.clear();
|
||||
//}
|
||||
|
||||
string houseNumber = f.GetHouseNumber();
|
||||
bool const hasName = !m_primaryText.empty() || !houseNumber.empty();
|
||||
|
|
Loading…
Add table
Reference in a new issue