summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-11-20 01:02:21 -0800
committerMinh Nguyễn <mxn@1ec5.org>2015-11-20 11:24:43 -0800
commitb791d1fb81d4e15922313aef321b9ae42384d43b (patch)
tree2d36e7faaa85d55ba151700557159d08cf32e93e /include/mbgl
parentc4558d48f2ac74b3c2413eb8c363688e430b1177 (diff)
downloadqtlocation-mapboxgl-b791d1fb81d4e15922313aef321b9ae42384d43b.tar.gz
[iOS] Added missing documentation comment
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/ios/MGLMapView.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h
index 93532b6a31..779faa4e9b 100644
--- a/include/mbgl/ios/MGLMapView.h
+++ b/include/mbgl/ios/MGLMapView.h
@@ -121,12 +121,17 @@ IB_DESIGNABLE
* Changing the zoom level scales the map without changing the current center coordinate. At zoom level 0, tiles cover the entire world map; at zoom level 1, tiles cover 1/4 of the world; at zoom level 2, tiles cover 1/16 of the world, and so on. */
- (void)setZoomLevel:(double)zoomLevel animated:(BOOL)animated;
-/** Changes the center coordinate and zoom level of the and optionally animates the change.
+/** Changes the center coordinate and zoom level of the map and optionally animates the change.
* @param centerCoordinate The new center coordinate for the map.
* @param zoomLevel The new zoom level for the map.
* @param animated Specify `YES` if you want the map view to animate scrolling and zooming to the new location or `NO` if you want the map to display the new location immediately. */
- (void)setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:(double)zoomLevel animated:(BOOL)animated;
+/** Changes the center coordinate, zoom level, and direction of the map and optionally animates the change.
+* @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.
+* @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. */
- (void)setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:(double)zoomLevel direction:(CLLocationDirection)direction animated:(BOOL)animated;
/** The coordinate bounds visible in the receiver’s viewport.