diff options
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r-- | platform/ios/src/MGLMapView.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index 02d146edcb..db638d4aad 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -865,6 +865,19 @@ MGL_EXPORT IB_DESIGNABLE /** Moves the viewpoint to a different location with respect to the map with an + optional transition animation. + + @param camera The new viewpoint. + @param edgePadding The minimum padding (in screen points) that would be visible. + @param animated Specify `YES` if you want the map view to animate the change to + the new viewpoint or `NO` if you want the map to display the new viewpoint + immediately. + + */ +- (void)setCamera:(MGLMapCamera *)camera edgePadding:(UIEdgeInsets)edgePadding animated:(BOOL)animated; + +/** + Moves the viewpoint to a different location with respect to the map with an optional transition duration and timing function. @param camera The new viewpoint. |