summaryrefslogtreecommitdiff
path: root/include/mbgl/map/vector_tile_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/map/vector_tile_data.hpp')
-rw-r--r--include/mbgl/map/vector_tile_data.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/mbgl/map/vector_tile_data.hpp b/include/mbgl/map/vector_tile_data.hpp
index 9de666c84f..9f611fd69c 100644
--- a/include/mbgl/map/vector_tile_data.hpp
+++ b/include/mbgl/map/vector_tile_data.hpp
@@ -28,12 +28,9 @@ class VectorTileData : public TileData {
public:
VectorTileData(Tile::ID id, Map &map, const util::ptr<SourceInfo> &source);
~VectorTileData();
-
- virtual void beforeParse();
virtual void parse();
- virtual void afterParse();
virtual void render(Painter &painter, util::ptr<StyleLayer> layer_desc, const mat4 &matrix);
- virtual bool hasData(util::ptr<StyleLayer> layer_desc) const;
+ virtual bool hasData(StyleLayer const& layer_desc) const;
protected:
// Holds the actual geometries in this tile.
@@ -49,9 +46,6 @@ protected:
// Holds the buckets of this tile.
// They contain the location offsets in the buffers stored above
std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets;
-
- std::unique_ptr<TileParser> parser;
-
public:
const float depth;
};