diff options
-rw-r--r-- | map/drawer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/map/drawer.cpp b/map/drawer.cpp index 42fe4377a6..eb4fe4938d 100644 --- a/map/drawer.cpp +++ b/map/drawer.cpp @@ -347,14 +347,16 @@ void Drawer::Draw(di::FeatureInfo const & fi) if (isArea) { bool const isFill = pRule->GetArea() != 0; - bool const hasSym = hasSymbol && ((pRule->GetType() & drule::way) != 0); + bool const isWay = (pRule->GetType() & drule::way) != 0; for (list<di::AreaInfo>::const_iterator i = fi.m_areas.begin(); i != fi.m_areas.end(); ++i) { if (isFill) drawArea(*i, di::DrawRule(pRule, depth, false)); - else if (hasSym) + else if (hasSymbol && !isWay) drawSymbol(i->GetCenter(), graphics::EPosCenter, di::DrawRule(pRule, depth, false), id); + else if (isCircle && !isWay) + drawCircle(i->GetCenter(), graphics::EPosCenter, di::DrawRule(pRule, depth, false), id); } } |