Contents

init(points:count:)

Creates a polyline object from the specified set of map points.

Declaration

convenience init(points: UnsafePointer<MKMapPoint>, count: Int)

Parameters

  • points:

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

  • count:

    The number of items in the points array.

Return Value

A new polyline object.

See Also

Related Documentation

  • Location and Maps Programming Guide

Creating a polyline overlay