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

Method ResetTrackInfoMark

libs/map/bookmark_manager.cpp:996–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994}
995
996void BookmarkManager::ResetTrackInfoMark(kml::TrackId trackId)
997{
998 auto trackInfoMark = GetMarkForEdit<TrackInfoMark>(m_trackInfoMarkId);
999 if (trackInfoMark->GetTrackId() == trackId)
1000 {
1001 trackInfoMark->SetPosition(m2::PointD::Zero());
1002 trackInfoMark->SetIsVisible(false);
1003 trackInfoMark->SetTrackId(kml::kInvalidTrackId);
1004 }
1005}
1006
1007void BookmarkManager::SetTrackSelectionInfo(Track::TrackSelectionInfo const & trackSelectionInfo, bool notifyListeners)
1008{

Callers

nothing calls this directly

Calls 5

ZeroFunction · 0.85
GetTrackIdMethod · 0.45
SetPositionMethod · 0.45
SetIsVisibleMethod · 0.45
SetTrackIdMethod · 0.45

Tested by

no test coverage detected