Class

MKCircleRenderer

The visual representation for a circular overlay.

Declaration

class MKCircleRenderer : MKOverlayPathRenderer

Overview

This renderer fills and strokes the circular region represented by the overlay object. You can change the color and other drawing attributes of the circle by modifying the properties inherited from the parent class. You typically use this class as is and do not subclass it.

You create an instance of this class in your map view delegate’s mapView(_:rendererFor:) method.

Topics

Creating a Circle Renderer

init(circle: MKCircle)

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

Accessing the Overlay Object

var circle: MKCircle

The circle overlay object that contains the information used to draw the overlay.

Relationships

Conforms To

See Also

Circle

class MKCircle

A circular overlay with a configurable radius and centered on a specific geographic coordinate.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software