iOS Developer Library

Developer

MapKit Framework Reference MKCircleView Class Reference

Options
Deployment Target:

On This Page
Language:

MKCircleView

The MKCircleView class provides the visual representation for an MKCircle annotation object. This view fills and strokes the circle represented by the annotation. You can change the color and other drawing attributes of the circle by modifying the properties inherited from the MKOverlayPathView class. This class is typically used as is and not subclassed. More...

Import Statement


import MapKit @import MapKit;

Availability


Available in iOS 4.0 and later.
  • Initializes and returns a new overlay view using the specified circle overlay object.

    Deprecation Statement

    Use the MKCircleRenderer class instead.

    Declaration

    Objective-C

    - (instancetype)initWithCircle:(MKCircle *)circle

    Parameters

    circle

    The circle overlay containing the information about the circular area to be drawn.

    Return Value

    A new circle overlay view.

    Import Statement

    Availability

    Available in iOS 4.0 and later.

    Deprecated in iOS 7.0.

  • circle circle (iOS 7.0) Property

    The circle overlay object that contains the information used to draw the overlay. (read-only)

    Deprecation Statement

    Use the MKCircleRenderer class instead.

    Declaration

    Objective-C

    @property(nonatomic, readonly) MKCircle *circle

    Import Statement

    Availability

    Available in iOS 4.0 and later.

    Deprecated in iOS 7.0.