---
title: MapReader
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mapreader
---

# MapReader

A container view that defines its contents as a function of information about the first contained map.

## Declaration

```swift
@MainActor @preconcurrency struct MapReader<Content> where Content : View
```

## Overview

Overview The map reader’s content builder receives a MapProxy instance. You can use this instance to get the information you’ll need to convert between a MapCamera and a MKMapRect or MKCoordinateRegion.

## Topics

### Creating a map reader

- [init(content:)](mapkit/mapreader/init(content:).md)

## Relationships

### Conforms To

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

## See Also

### Structures

- [DefaultUserAnnotationContent](mapkit/defaultuserannotationcontent.md)
- [EmptyMapContent](mapkit/emptymapcontent.md)
- [MapProxy](mapkit/mapproxy.md)
- [TupleMapContent](mapkit/tuplemapcontent.md)
- [MapSelectableContentView](mapkit/mapselectablecontentview.md)
