Changing names of routes according to @DennisSchiefer's suggestions.

This commit is contained in:
DennisOSRM 2012-09-17 10:24:50 +02:00
parent 837e91f56d
commit 7965e29d49

View File

@ -187,12 +187,12 @@ public:
RouteNames routeNames;
GetRouteNames(shortestSegments, alternativeSegments, sEngine, routeNames);
reply.content += "\"route_names\":[\"";
reply.content += "\"route_name\":[\"";
reply.content += routeNames.shortestPathName1;
reply.content += "\",\"";
reply.content += routeNames.shortestPathName2;
reply.content += "\"],"
"\"alternative_route_names\":[";
"\"alternative_names\":[";
reply.content += "[\"";
reply.content += routeNames.alternativePathName1;
reply.content += "\",\"";