summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/annotation')
-rw-r--r--include/mbgl/annotation/point_annotation.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/mbgl/annotation/point_annotation.hpp b/include/mbgl/annotation/point_annotation.hpp
new file mode 100644
index 0000000000..17b6fe5369
--- /dev/null
+++ b/include/mbgl/annotation/point_annotation.hpp
@@ -0,0 +1,22 @@
+#ifndef MBGL_ANNOTATION_POINT_ANNOTATION
+#define MBGL_ANNOTATION_POINT_ANNOTATION
+
+#include <mbgl/util/geo.hpp>
+
+#include <string>
+
+namespace mbgl {
+
+class PointAnnotation {
+public:
+ inline PointAnnotation(const LatLng& position_, const std::string& icon_ = "")
+ : position(position_), icon(icon_) {
+ }
+
+ const LatLng position;
+ const std::string icon;
+};
+
+}
+
+#endif