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.