Class

MKPolyline

A shape consisting of one or more connected line segments.

Declaration

class MKPolyline : MKMultiPoint

Overview

The points are connected end-to-end in the order that you provide them. The first and last points are not automatically connected to each other.

Topics

Creating a Polyline Overlay

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

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

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

Creates a polyline object from the specified set of coordinates.

See Also

Polyline

class MKGeodesicPolyline

A line-based shape that follows the contours of the Earth to create the shortest path between the specified points.

class MKPolylineRenderer

The visual representation for any polyline overlay object.

class MKMultiPolyline

A collection of multipolyline shapes, each consisting of one or more connected line segments.

class MKMultiPolylineRenderer

The visual representation for multiple polyline objects.