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

# size

The size of the image that you want to create.

## Declaration

```swift
var size: CGSize { get set }
```

```swift
var size: NSSize { get set }
```

## Discussion

Discussion The default value of this property is 256 by 256 points.

## See Also

### Configuring the image output

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