summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShape_Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLShape_Private.h')
-rw-r--r--platform/darwin/src/MGLShape_Private.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShape_Private.h b/platform/darwin/src/MGLShape_Private.h
new file mode 100644
index 0000000000..a8ee12c207
--- /dev/null
+++ b/platform/darwin/src/MGLShape_Private.h
@@ -0,0 +1,17 @@
+#import "MGLShape.h"
+
+#import <mbgl/util/feature.hpp>
+
+@interface MGLShape (Private)
+
+/**
+ Returns an `mbgl::Feature` representation of the `MGLShape`.
+ */
+- (mbgl::Feature)featureObject;
+
+/**
+ Returns a dictionary with the GeoJSON geometry member object.
+ */
+- (NSDictionary *)geoJSONDictionary;
+
+@end