forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
58102f1aea
commit
510dd77e47
1 changed files with 6 additions and 5 deletions
|
@ -192,11 +192,12 @@ void RuleDrawer::operator()(FeatureType const & f)
|
|||
}
|
||||
|
||||
bool applyPointStyle = s.PointStyleExists();
|
||||
|
||||
if (applyPointStyle && !is3dBuilding)
|
||||
featureCenter = feature::GetCenter(f, zoomLevel);
|
||||
|
||||
applyPointStyle &= m_globalRect.IsPointInside(featureCenter);
|
||||
if (applyPointStyle)
|
||||
{
|
||||
if (!is3dBuilding)
|
||||
featureCenter = feature::GetCenter(f, zoomLevel);
|
||||
applyPointStyle = m_globalRect.IsPointInside(featureCenter);
|
||||
}
|
||||
|
||||
if (applyPointStyle || is3dBuilding)
|
||||
minVisibleScale = feature::GetMinDrawableScale(f);
|
||||
|
|
Loading…
Add table
Reference in a new issue