Contents

init(points:count:)

Creates and returns a polygon object from the specified set of map points.

Declaration

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

Parameters

  • points:

    The array of map points defining the shape. The new object copy the data in this array.

  • count:

    The number of items in the points array.

Return Value

A new polygon object.

See Also

Related Documentation

  • Location and Maps Programming Guide

Creating a polygon overlay