Preliminary integration of the tile plugin

This commit is contained in:
Patrick Niklaus
2016-03-02 18:26:44 +01:00
parent 712f1ca02a
commit 36f9366f3f
5 changed files with 440 additions and 410 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef ENGINE_API_TILE_PARAMETERS_HPP
#define ENGINE_API_TILE_PARAMETERS_HPP
namespace osrm
{
namespace engine
{
namespace api
{
struct TileParameters final
{
unsigned x;
unsigned y;
unsigned z;
// FIXME check if x and y work with z
bool IsValid()
{
return z < 20;
};
};
}
}
}
#endif