Contents

camera(framing:)

Creates a camera in the context of the map that frames the given map rectangle.

Declaration

func camera(framing rect: MKMapRect) -> MapCamera

Parameters

  • rect:

    The map rectangle to frame.

Return Value

Returns a MapCamera that frames the rectangle you specified.

See Also

Creating a camera proxy