remove remnants of hinting mechanism

This commit is contained in:
Dennis Luxen
2015-01-02 17:10:47 +01:00
parent 9722f56be8
commit 7de428233e
4 changed files with 8 additions and 24 deletions
-12
View File
@@ -57,8 +57,6 @@ class HelloWorldPlugin final : public BasePlugin
temp_string = cast::integral_to_string(routeParameters.zoom_level);
json_result.values["zoom_level"] = temp_string;
temp_string = cast::integral_to_string(routeParameters.check_sum);
json_result.values["check_sum"] = temp_string;
json_result.values["instructions"] = (routeParameters.print_instructions ? "yes" : "no");
json_result.values["geometry"] = (routeParameters.geometry ? "yes" : "no");
json_result.values["compression"] = (routeParameters.compression ? "yes" : "no");
@@ -86,16 +84,6 @@ class HelloWorldPlugin final : public BasePlugin
++counter;
}
json_result.values["locations"] = json_locations;
json_result.values["hint_count"] = routeParameters.hints.size();
JSON::Array json_hints;
counter = 0;
for (const std::string &current_hint : routeParameters.hints)
{
json_hints.values.push_back(current_hint);
++counter;
}
json_result.values["hints"] = json_hints;
JSON::render(reply.content, json_result);
}