init(mapRect:)
Creates and returns a circle object that derives the circular area from the specified rectangle.
Declaration
convenience init(mapRect: MKMapRect)Parameters
- mapRect:
The map rectangle that determines the circular area. The initializer uses the center point of the rectangle as the center point of the circle. If the rectangle isn’t a square, the method uses the longest side of the rectangle to define the radius of the resulting circle.
Return Value
A circle overlay object.