summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.h
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2019-06-03 07:32:20 -0700
committerGitHub <noreply@github.com>2019-06-03 07:32:20 -0700
commit402645109f8d0535cac132d824d39f38a4f1c558 (patch)
tree61969265c1e4c6bb9840d8f376260301d7e32556 /platform/ios/src/MGLMapView.h
parentb2428835871933ecf5a93e86493bac0b76db0ede (diff)
downloadqtlocation-mapboxgl-402645109f8d0535cac132d824d39f38a4f1c558.tar.gz
[ios] Fix content insets with custom edge padding. (#14813)
* [ios] Fix content insets with custom edge padding. * [ios, macos] Consolidated edge insets math * [macos] Add content insets to edge padding when setting camera * [ios, macos] Updated changelogs * [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r--platform/ios/src/MGLMapView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index 63bd28fc0c..3baae2ee3c 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -1036,7 +1036,8 @@ MGL_EXPORT
/**
Moves the viewpoint to a different location with respect to the map with an
- optional transition duration and timing function.
+ optional transition duration and timing function, and optionally some additional
+ padding on each side.
@param camera The new viewpoint.
@param duration The amount of time, measured in seconds, that the transition