summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShape_Private.h
blob: 15d1c1eb97d85b5b4145e4d1cca665872f073d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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;

/**
 Returns a dictionary with the GeoJSON geometry member object.
 */
- (NSDictionary *)geoJSONDictionary;

@end