Changing names of routes according to @DennisSchiefer's suggestions.
This commit is contained in:
parent
837e91f56d
commit
7965e29d49
@ -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 += "\",\"";
|
||||
|
Loading…
Reference in New Issue
Block a user