diff options
Diffstat (limited to 'include/llmr/map/raster_tile_data.hpp')
-rw-r--r-- | include/llmr/map/raster_tile_data.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/llmr/map/raster_tile_data.hpp b/include/llmr/map/raster_tile_data.hpp new file mode 100644 index 0000000000..33243334bc --- /dev/null +++ b/include/llmr/map/raster_tile_data.hpp @@ -0,0 +1,27 @@ +#ifndef LLMR_MAP_RASTER_TILE_DATA +#define LLMR_MAP_RASTER_TILE_DATA + +#include <llmr/map/tile_data.hpp> + +#include <llmr/renderer/raster_bucket.hpp> + + +namespace llmr { + +class RasterTileData : public TileData { + friend class TileParser; + +public: + RasterTileData(Tile::ID id, Map &map, const std::string url); + ~RasterTileData(); + + virtual void parse(); + virtual void render(Painter &painter, const LayerDescription& layer_desc); + +protected: + RasterBucket bucket; +}; + +} + +#endif |