summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2019-05-02 18:52:12 -0700
committerMinh Nguyễn <mxn@1ec5.org>2019-05-02 18:52:12 -0700
commit9e508e18c61524b114bb748c9660c222df18a07b (patch)
tree7279ff1db9c2b85e3eac0850b8f9045a7288ede2
parent204ce9f1ee61a1f3628764b69e56054c38b2f2ed (diff)
downloadqtlocation-mapboxgl-upstream/1ec5-visible-coords-negative-direction-14574.tar.gz
[ios] Document behavior of negative directionupstream/1ec5-visible-coords-negative-direction-14574
-rw-r--r--platform/ios/src/MGLMapView.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index 2423d62ee1..0fa4e30cb3 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -744,7 +744,7 @@ MGL_EXPORT
@param centerCoordinate The new center coordinate for the map.
@param zoomLevel The new zoom level for the map.
@param direction The new direction for the map, measured in degrees relative to
- true north.
+ true north. A negative value leaves the map’s direction unchanged.
@param animated Specify `YES` if you want the map view to animate scrolling,
zooming, and rotating to the new location or `NO` if you want the map to
display the new location immediately.
@@ -761,7 +761,7 @@ MGL_EXPORT
@param centerCoordinate The new center coordinate for the map.
@param zoomLevel The new zoom level for the map.
@param direction The new direction for the map, measured in degrees relative to
- true north.
+ true north. A negative value leaves the map’s direction unchanged.
@param animated Specify `YES` if you want the map view to animate scrolling,
zooming, and rotating to the new location or `NO` if you want the map to
display the new location immediately.
@@ -942,7 +942,8 @@ MGL_EXPORT
@param insets The minimum padding (in screen points) that will be visible
around the given coordinate bounds.
@param direction The direction to rotate the map to, measured in degrees
- relative to true north.
+ relative to true north. A negative value leaves the map’s direction
+ unchanged.
@param duration The duration to animate the change in seconds.
@param function The timing function to animate the change.
@param completion The block executed after the animation finishes.