summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
authorSam Fader <samfader@users.noreply.github.com>2019-05-15 18:30:28 -0700
committerGitHub <noreply@github.com>2019-05-15 18:30:28 -0700
commit163c085c38464b583215c3849342b74fb2aeb7f8 (patch)
treeb9dc0cbc52c0b99b56f8161d6f12b8a35b8d852c /platform/ios
parent295ce38f2b9d59436ee19f7c3c325c05cce174f3 (diff)
downloadqtlocation-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.h4
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.
*/