summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShape_Private.h
blob: 2c7c4700a383a982fc3eb83be013cb53b19c0178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import "MGLShape.h"

#import <mbgl/util/geometry.hpp>

@interface MGLShape (Private)

/**
 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