| 867 | } |
| 868 | |
| 869 | void BookmarkManager::SetElevationActivePoint(kml::TrackId const & trackId, m2::PointD pt, double targetDistance) |
| 870 | { |
| 871 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 872 | |
| 873 | auto const track = GetTrack(trackId); |
| 874 | CHECK(track != nullptr, ()); |
| 875 | |
| 876 | SetTrackSelectionInfo({trackId, pt, targetDistance}, true /* notifyListeners */); |
| 877 | |
| 878 | m_drapeEngine.SafeCall(&df::DrapeEngine::SelectObject, df::SelectionShape::ESelectedObject::OBJECT_TRACK, pt, |
| 879 | FeatureID(), false /* isAnim */, false /* isGeometrySelectionAllowed */, |
| 880 | true /* isSelectionShapeVisible */); |
| 881 | } |
| 882 | |
| 883 | double BookmarkManager::GetElevationActivePoint(kml::TrackId const & trackId) const |
| 884 | { |
no test coverage detected