diff options
author | Sam Fader <samfader@users.noreply.github.com> | 2019-05-15 18:30:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 18:30:28 -0700 |
commit | 163c085c38464b583215c3849342b74fb2aeb7f8 (patch) | |
tree | b9dc0cbc52c0b99b56f8161d6f12b8a35b8d852c /platform/ios | |
parent | 295ce38f2b9d59436ee19f7c3c325c05cce174f3 (diff) | |
download | qtlocation-mapboxgl-163c085c38464b583215c3849342b74fb2aeb7f8.tar.gz |
[ios, macos] clarified documentation for newCamera param of the shouldChangeFromCamera delegate (#14680)
* [ios, macos] clarified documentation for newCamera in shouldChangeFromCamera
* [ios, macos] clarified documentation for newCamera param of the shouldChangeFromCamera delegate part 2
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/src/MGLMapViewDelegate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/src/MGLMapViewDelegate.h b/platform/ios/src/MGLMapViewDelegate.h index 055d4c9517..f5249d1797 100644 --- a/platform/ios/src/MGLMapViewDelegate.h +++ b/platform/ios/src/MGLMapViewDelegate.h @@ -66,10 +66,10 @@ NS_ASSUME_NONNULL_BEGIN gesture is recognized. If this method returns `NO`, the map view’s camera continues to be this camera. @param newCamera The expected camera after the gesture completes. If this - method returns `YES`, this camera becomes the map view’s camera. + method returns `YES`, the viewport of the map will transition to the new camera. Note that the new camera cannot be modified. @param reason The reason for the camera change. @return A Boolean value indicating whether the map view should stay at - `oldCamera` or change to `newCamera`. + `oldCamera` or transition to `newCamera`. @note If this method is implemented `-mapView:shouldChangeFromCamera:toCamera:` will not be called. */ |