---
title: polyline
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkroute/polyline
---

# polyline

The detailed route geometry.

## Declaration

```swift
var polyline: MKPolyline { get }
```

## Discussion

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

- [steps](mapkit/mkroute/steps.md)
- [MKRoute.Step](mapkit/mkroute/step.md)
