Contents

init(polyline:)

Creates a new overlay view using the specified polyline overlay object.

Declaration

init(polyline: MKPolyline)

Parameters

  • polyline:

    The polyline overlay containing information about the area the renderer draws. This object requires at least two points defining the line segment to draw. This parameter can’t be nil.

Return Value

An initialized polyline renderer object.