diff options
Diffstat (limited to 'platform/darwin/src/NSValue+MGLAdditions.h')
-rw-r--r-- | platform/darwin/src/NSValue+MGLAdditions.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/darwin/src/NSValue+MGLAdditions.h b/platform/darwin/src/NSValue+MGLAdditions.h index f3026a389f..9222f04620 100644 --- a/platform/darwin/src/NSValue+MGLAdditions.h +++ b/platform/darwin/src/NSValue+MGLAdditions.h @@ -29,6 +29,19 @@ NS_ASSUME_NONNULL_BEGIN @property (readonly) CLLocationCoordinate2D MGLCoordinateValue; /** + Creates a new value object containing the specified Mapbox map point structure. + + @param point The value for the new object. + @return A new value object that contains the coordinate and zoom level information. + */ ++ (instancetype)valueWithMGLMapPoint:(MGLMapPoint)point; + +/** + The Mapbox map point structure representation of the value. + */ +@property (readonly) MGLMapPoint MGLMapPointValue; + +/** Creates a new value object containing the specified Mapbox coordinate span structure. |