diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2019-06-03 07:32:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 07:32:20 -0700 |
commit | 402645109f8d0535cac132d824d39f38a4f1c558 (patch) | |
tree | 61969265c1e4c6bb9840d8f376260301d7e32556 /platform/ios/src/MGLMapView.h | |
parent | b2428835871933ecf5a93e86493bac0b76db0ede (diff) | |
download | qtlocation-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.h | 3 |
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 |