---
title: mapRect
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapsnapshotter/options/maprect
---

# mapRect

The map rectangle that you want to capture.

## Declaration

```swift
var mapRect: MKMapRect { get set }
```

## Discussion

Discussion Use this property to specify the map using map view points. If you assign a value for this property, the snapshotter updates the value in the region property to match the corresponding map rectangle as closely as possible. The snapshotter sets the default value of this property to a map rectangle that encompasses the user’s country or region, based on the current locale information.

## See Also

### Configuring the snapshot region

- [region](mapkit/mkmapsnapshotter/options/region.md)
- [camera](mapkit/mkmapsnapshotter/options/camera.md)
