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

Method FollowRoute

libs/map/routing_manager.cpp:869–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

867}
868
869void RoutingManager::FollowRoute()
870{
871 if (!m_routingSession.EnableFollowMode())
872 return;
873
874 m_transitReadManager->BlockTransitSchemeMode(true /* isBlocked */);
875
876 m_delegate.OnRouteFollow(m_currentRouterType);
877
878 m_bmManager->GetEditSession().ClearGroup(UserMark::Type::ROAD_WARNING);
879 HideRoutePoint(RouteMarkType::Start);
880 SetPointsFollowingMode(true /* enabled */);
881
882 CancelRecommendation(Recommendation::RebuildAfterPointsLoading);
883}
884
885void RoutingManager::CloseRouting(bool removeRoutePoints)
886{

Callers 1

OnRouteFollowMethod · 0.45

Calls 5

EnableFollowModeMethod · 0.80
OnRouteFollowMethod · 0.80
ClearGroupMethod · 0.80
GetEditSessionMethod · 0.80

Tested by

no test coverage detected