camera(framing:)
Creates a camera in the context of the map that frames the given map rectangle.
Declaration
func camera(framing rect: MKMapRect) -> MapCameraParameters
- rect:
The map rectangle to frame.
Return Value
Returns a MapCamera that frames the rectangle you specified.