<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MapPolyline/ContourStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A8PolylineV12ContourStyleV"
  },
  "title" : "MapPolyline.ContourStyle"
}
-->

# MapPolyline.ContourStyle

Values that define how MapKit styles lines to represent the contour of the Earth.

```
struct ContourStyle
```

## Topics

### Styles

[`static var geodesic: MapPolyline.ContourStyle`](/documentation/MapKit/MapPolyline/ContourStyle/geodesic)

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

[`static var straight: MapPolyline.ContourStyle`](/documentation/MapKit/MapPolyline/ContourStyle/straight)

Straight-line segments between points.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)