Initializer

init(polygon:)

Initializes and returns a new renderer that handles drawing for the specified polygon overlay object.

Declaration

init(polygon: MKPolygon)

Parameters

polygon

The polygon overlay containing information about the area to be drawn. This object must have at least three points defining the polygon to draw. This parameter must not be nil.

Return Value

An initialized polygon renderer object.