Class

MKMultiPolygon

A collection of multiple closed polygon shapes.

Declaration

class MKMultiPolygon : MKShape

Overview

Use a MKMultiPolygon when you have multiple distinct polygon shapes that you intend to render using the same style.

Topics

Creating a Multipolygon

init([MKPolygon])

Create a multipolygon object using the provided polygons.

Accessing Polygons

var polygons: [MKPolygon]

An array containing the polygons that make up the multipolygon object.

Relationships

Inherits From

See Also

Polygon

class MKPolygon

A closed polygon shape.

class MKPolygonRenderer

The visual representation for a single polygon overlay.

class MKMultiPolygonRenderer

The visual representation for a multipolygon overlay.

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