Type Method

circleWithMapRect:

Creates and returns an MKCircle object where the circular area is derived from the specified rectangle.

Declaration

+ (instancetype)circleWithMapRect:(MKMapRect)mapRect;

Parameters

mapRect

The map rectangle used to determine the circular area. The center point of the rectangle is used as the center point of the circle. If the rectangle is not a square, the longest side of the rectangle is used to define the radius of the resulting circle.

Return Value

A circle overlay object.

See Also

Creating a Circle Overlay

+ circleWithCenterCoordinate:radius:

Creates and returns an MKCircle object using the specified coordinate and radius.