<!--
{
  "availability" : [
    "iOS: 4.0.0 - 13.0.0",
    "iPadOS: 4.0.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKPolygonView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKPolygonView"
  },
  "title" : "MKPolygonView"
}
-->

# MKPolygonView

Provides the visual representation for an [`MKPolygon`](/documentation/MapKit/MKPolygon) annotation object.

```
class MKPolygonView
```

## Overview

This view fills and strokes the area represented by the annotation. You can change the color and other drawing attributes of the polygon by modifying the properties inherited from the [`MKOverlayPathView`](/documentation/MapKit/MKOverlayPathView) class. This class is typically used as is and not subclassed.

In iOS 7 and later, use the [`MKPolygonRenderer`](/documentation/MapKit/MKPolygonRenderer) class to display polygon overlays instead.

## Topics

### Initializing a polygon view

[`-  initWithPolygon:`](/documentation/MapKit/MKPolygonView/initWithPolygon:)

Initializes and returns a new overlay view using the specified polygon overlay object.

### Accessing the polygon overlay

[`polygon`](/documentation/MapKit/MKPolygonView/polygon)

The polygon overlay object that contains the information used to draw the overlay.

## Relationships

### Conforms To

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`CVarArg`](/documentation/Swift/CVarArg)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`Equatable`](/documentation/Swift/Equatable)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`Sendable`](/documentation/Swift/Sendable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

### Inherits From

[`MKOverlayPathView`](/documentation/MapKit/MKOverlayPathView)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)