summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLMapSnapshotter.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLMapSnapshotter.h')
-rw-r--r--platform/darwin/src/MGLMapSnapshotter.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.h b/platform/darwin/src/MGLMapSnapshotter.h
index 976213c8ba..a5ddcac0ac 100644
--- a/platform/darwin/src/MGLMapSnapshotter.h
+++ b/platform/darwin/src/MGLMapSnapshotter.h
@@ -86,6 +86,11 @@ MGL_EXPORT
- (CGPoint)pointForCoordinate:(CLLocationCoordinate2D)coordinate;
/**
+ Converts the specified image point to a map coordinate.
+ */
+- (CLLocationCoordinate2D)coordinateForPoint:(CGPoint)point;
+
+/**
The image of the map’s content.
*/
@property (nonatomic, readonly) UIImage *image;
@@ -97,6 +102,12 @@ MGL_EXPORT
- (NSPoint)pointForCoordinate:(CLLocationCoordinate2D)coordinate;
/**
+ Converts the specified image point to a map coordinate.
+ */
+- (CLLocationCoordinate2D)coordinateForPoint:(NSPoint)point;
+
+
+/**
The image of the map’s content.
*/
@property (nonatomic, readonly) NSImage *image;