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

Method GetCurrentPosition

libs/map/framework.cpp:3211–3217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3209}
3210
3211std::optional<m2::PointD> Framework::GetCurrentPosition() const
3212{
3213 auto const & myPosMark = GetBookmarkManager().MyPositionMark();
3214 if (!myPosMark.HasPosition())
3215 return {};
3216 return myPosMark.GetPivot();
3217}
3218
3219bool Framework::ParseSearchQueryCommand(search::SearchParams const & params)
3220{

Callers 7

GetDistanceMethod · 0.45
OnViewportChangedMethod · 0.45
SearchEverywhereMethod · 0.45
SearchInViewportMethod · 0.45
SearchInDownloaderMethod · 0.45
SearchInBookmarksMethod · 0.45
PokeSearchInViewportMethod · 0.45

Calls 2

HasPositionMethod · 0.80
GetPivotMethod · 0.45

Tested by

no test coverage detected