---
title: "init(points:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mappolygon/init(points:)"
---

# init(points:)

Creates a polygon from a list of map points.

## Declaration

```swift
init(points: [MKMapPoint])
```

## Parameters

- `points`: An array of doc://com.apple.mapkit/documentation/MapKit/MKMapPoint points that make up the vertices of the polygon.

## See Also

### Creating a map polygon

- [init(coordinates:)](mapkit/mappolygon/init(coordinates:).md)
- [init(_:)](mapkit/mappolygon/init(_:).md)
