Class

MKMapCameraBoundary

A boundary of an area within which the map's center must remain.

Declaration

@interface MKMapCameraBoundary : NSObject

Overview

The constraints of the camera boundary restrict the center point of your map.

Topics

Creating a Camera Boundary

- initWithCoder:

Create a camera boundary using the provided coder.

- initWithCoordinateRegion:

Create a camera boundary using the provided coordinate region.

- initWithMapRect:

Create a camera boundary using the provided map rectangle.

Accessing the Boundary

mapRect

The map rectangle that describes the camera boundary.

region

The coordinate region that describes the camera boundary.

Relationships

Inherits From

See Also

Constraining the Map View

Optimizing Map Views with Filtering and Camera Constraints

Display a map that is relevant to the user by filtering points of interest and search results, and constraining the visible region.

- setCameraBoundary:animated:

Set the camera boundary for the map view, specifying whether to use animation.

Beta
cameraBoundary

The boundary of the area within which this map view's center must remain.

Beta
- setCameraZoomRange:animated:

Set the camera zoom range for the map view, specifying whether to use animation.

Beta
cameraZoomRange

The zoom range applied to this map view.

Beta
MKMapCameraZoomRange

A range that determines the minimum and maximum distance of the camera to the center of the map.

Beta

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