forked from organicmaps/organicmaps
Show track method added to framework
This commit is contained in:
parent
957e632986
commit
52e38e81ae
2 changed files with 7 additions and 0 deletions
|
@ -473,6 +473,12 @@ void Framework::ShowBookmark(BookmarkAndCategory bnc)
|
|||
ShowRectExVisibleScale(m_scales.GetRectForDrawScale(scale, bmk->GetOrg()));
|
||||
}
|
||||
|
||||
void Framework::ShowTrack(Track const & track)
|
||||
{
|
||||
StopLocationFollow();
|
||||
ShowRectEx(track.GetLimitRect());
|
||||
}
|
||||
|
||||
void Framework::ClearBookmarks()
|
||||
{
|
||||
m_bmManager.ClearItems();
|
||||
|
|
|
@ -206,6 +206,7 @@ public:
|
|||
//@}
|
||||
|
||||
void ShowBookmark(BookmarkAndCategory bnc);
|
||||
void ShowTrack(Track const & track);
|
||||
|
||||
void ClearBookmarks();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue