forked from organicmaps/organicmaps-tmp
iproved check for caption
This commit is contained in:
parent
c057ee9ee9
commit
addb026787
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ void ApplyPointFeature::ProcessRule(Stylist::rule_wrapper_t const & rule)
|
|||
params.m_secondaryText = m_secondaryText;
|
||||
params.m_secondaryTextFont = auxDecl;
|
||||
}
|
||||
if(!params.m_primaryText.empty())
|
||||
if(!params.m_primaryText.empty() && !params.m_secondaryText.empty())
|
||||
m_context.InsertShape(m_tileKey, MovePointer<MapShape>(new TextShape(m_centerPoint, params)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue