Class

MKMultiPolyline

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

Declaration

class MKMultiPolyline : MKShape

Overview

Use a MKMultiPolyline object when you have multiple distinct polyline shapes that you intend to render using the same style.

Topics

Creating a MultiPolyline Object

init([MKPolyline])

Create a multipolyline object using the provided polylines.

Accessing Polyline Objects

var polylines: [MKPolyline]

An array containing the polyline objects that make up the multipolyline object.

Relationships

Inherits From

See Also

Polyline

class MKPolyline

A shape consisting of one or more connected line segments.

class MKGeodesicPolyline

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

class MKPolylineRenderer

The visual representation for any polyline overlay object.

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