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

Function GetMark

libs/map/map_tests/bookmarks_test.cpp:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299UserMark const * GetMark(Framework & fm, m2::PointD const & pt)
300{
301 m2::AnyRectD rect;
302 fm.GetTouchRect(fm.GtoP(pt), 20, rect);
303
304 return fm.GetBookmarkManager().FindNearestUserMark(rect);
305}
306
307Bookmark const * GetBookmark(Framework & fm, m2::PointD const & pt)
308{

Callers 3

FindMarkInRectMethod · 0.85
GetBookmarkFunction · 0.85
IsValidBookmarkFunction · 0.85

Calls 3

FindNearestUserMarkMethod · 0.80
GetTouchRectMethod · 0.45
GtoPMethod · 0.45

Tested by

no test coverage detected