| 1255 | } |
| 1256 | |
| 1257 | void RoutingManager::MatchLocationToRoute(location::GpsInfo & location, location::RouteMatchingInfo & routeMatchingInfo) |
| 1258 | { |
| 1259 | if (!IsRoutingActive()) |
| 1260 | return; |
| 1261 | |
| 1262 | bool const matchedToRoute = m_routingSession.MatchLocationToRoute(location, routeMatchingInfo); |
| 1263 | |
| 1264 | if (!matchedToRoute && m_currentRouterType == RouterType::Vehicle) |
| 1265 | m_routingSession.MatchLocationToRoadGraph(location); |
| 1266 | } |
| 1267 | |
| 1268 | location::RouteMatchingInfo RoutingManager::GetRouteMatchingInfo(location::GpsInfo & info) |
| 1269 | { |
nothing calls this directly
no test coverage detected