Files
MapLibreParticleLab/include/llmr/map/raster_tile_data.hpp
Konstantin Käfer ba4294ae0c saving current state
2014-06-23 18:05:25 +02:00

29 lines
568 B
C++

#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, std::shared_ptr<StyleLayer> layer_desc);
virtual bool hasData(std::shared_ptr<StyleLayer> layer_desc) const;
protected:
RasterBucket bucket;
};
}
#endif