Include turn information in debug tiles.
This commit is contained in:
committed by
Moritz Kobitzsch
parent
6290aeea93
commit
14e7460465
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "engine/api/tile_parameters.hpp"
|
||||
#include "engine/plugins/plugin_base.hpp"
|
||||
#include "engine/routing_algorithms/routing_base.hpp"
|
||||
#include "engine/routing_algorithms/shortest_path.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -23,8 +25,13 @@ namespace plugins
|
||||
|
||||
class TilePlugin final : public BasePlugin
|
||||
{
|
||||
private:
|
||||
routing_algorithms::BasicRoutingInterface<
|
||||
datafacade::BaseDataFacade,
|
||||
routing_algorithms::ShortestPathRouting<datafacade::BaseDataFacade>> routing_base;
|
||||
|
||||
public:
|
||||
TilePlugin(datafacade::BaseDataFacade &facade) : BasePlugin(facade) {}
|
||||
TilePlugin(datafacade::BaseDataFacade &facade) : BasePlugin(facade), routing_base(&facade) {}
|
||||
|
||||
Status HandleRequest(const api::TileParameters ¶meters, std::string &pbf_buffer);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user