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

Method SubmitBookmark

qt/draw_widget.cpp:606–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606void DrawWidget::SubmitBookmark(m2::PointD const & pt)
607{
608 auto & manager = m_framework.GetBookmarkManager();
609
610 kml::BookmarkData data;
611 data.m_color.m_predefinedColor = kml::PredefinedColor::Red;
612 data.m_point = m_framework.P3dtoG(pt);
613 manager.GetEditSession().CreateBookmark(std::move(data), manager.LastEditedBMCategory());
614}
615
616void DrawWidget::FollowRoute()
617{

Callers

nothing calls this directly

Calls 4

P3dtoGMethod · 0.80
CreateBookmarkMethod · 0.80
GetEditSessionMethod · 0.80
LastEditedBMCategoryMethod · 0.45

Tested by

no test coverage detected