diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-02-01 15:43:20 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-02-01 15:43:20 +0300 |
commit | 5013336567ac1c1d115745b99c471b17c2700ca6 (patch) | |
tree | 5700b066163d31e9eb37ae022f2305f37b9f819a /indexer/drawing_rules.cpp | |
parent | e487db8556bc8fc775f4cd6c452493f6a220c7b8 (diff) |
Added road shields rendering
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r-- | indexer/drawing_rules.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp index 774743528a..2a8d66dd9e 100644 --- a/indexer/drawing_rules.cpp +++ b/indexer/drawing_rules.cpp @@ -95,11 +95,6 @@ text_type_t BaseRule::GetCaptionTextType(int) const return text_type_name; } -CircleRuleProto const * BaseRule::GetCircle() const -{ - return 0; -} - ShieldRuleProto const * BaseRule::GetShield() const { return nullptr; @@ -295,15 +290,6 @@ namespace typedef CaptionT<CaptionRuleProto> Caption; typedef CaptionT<PathTextRuleProto> PathText; - class Circle : public BaseRule - { - CircleRuleProto m_circle; - public: - Circle(CircleRuleProto const & r) : m_circle(r) {} - - virtual CircleRuleProto const * GetCircle() const { return &m_circle; } - }; - class Shield : public BaseRule { ShieldRuleProto m_shield; @@ -444,9 +430,6 @@ namespace if (de.has_caption()) AddRule<Caption>(p, de.scale(), caption, de.caption(), apply_if); - if (de.has_circle()) - AddRule<Circle>(p, de.scale(), circle, de.circle(), apply_if); - if (de.has_path_text()) AddRule<PathText>(p, de.scale(), pathtext, de.path_text(), apply_if); |