MCPcopy Create free account
hub / github.com/comaps/comaps / GetElevationMyPosition

Method GetElevationMyPosition

libs/map/bookmark_manager.cpp:851–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851double BookmarkManager::GetElevationMyPosition(kml::TrackId const & trackId) const
852{
853 CHECK_THREAD_CHECKER(m_threadChecker, ());
854
855 auto const markId = GetTrackSelectionMarkId(trackId);
856 CHECK(markId != kml::kInvalidMarkId, ());
857
858 auto const trackSelectionMark = GetMark<TrackSelectionMark>(markId);
859 return trackSelectionMark->GetMyPositionDistance();
860}
861
862void BookmarkManager::SetElevationMyPositionChangedCallback(ElevationMyPositionChangedCallback const & cb)
863{

Calls 1

GetMyPositionDistanceMethod · 0.80

Tested by

no test coverage detected