---
title: traitCollection
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapsnapshotter/options/traitcollection
---

# traitCollection

Traits that determine the appearance of the map snapshot.

## Declaration

```swift
@NSCopying var traitCollection: UITraitCollection { get set }
```

## See Also

### Configuring the image output

- [size](mapkit/mkmapsnapshotter/options/size.md)
- [appearance](mapkit/mkmapsnapshotter/options/appearance.md)
- [scale](mapkit/mkmapsnapshotter/options/scale.md)
