Initializer

init(coordinates:count:)

Creates and returns a geodesic polyline using the specified coordinates.

Declaration

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

Parameters

coords

A pointer to the array of coordinates that define the path.

count

The number of items in the coords array.

Return Value

A new geodesic polyline object.

See Also

Creating a Geodesic Polyline Overlay

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

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