summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Fader <sam.fader@mapbox.com>2019-05-15 12:05:57 -0700
committerNadia Barbosa <nadiabarbosa@me.com>2019-05-15 16:49:00 -0700
commite88be0c06d00ac084008fdd9c3a0b72a59851cf4 (patch)
treea9794b6d5db4b708df9ceafb680e0ee70cd36acd
parent295ce38f2b9d59436ee19f7c3c325c05cce174f3 (diff)
downloadqtlocation-mapboxgl-e88be0c06d00ac084008fdd9c3a0b72a59851cf4.tar.gz
[ios, macos] clarified documentation for newCamera in shouldChangeFromCamera
-rw-r--r--platform/ios/src/MGLMapViewDelegate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapViewDelegate.h b/platform/ios/src/MGLMapViewDelegate.h
index 055d4c9517..6e2ab506f2 100644
--- a/platform/ios/src/MGLMapViewDelegate.h
+++ b/platform/ios/src/MGLMapViewDelegate.h
@@ -66,7 +66,7 @@ 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`.