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

Method CreateBookmark

libs/map/bookmark_manager.cpp:312–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312Bookmark * BookmarkManager::CreateBookmark(kml::BookmarkData && bmData)
313{
314 CHECK_THREAD_CHECKER(m_threadChecker, ());
315 return AddBookmark(std::make_unique<Bookmark>(std::move(bmData)));
316}
317
318Bookmark * BookmarkManager::CreateBookmark(kml::BookmarkData && bmData, kml::MarkGroupId groupId)
319{

Calls 11

AttachUserMarkMethod · 0.80
OnAttachBookmarkMethod · 0.80
GetZoomLevelFunction · 0.50
CreateBookmarkFunction · 0.50
SetIsVisibleMethod · 0.45
GetGroupIdMethod · 0.45
DetachMethod · 0.45
GetScaleMethod · 0.45
AttachMethod · 0.45
GetIdMethod · 0.45
GetDataMethod · 0.45

Tested by 2

UNIT_TESTFunction · 0.64
UNIT_CLASS_TESTFunction · 0.64