One Logo Pool Ball
_MapKit_SwiftUI · IOS API REFERENCE

MapPolyline.ContourStyle

struct · iOS 17.0+ · SDK 27.1

struct ContourStyle

How lines are styled to represent the contour of the Earth.

Members (2)

get · iOS 17.0+

geodesic

TypeScript
static get geodesic(): MapPolyline_ContourStyle
Swift declaration
static var geodesic: MapPolyline.ContourStyle { get }

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

get · iOS 17.0+

straight

TypeScript
static get straight(): MapPolyline_ContourStyle
Swift declaration
static var straight: MapPolyline.ContourStyle { get }

Straight line between points.

Skipped declarations

No declarations were skipped in this snapshot.

All _MapKit_SwiftUI types →