forked from organicmaps/organicmaps
Fixed routing.
Signed-off-by: vng <viktor.govako@gmail.com>
This commit is contained in:
parent
1bc11bf132
commit
8610d5f228
2 changed files with 0 additions and 13 deletions
|
@ -1046,8 +1046,6 @@ void RoutingManager::BuildRoute(uint32_t timeoutSec)
|
|||
}
|
||||
}
|
||||
|
||||
CallRouteBuildStart(routePoints);
|
||||
|
||||
if (IsRoutingActive())
|
||||
CloseRouting(false /* remove route points */);
|
||||
|
||||
|
@ -1127,11 +1125,6 @@ void RoutingManager::ConfigureArchivalReporter(tracking::ArchivingSettings const
|
|||
m_trackingReporterArchive.SetArchivalManagerSettings(settings);
|
||||
}
|
||||
|
||||
void RoutingManager::CallRouteBuildStart(std::vector<RouteMarkData> const & points)
|
||||
{
|
||||
m_routingStartBuildCallback(points);
|
||||
}
|
||||
|
||||
void RoutingManager::MatchLocationToRoute(location::GpsInfo & location,
|
||||
location::RouteMatchingInfo & routeMatchingInfo)
|
||||
{
|
||||
|
|
|
@ -165,10 +165,6 @@ public:
|
|||
m_routeSpeedCamsClearCallback = speedCamsClearCallback;
|
||||
}
|
||||
|
||||
void SetRouteStartBuildListener(RouteStartBuildCallback const & startBuildCallback)
|
||||
{
|
||||
m_routingStartBuildCallback = startBuildCallback;
|
||||
}
|
||||
/// See warning above.
|
||||
void SetRouteProgressListener(routing::ProgressCallback const & progressCallback)
|
||||
{
|
||||
|
@ -261,7 +257,6 @@ public:
|
|||
void OnRemoveRoute(routing::RouterResultCode code);
|
||||
void OnRoutePointPassed(RouteMarkType type, size_t intermediateIndex);
|
||||
void OnLocationUpdate(location::GpsInfo const & info);
|
||||
void CallRouteBuildStart(std::vector<RouteMarkData> const & points);
|
||||
void SetAllowSendingPoints(bool isAllowed)
|
||||
{
|
||||
m_trackingReporter.SetAllowSendingPoints(isAllowed);
|
||||
|
@ -379,7 +374,6 @@ private:
|
|||
RouteSpeedCamShowCallback m_routeSpeedCamShowCallback;
|
||||
RouteSpeedCamsClearCallback m_routeSpeedCamsClearCallback;
|
||||
RouteRecommendCallback m_routeRecommendCallback;
|
||||
RouteStartBuildCallback m_routingStartBuildCallback;
|
||||
Callbacks m_callbacks;
|
||||
df::DrapeEngineSafePtr m_drapeEngine;
|
||||
routing::RouterType m_currentRouterType = routing::RouterType::Count;
|
||||
|
|
Loading…
Add table
Reference in a new issue