[traffic] Update routing MWMs as route changes

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-06-29 21:13:36 +03:00
parent b418cf659c
commit 9eeac05fdf
8 changed files with 183 additions and 38 deletions

View File

@@ -83,6 +83,13 @@ bool AsyncRouter::FindClosestProjectionToRoad(m2::PointD const & point,
return m_router->FindClosestProjectionToRoad(point, direction, radius, proj);
}
void AsyncRouter::GetAllRegions(std::set<std::string> & countries)
{
if (!m_absentRegionsFinder)
return;
m_absentRegionsFinder->GetAllRegions(countries);
}
void AsyncRouter::RouterDelegateProxy::OnProgress(float progress)
{
ProgressCallback onProgress = nullptr;