Contents

camera(framing:)

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

Declaration

func camera(framing region: MKCoordinateRegion) -> MapCamera

Parameters

  • region:

    The coordinate region to frame.

Return Value

Returns a MapCamera with the framing region you specified.

See Also

Creating a camera proxy