summaryrefslogtreecommitdiff
path: root/platform/macos/src/MGLMapView.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/macos/src/MGLMapView.h')
-rw-r--r--platform/macos/src/MGLMapView.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h
index 305a1348e4..28097f93fd 100644
--- a/platform/macos/src/MGLMapView.h
+++ b/platform/macos/src/MGLMapView.h
@@ -309,6 +309,15 @@ MGL_EXPORT IB_DESIGNABLE
- (void)setCamera:(MGLMapCamera *)camera animated:(BOOL)animated;
/**
+ Moves the viewpoint to a different location without using a transition.
+
+ @param camera The new viewpoint.
+ @param edgePadding The minimum padding (in screen points) that would be visible
+
+ */
+- (void)setCamera:(MGLMapCamera *)camera edgePadding:(NSEdgeInsets)edgePadding;
+
+/**
Moves the viewpoint to a different location with respect to the map with an
optional transition duration and timing function.