---
title: "init(width:height:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mkmapsize/init(width:height:)"
---

# init(width:height:)

Creates a map size that represents an area on a two-dimensional projection of a map with the specified width and height.

## Declaration

```swift
init(width: Double, height: Double)
```

## Parameters

- `width`: The width of the specified area, measured in map points.
- `height`: The height of the specified area, measured in map points.

## See Also

### Creating a map size

- [init()](mapkit/mkmapsize/init().md)
