Instance Property

pitch

The viewing angle of the camera, measured in degrees.

Declaration

@property(nonatomic) CGFloat pitch;

Discussion

A value of 0 results in a camera pointed straight down at the map. Angles greater than 0 result in a camera that is pitched toward the horizon by the specified number of degrees. If the map type is MKMapTypeSatellite or MKMapTypeHybrid, the pitch value is clamped to 0.

The value in this property may be clamped to a maximum value to maintain map readability. There is no fixed maximum value, though, because the actual maximum value is dependent on the current altitude of the camera.

See Also

Configuring the Viewing Angle

centerCoordinate

The map coordinate at the center of the map view.

heading

The heading of the camera (measured in degrees) relative to true north.

centerCoordinateDistance

The distance from the center point of the map to the camera, measured in meters.

altitude

The altitude above the ground, measured in meters.

Deprecated