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.