| 57 | } |
| 58 | |
| 59 | ColoredMarkPoint::ColoredMarkPoint(m2::PointD const & ptOrg) : UserMark(ptOrg, UserMark::Type::COLORED) |
| 60 | { |
| 61 | auto const vs = static_cast<float>(df::VisualParams::Instance().GetVisualScale()); |
| 62 | |
| 63 | df::ColoredSymbolViewParams params; |
| 64 | params.m_outlineColor = dp::Color::White(); |
| 65 | params.m_outlineWidth = 1.5f * vs; |
| 66 | params.m_radiusInPixels = 7.0f * vs; |
| 67 | params.m_color = dp::Color::Green(); |
| 68 | m_coloredSymbols.m_needOverlay = false; |
| 69 | m_coloredSymbols.m_zoomInfo.insert(std::make_pair(1, params)); |
| 70 | } |
| 71 | |
| 72 | void ColoredMarkPoint::SetColor(dp::Color const & color) |
| 73 | { |
nothing calls this directly
no test coverage detected