Instance Property

centerCoordinate

The map coordinate at the center of the map view.

Declaration

@property(nonatomic) CLLocationCoordinate2D centerCoordinate;

Discussion

Changing the value in this property centers the map on the new coordinate without changing the current zoom level. It also updates the values in the region property to reflect the new center coordinate and the new span values needed to maintain the current zoom level.

Changing the value of this property updates the map view immediately. If you want to animate the change, use the setCenterCoordinate:animated: method instead.

See Also

Manipulating the Visible Portion of the Map

region

The area currently displayed by the map view.

- setRegion:animated:

Changes the currently visible region and optionally animates the change.

- setCenterCoordinate:animated:

Changes the center coordinate of the map and optionally animates the change.

- showAnnotations:animated:

Sets the visible region so that the map displays the specified annotations.

visibleMapRect

The area currently displayed by the map view.

- setVisibleMapRect:animated:

Changes the currently visible portion of the map and optionally animates the change.

- setVisibleMapRect:edgePadding:animated:

Changes the currently visible portion of the map, allowing you to specify additional space around the edges.