blob: f84b540d48c82187cbc183fca29a3c4e7cebe462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#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
|