diff options
Diffstat (limited to 'platform/darwin/src/MGLShape_Private.h')
-rw-r--r-- | platform/darwin/src/MGLShape_Private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShape_Private.h b/platform/darwin/src/MGLShape_Private.h index 2c7c4700a3..15d1c1eb97 100644 --- a/platform/darwin/src/MGLShape_Private.h +++ b/platform/darwin/src/MGLShape_Private.h @@ -1,10 +1,16 @@ #import "MGLShape.h" +#import <mbgl/util/geojson.hpp> #import <mbgl/util/geometry.hpp> @interface MGLShape (Private) /** + Returns an `mbgl::GeoJSON` representation of the `MGLShape`. + */ +- (mbgl::GeoJSON)geoJSONObject; + +/** Returns an `mbgl::Geometry<double>` representation of the `MGLShape`. */ - (mbgl::Geometry<double>)geometryObject; |