From 3e1807e0961de99d95ba84554bd103eb6ab67fe7 Mon Sep 17 00:00:00 2001 From: vng Date: Wed, 13 Aug 2014 12:25:43 +0300 Subject: [PATCH] Removed text filtration to avoid overhead. World.mwm data now is OK. --- map/feature_styler.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/map/feature_styler.cpp b/map/feature_styler.cpp index f25c71a4d5..401f81aaf6 100644 --- a/map/feature_styler.cpp +++ b/map/feature_styler.cpp @@ -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();