summaryrefslogtreecommitdiff
path: root/src/mbgl/map/vector_tile_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/vector_tile_data.hpp')
-rw-r--r--src/mbgl/map/vector_tile_data.hpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mbgl/map/vector_tile_data.hpp b/src/mbgl/map/vector_tile_data.hpp
index b0b5ec6e89..3b73ded0ca 100644
--- a/src/mbgl/map/vector_tile_data.hpp
+++ b/src/mbgl/map/vector_tile_data.hpp
@@ -8,13 +8,10 @@
namespace mbgl {
-class SourceInfo;
-class Request;
-class Bucket;
-class SourceInfo;
-class StyleLayer;
class Style;
+class SourceInfo;
class WorkRequest;
+class Request;
class VectorTileData : public TileData {
public:
@@ -31,23 +28,20 @@ public:
void request(float pixelRatio,
const std::function<void()>& callback);
- virtual bool reparse(std::function<void ()> callback);
+ bool reparse(std::function<void ()> callback);
void redoPlacement(float angle, bool collisionDebug) override;
void cancel() override;
-protected:
+private:
Worker& worker;
TileWorker tileWorker;
std::unique_ptr<WorkRequest> workRequest;
bool parsing = false;
-
-private:
const SourceInfo& source;
Request* req = nullptr;
std::string data;
-
float lastAngle = 0;
float currentAngle;
bool lastCollisionDebug = 0;