forked from organicmaps/organicmaps
[map] check for point styles for polygons
This commit is contained in:
parent
befbad70ef
commit
370e81d73e
2 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,7 @@ namespace di
|
|||
return;
|
||||
|
||||
m_hasLineStyles = false;
|
||||
m_hasPointStyles = false;
|
||||
|
||||
m_geometryType = type.first;
|
||||
m_isCoastline = type.second;
|
||||
|
@ -142,6 +143,11 @@ namespace di
|
|||
if (keys[i].m_type == drule::symbol)
|
||||
hasIcon = true;
|
||||
|
||||
if ((keys[i].m_type == drule::caption && !m_primaryText.empty())
|
||||
|| (keys[i].m_type == drule::symbol)
|
||||
|| (keys[i].m_type == drule::circle))
|
||||
m_hasPointStyles = true;
|
||||
|
||||
if ((keys[i].m_type == drule::caption)
|
||||
|| (keys[i].m_type == drule::symbol)
|
||||
|| (keys[i].m_type == drule::circle)
|
||||
|
|
|
@ -50,6 +50,7 @@ namespace di
|
|||
|
||||
bool m_isCoastline;
|
||||
bool m_hasLineStyles;
|
||||
bool m_hasPointStyles;
|
||||
bool m_hasPathText;
|
||||
int m_geometryType;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue