MKCircleView Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/MapKit.framework
Availability
Available in iOS 4.0 and later.
Companion guide
Declared in
MKCircleView.h
Related sample code

Overview

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.

Tasks

Initializing the Overlay View

Accessing the Overlay

Properties

circle

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

@property (nonatomic, readonly) MKCircle *circle
Availability
  • Available in iOS 4.0 and later.
Declared In
MKCircleView.h

Instance Methods

initWithCircle:

Initializes and returns a new overlay view using the specified circle overlay object.

- (id)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.

Availability
  • Available in iOS 4.0 and later.
Declared In
MKCircleView.h

Did this document help you? Yes It's good, but... Not helpful...