Type Method

polylineWithPoints:count:

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

Declaration

+ (instancetype)polylineWithPoints:(const MKMapPoint *)points count:(NSUInteger)count;

Parameters

points

The array of map points defining the shape. The data in this array is copied to the new object.

count

The number of items in the points array.

Return Value

A new polyline object.

See Also

Creating a Polyline Overlay

+ polylineWithCoordinates:count:

Creates a polyline object from the specified set of coordinates.