Instance Property

visibleMapRect

The area currently displayed by the map view.

Declaration

@property(nonatomic) MKMapRect visibleMapRect;

Discussion

This property represents the same basic information as the region property but specified as a map rectangle instead of a region.

Changing the value of this property updates the map view immediately. If you want to animate the change, use the setVisibleMapRect: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.

centerCoordinate

The map coordinate at the center of the map view.

- 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.

- 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software