summaryrefslogtreecommitdiff
path: root/platform/glfw/glfw_view.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/glfw/glfw_view.hpp')
-rw-r--r--platform/glfw/glfw_view.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/glfw/glfw_view.hpp b/platform/glfw/glfw_view.hpp
index 35f17b723a..d5acf697f7 100644
--- a/platform/glfw/glfw_view.hpp
+++ b/platform/glfw/glfw_view.hpp
@@ -78,6 +78,8 @@ private:
void addRandomLineAnnotations(int count);
void addRandomShapeAnnotations(int count);
void addRandomCustomPointAnnotations(int count);
+ void addAnimatedAnnotation();
+ void updateAnimatedAnnotations();
void clearAnnotations();
void popAnnotation();
@@ -85,6 +87,9 @@ private:
mbgl::AnnotationIDs annotationIDs;
std::vector<std::string> spriteIDs;
+ mbgl::AnnotationIDs animatedAnnotationIDs;
+ std::vector<double> animatedAnnotationAddedTimes;
+
private:
void toggle3DExtrusions(bool visible);