osrm-backend/include/engine/guidance/route_leg.hpp
Patrick Niklaus da6dbd2159
Revert "Removes summary from legs property"
This adds the summary back to the RouteLeg, it now depends on if
`steps=true`.
This reverts commit eaf9993dd9.
2016-04-21 22:39:16 +02:00

30 lines
350 B
C++

#ifndef ROUTE_LEG_HPP
#define ROUTE_LEG_HPP
#include "engine/guidance/route_step.hpp"
#include <boost/optional.hpp>
#include <string>
#include <vector>
namespace osrm
{
namespace engine
{
namespace guidance
{
struct RouteLeg
{
double duration;
double distance;
std::string summary;
std::vector<RouteStep> steps;
};
}
}
}
#endif