Contents

isPitchEnabled

A Boolean value that indicates whether the map uses the camera’s pitch information.

Declaration

var isPitchEnabled: Bool { get set }

Discussion

When this property is true and the framework associates a valid camera with the map, the map view uses the camera’s pitch angle to tilt the plane of the map. When this property is false, the map ignores the camera’s pitch angle and the map displays as if the user is looking straight down onto it.

In an app, be sure to check the value of this property to determine whether a map can support 3D.

See Also

Accessing map properties