| 383 | } |
| 384 | |
| 385 | RouteMarkPoint const * RoutePointsLayout::GetMyPositionPoint() const |
| 386 | { |
| 387 | for (auto markId : m_manager.GetUserMarkIds(UserMark::Type::ROUTING)) |
| 388 | { |
| 389 | auto const * mark = m_manager.GetMark<RouteMarkPoint>(markId); |
| 390 | if (mark->IsMyPosition()) |
| 391 | return mark; |
| 392 | } |
| 393 | return nullptr; |
| 394 | } |
| 395 | |
| 396 | std::vector<RouteMarkPoint *> RoutePointsLayout::GetRoutePoints() |
| 397 | { |
no test coverage detected