<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MapAnnotationProtocol",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A18AnnotationProtocolP"
  },
  "title" : "MapAnnotationProtocol"
}
-->

# MapAnnotationProtocol

A protocol that represents the possible return types of annotations.

```
protocol MapAnnotationProtocol
```

## Overview

Don’t create types conforming to this protocol. Instead, use one of the framework-provided types [`MapAnnotation`](/documentation/MapKit/MapAnnotation), [`MapMarker`](/documentation/MapKit/MapMarker), and [`MapPin`](/documentation/MapKit/MapPin).

---

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)