Initializer

init(points:count:)

Creates and returns a geodesic polyline using the specified map points.

Declaration

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

Parameters

points

A pointer to the array of map points that define the path.

count

The number of items in the points array.

Return Value

A new geodesic polyline object.

See Also

Creating a Geodesic Polyline Overlay

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

Creates and returns a geodesic polyline using the specified coordinates.