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

Method BuildTrackPlacePage

libs/map/framework.cpp:2170–2176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2168}
2169
2170void Framework::BuildTrackPlacePage(Track::TrackSelectionInfo const & trackSelectionInfo, place_page::Info & info)
2171{
2172 info.SetSelectedObject(df::SelectionShape::OBJECT_TRACK);
2173 auto const & track = *GetBookmarkManager().GetTrack(trackSelectionInfo.m_trackId);
2174 FillTrackInfo(track, trackSelectionInfo.m_trackPoint, info);
2175 GetBookmarkManager().SetTrackSelectionInfo(trackSelectionInfo, true /* notifyListeners */);
2176}
2177
2178place_page::Info Framework::BuildPlacePageInfo(place_page::BuildInfo const & buildInfo)
2179{

Callers

nothing calls this directly

Calls 3

SetSelectedObjectMethod · 0.80
GetTrackMethod · 0.80
SetTrackSelectionInfoMethod · 0.80

Tested by

no test coverage detected