---
title: Annotation
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/annotation
---

# Annotation

A customizable annotation used to indicate a location on a map.

## Declaration

```swift
@MainActor @preconcurrency struct Annotation<Label, Content> where Label : View, Content : View
```

## Overview

Overview Use this view to annotations in the closure you provide to the content parameter in the Map initializers.

## Topics

### Creating annotations

- [init(_:coordinate:anchor:accessoryAnchor:content:)](mapkit/annotation/init(_:coordinate:anchor:accessoryanchor:content:)-6rxmn.md)
- [init(_:coordinate:anchor:accessoryAnchor:content:)](mapkit/annotation/init(_:coordinate:anchor:accessoryanchor:content:)-14m3t.md)
- [init(coordinate:anchor:accessoryAnchor:content:label:)](mapkit/annotation/init(coordinate:anchor:accessoryanchor:content:label:).md)
- [init(item:anchor:accessoryAnchor:content:)](mapkit/annotation/init(item:anchor:accessoryanchor:content:).md)
- [init(_:coordinate:anchor:content:)](mapkit/annotation/init(_:coordinate:anchor:content:)-2w242.md)
- [init(_:coordinate:anchor:content:)](mapkit/annotation/init(_:coordinate:anchor:content:)-6wnoh.md)
- [init(coordinate:anchor:content:label:)](mapkit/annotation/init(coordinate:anchor:content:label:).md)

### Displaying place information

- [mapItemDetailSelectionAccessory(_:)](mapkit/mapcontent/mapitemdetailselectionaccessory(_:).md)

### Initializers

- [init(_:coordinate:anchor:accessoryAnchor:content:)](mapkit/annotation/init(_:coordinate:anchor:accessoryanchor:content:)-8wi4r.md)
- [init(_:coordinate:anchor:content:)](mapkit/annotation/init(_:coordinate:anchor:content:)-8k419.md)

## Relationships

### Conforms To

- [MapContent](mapkit/mapcontent.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Annotations and overlays

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