Contents

init(coordinates:count:)

Creates a polyline object from the specified set of coordinates.

Declaration

convenience init(coordinates coords: UnsafePointer<CLLocationCoordinate2D>, count: Int)

Parameters

  • coords:

    The array of coordinates defining the shape. The initializer copies the data in this array to the new object.

  • count:

    The number of items in the coords array.

Return Value

A new polyline object.

See Also

Creating a polyline overlay