diff options
Diffstat (limited to 'platform/darwin/src/MGLShape_Private.h')
-rw-r--r-- | platform/darwin/src/MGLShape_Private.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLShape_Private.h b/platform/darwin/src/MGLShape_Private.h index a8ee12c207..15d1c1eb97 100644 --- a/platform/darwin/src/MGLShape_Private.h +++ b/platform/darwin/src/MGLShape_Private.h @@ -1,13 +1,19 @@ #import "MGLShape.h" -#import <mbgl/util/feature.hpp> +#import <mbgl/util/geojson.hpp> +#import <mbgl/util/geometry.hpp> @interface MGLShape (Private) /** - Returns an `mbgl::Feature` representation of the `MGLShape`. + Returns an `mbgl::GeoJSON` representation of the `MGLShape`. */ -- (mbgl::Feature)featureObject; +- (mbgl::GeoJSON)geoJSONObject; + +/** + Returns an `mbgl::Geometry<double>` representation of the `MGLShape`. + */ +- (mbgl::Geometry<double>)geometryObject; /** Returns a dictionary with the GeoJSON geometry member object. |