Initializer

init(polyline:)

Initializes and returns a new overlay view using the specified polyline overlay object

Declaration

init(polyline: MKPolyline)

Parameters

polyline

The polyline overlay containing information about the area to be drawn. This object must have at least two points defining the line segment to draw. This parameter must not be nil.

Return Value

An initialized polyline renderer object.