[core] Support geo-navigation URL

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-09-22 14:21:19 +00:00
committed by Yannik Bloscheck
parent c21afb27bd
commit 74122e2fae
9 changed files with 185 additions and 10 deletions

View File

@@ -470,10 +470,10 @@ void RoutingManager::OnLocationUpdate(location::GpsInfo const & info)
RouterType RoutingManager::GetBestRouter(m2::PointD const & startPoint, m2::PointD const & finalPoint) const
{
// todo Implement something more sophisticated here (or delete the method).
return GetLastUsedRouter();
return routing::GetLastUsedRouter();
}
RouterType RoutingManager::GetLastUsedRouter() const
RouterType routing::GetLastUsedRouter()
{
string routerTypeStr;
if (!settings::Get(kRouterTypeKey, routerTypeStr))