summaryrefslogtreecommitdiff
path: root/src/mbgl/map/live_tile_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/live_tile_data.hpp')
-rw-r--r--src/mbgl/map/live_tile_data.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mbgl/map/live_tile_data.hpp b/src/mbgl/map/live_tile_data.hpp
new file mode 100644
index 0000000000..11530ef847
--- /dev/null
+++ b/src/mbgl/map/live_tile_data.hpp
@@ -0,0 +1,32 @@
+#ifndef MBGL_MAP_LIVE_TILE_DATA
+#define MBGL_MAP_LIVE_TILE_DATA
+
+#include <mbgl/map/vector_tile_data.hpp>
+
+namespace mbgl {
+
+class AnnotationManager;
+
+class LiveTileData : public VectorTileData {
+public:
+ LiveTileData(Tile::ID const&,
+ util::ptr<AnnotationManager>,
+ float mapMaxZoom,
+ util::ptr<Style>,
+ GlyphAtlas&,
+ GlyphStore&,
+ SpriteAtlas&,
+ util::ptr<Sprite>,
+ const SourceInfo&,
+ Environment&);
+ ~LiveTileData();
+
+ void parse() override;
+
+private:
+ util::ptr<AnnotationManager> annotationManager;
+};
+
+}
+
+#endif