---
title: MapAnnotationProtocol
framework: mapkit
role: symbol
role_heading: Protocol
path: mapkit/mapannotationprotocol
---

# MapAnnotationProtocol

A protocol that represents the possible return types of annotations.

## Declaration

```swift
protocol MapAnnotationProtocol
```

## Overview

Overview Don’t create types conforming to this protocol. Instead, use one of the framework-provided types MapAnnotation, MapMarker, and MapPin.

## Relationships

### Conforming Types

- [MapAnnotation](mapkit/mapannotation.md)
- [MapMarker](mapkit/mapmarker.md)
- [MapPin](mapkit/mappin.md)

## See Also

### Annotations in SwiftUI

- [MapMarker](mapkit/mapmarker.md)
- [MapPin](mapkit/mappin.md)
- [MapAnnotation](mapkit/mapannotation.md)
