Merge pull request #391 from mapsme/revert-380-styles_path_name

Revert "[styles] Do not draw international name for path"
This commit is contained in:
Konstantin Shalnev 2015-10-27 11:37:03 +03:00
commit 1846bcd40b

View file

@ -396,9 +396,11 @@ namespace di
string const FeatureStyler::GetPathName() const
{
if (!m_primaryText.empty())
// Always concat names for linear features because we process only one draw rule now.
if (m_secondaryText.empty())
return m_primaryText;
return m_secondaryText;
else
return m_primaryText + " " + m_secondaryText;
}
bool FeatureStyler::IsEmpty() const