summaryrefslogtreecommitdiff
path: root/include
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 01:02:21 -0800
commit94e2d8a02c321380e650d055e7e7d6d6ed1c529d (patch)
treef61c114b4d84753470997fe325a1f74ab7806c7e /include
parentd08861daf4ba3e9d178f14c204ed40c0868d6a7f (diff)
downloadqtlocation-mapboxgl-94e2d8a02c321380e650d055e7e7d6d6ed1c529d.tar.gz
[iOS] Added missing documentation comment
Diffstat (limited to 'include')
-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.