summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mbgl/map/map.hpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 72800a9c1d..294d0efcd6 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -36,14 +36,17 @@ enum class AnnotationType : uint8_t {
Shape = 1 << 1,
};
+struct EdgeInsets {
+ double top = 0;
+ double left = 0;
+ double bottom = 0;
+ double right = 0;
+};
+
using AnnotationIDs = std::vector<uint32_t>;
using AnnotationSegment = std::vector<LatLng>;
using AnnotationSegments = std::vector<AnnotationSegment>;
-using EdgeInsets = struct {
- double top, left, bottom, right;
-};
-
class Map : private util::noncopyable {
friend class View;