---
title: preferredConfiguration
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapsnapshotter/options/preferredconfiguration
---

# preferredConfiguration

The map configuration style to use for snapshots.

## Declaration

```swift
@NSCopying var preferredConfiguration: MKMapConfiguration { get set }
```

## Discussion

Discussion Set this property to one of the MKMapConfiguration subclasses to configure the map style to use when making map snapshots.

## See Also

### Configuring the map data

- [mapType](mapkit/mkmapsnapshotter/options/maptype.md)
- [showsBuildings](mapkit/mkmapsnapshotter/options/showsbuildings.md)
- [pointOfInterestFilter](mapkit/mkmapsnapshotter/options/pointofinterestfilter.md)
- [showsPointsOfInterest](mapkit/mkmapsnapshotter/options/showspointsofinterest.md)
