---
title: geodesic
framework: mapkit
role: symbol
role_heading: Type Property
path: mapkit/mappolyline/contourstyle/geodesic
---

# geodesic

Line segments that follow the contours of the Earth to represent the shortest path between the specified points.

## Declaration

```swift
static var geodesic: MapPolyline.ContourStyle { get }
```

## See Also

### Styles

- [straight](mapkit/mappolyline/contourstyle/straight.md)
