Type Method

polylineWithCoordinates:count:

Creates a polyline object from the specified set of coordinates.

Declaration

+ (instancetype)polylineWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count;

Parameters

coords

The array of coordinates defining the shape. The data in this array is copied 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

+ polylineWithPoints:count:

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