Instance Property

polyline

The detailed route geometry.

Declaration

var polyline: MKPolyline { get }

Discussion

The polyline object in this property reflects the complete path of the route, including all of its steps. You can use the polyline object as an overlay in a map view.

See Also

Getting the Route Geometry

var steps: [MKRoute.Step]

The array of steps that comprise the overall route.

class MKRoute.Step

One portion of an overall route.