summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_tile.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-07 15:23:24 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-13 10:57:46 -0700
commit078392eda96e5232d7f4e9e486ee33782ed4487e (patch)
treed256149d32b2375f24d56a2df8f7b5f2a3bb8b12 /src/mbgl/annotation/annotation_tile.hpp
parent0035eb0122445c1405ce67f0f21b96fb45749d90 (diff)
downloadqtlocation-mapboxgl-078392eda96e5232d7f4e9e486ee33782ed4487e.tar.gz
[core] Merge annotation_tile_data.{hpp,cpp} into annotation_tile.{hpp,cpp}
Diffstat (limited to 'src/mbgl/annotation/annotation_tile.hpp')
-rw-r--r--src/mbgl/annotation/annotation_tile.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mbgl/annotation/annotation_tile.hpp b/src/mbgl/annotation/annotation_tile.hpp
index 8e8d76286e..0046253665 100644
--- a/src/mbgl/annotation/annotation_tile.hpp
+++ b/src/mbgl/annotation/annotation_tile.hpp
@@ -1,9 +1,29 @@
#pragma once
#include <mbgl/tile/geometry_tile.hpp>
+#include <mbgl/tile/geometry_tile_data.hpp>
namespace mbgl {
+class AnnotationManager;
+
+namespace style {
+class UpdateParameters;
+}
+
+class AnnotationTileData : public GeometryTileData {
+public:
+ AnnotationTileData(const OverscaledTileID&,
+ std::string sourceID,
+ const style::UpdateParameters&);
+ ~AnnotationTileData();
+
+ void setNecessity(Necessity) final;
+
+private:
+ AnnotationManager& annotationManager;
+};
+
class AnnotationTileFeature : public GeometryTileFeature {
public:
AnnotationTileFeature(FeatureType, GeometryCollection,