mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
[core] Support geo-navigation URL
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user