<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKShape",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKShape"
  },
  "title" : "MKShape"
}
-->

# MKShape

An abstract class that defines the basic properties for all shape-based overlay objects.

```
class MKShape
```

## Overview

You can’t instantiate this class directly; use a subclass instead. Subclasses are responsible for defining the geometry of the shape and providing an appropriate value for the coordinate property they inherit from the [`MKAnnotation`](/documentation/MapKit/MKAnnotation) protocol.

## Topics

### Accessing the shape attributes

[`title`](/documentation/MapKit/MKShape/title)

The title of the shape annotation.

[`subtitle`](/documentation/MapKit/MKShape/subtitle)

The subtitle of the shape annotation.



---

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)