summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation/shape_annotation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/annotation/shape_annotation.hpp')
-rw-r--r--include/mbgl/annotation/shape_annotation.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/mbgl/annotation/shape_annotation.hpp b/include/mbgl/annotation/shape_annotation.hpp
new file mode 100644
index 0000000000..a35b867266
--- /dev/null
+++ b/include/mbgl/annotation/shape_annotation.hpp
@@ -0,0 +1,24 @@
+#ifndef MBGL_ANNOTATION_SHAPE_ANNOTATION
+#define MBGL_ANNOTATION_SHAPE_ANNOTATION
+
+#include <mbgl/util/geo.hpp>
+#include <mbgl/map/map.hpp>
+#include <mbgl/style/style_properties.hpp>
+
+#include <string>
+
+namespace mbgl {
+
+class ShapeAnnotation {
+public:
+ inline ShapeAnnotation(const AnnotationSegments& segments_, const StyleProperties& styleProperties_)
+ : segments(segments_), styleProperties(styleProperties_) {
+ }
+
+ const AnnotationSegments segments;
+ const StyleProperties styleProperties;
+};
+
+}
+
+#endif