---
title: MapContentView
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mapcontentview
---

# MapContentView

A view that contains content that displays on a map at a specific position, and that responds to specific interactions you specify.

## Declaration

```swift
@MainActor @preconcurrency struct MapContentView<SelectionValue, Content> where SelectionValue : Hashable, Content : MapContent
```

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [View](swiftui/view.md)

## See Also

### Protocols

- [DynamicMapContent](mapkit/dynamicmapcontent.md)
- [MapContent](mapkit/mapcontent.md)
- [MapContentBuilder](mapkit/mapcontentbuilder.md)
