Class

MKGeodesicPolyline

A line-based shape that follows the contours of the Earth to create the shortest path between the specified points.

Declaration

class MKGeodesicPolyline : MKPolyline

Overview

A geodesic polyline contains a set of points that are connected end-to-end in the order that you provide them. The first and last points are not automatically connected to each other. When displayed on a two-dimensional map view, the line segment between any two points may appear curved.

Topics

Creating a Geodesic Polyline Overlay

init(points: UnsafePointer<MKMapPoint>, count: Int)

Creates and returns a geodesic polyline using the specified map points.

init(coordinates: UnsafePointer<CLLocationCoordinate2D>, count: Int)

Creates and returns a geodesic polyline using the specified coordinates.

Relationships

Inherits From

Conforms To

See Also

Polyline

class MKPolyline

A shape consisting of one or more connected line segments.

class MKPolylineRenderer

The visual representation for any polyline overlay object.

class MKMultiPolyline

A collection of multipolyline shapes, each consisting of one or more connected line segments.

Beta
class MKMultiPolylineRenderer

The visual representation for multiple polyline objects.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software