---
title: MapPolygon
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mappolygon
---

# MapPolygon

A closed polygon overlay.

## Declaration

```swift
struct MapPolygon
```

## Overview

Overview Use this view to create map polygons instances in the closure you provide to the content parameter in the Map initializers.

## Topics

### Creating a map polygon

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

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [MapContent](mapkit/mapcontent.md)

## See Also

### Annotations and overlays

- [Annotation](mapkit/annotation.md)
- [MapCircle](mapkit/mapcircle.md)
- [MapPolyline](mapkit/mappolyline.md)
- [Marker](mapkit/marker.md)
- [UserAnnotation](mapkit/userannotation.md)
