forked from organicmaps/organicmaps
Minor fixes.
This commit is contained in:
parent
d0793c5615
commit
9d7d305e4f
3 changed files with 3 additions and 2 deletions
|
@ -537,6 +537,8 @@ bool CarRouter::FindSingleRouteDispatcher(FeatureGraphNode const & source, Featu
|
|||
else
|
||||
{
|
||||
// OSRM Routing
|
||||
// @TODO This branch is implemented to support old maps with osrm section. When osrm
|
||||
// section is not supported this branch should be removed.
|
||||
vector<Junction> mwmRouteGeometry;
|
||||
Route::TTurns mwmTurns;
|
||||
Route::TTimes mwmTimes;
|
||||
|
|
|
@ -316,7 +316,7 @@ unique_ptr<RoadGraphRouter> CreateCarAStarBidirectionalRouter(Index & index, TCo
|
|||
{
|
||||
unique_ptr<IVehicleModelFactory> vehicleModelFactory = make_unique<CarModelFactory>();
|
||||
unique_ptr<IRoutingAlgorithm> algorithm = make_unique<AStarBidirectionalRoutingAlgorithm>();
|
||||
// @TODO Bycycle turn generation engine is used now. It's ok for the time being.
|
||||
// @TODO Bicycle turn generation engine is used now. It's ok for the time being.
|
||||
// But later a special car turn generation engine should be implemented.
|
||||
unique_ptr<IDirectionsEngine> directionsEngine = make_unique<BicycleDirectionsEngine>(index);
|
||||
unique_ptr<RoadGraphRouter> router = make_unique<RoadGraphRouter>(
|
||||
|
|
|
@ -56,6 +56,5 @@ private:
|
|||
unique_ptr<IRouter> CreatePedestrianAStarRouter(Index & index, TCountryFileFn const & countryFileFn);
|
||||
unique_ptr<IRouter> CreatePedestrianAStarBidirectionalRouter(Index & index, TCountryFileFn const & countryFileFn);
|
||||
unique_ptr<IRouter> CreateBicycleAStarBidirectionalRouter(Index & index, TCountryFileFn const & countryFileFn);
|
||||
|
||||
unique_ptr<RoadGraphRouter> CreateCarAStarBidirectionalRouter(Index & index, TCountryFileFn const & countryFileFn);
|
||||
} // namespace routing
|
||||
|
|
Loading…
Add table
Reference in a new issue