Contents

init(lookingAt:forViewSize:allowPitch:)

Returns a new camera object using the specified map item, view size, and pitch.

Declaration

convenience init(lookingAt mapItem: MKMapItem, forViewSize viewSize: CGSize, allowPitch: Bool)

Parameters

  • mapItem:

    An Mkmapitem that indicates the location of the camera.

  • viewSize:

    The view’s size.

  • allowPitch:

    A Boolean value that indicates if the camera should the use map’s pitch angle.

See Also

Getting a camera object