Class

MKMapCameraZoomRange

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

Declaration

@interface MKMapCameraZoomRange : NSObject

Overview

Apply the camera zoom range to the map view to limit how far in or out the map can be zoomed.

Topics

Creating a Camera Zoom Range

- initWithMinCenterCoordinateDistance:maxCenterCoordinateDistance:

Create a camera zoom range using the provided minimum and maximum center coordinate distance values.

MKMapCameraZoomDefault

A constant value used to represent the default maximum or default minimum camera zoom value.

Accessing Zoom Range Values

maxCenterCoordinateDistance

The maximum distance of the camera to the center of the map.

minCenterCoordinateDistance

The minimum distance of the camera to the center of the map.

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.

cameraBoundary

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

- setCameraZoomRange:animated:

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

cameraZoomRange

The zoom range applied to this map view.

MKMapCameraBoundary

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