---
title: width
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmaprect/width
---

# width

Returns the width of the map rectangle.

## Declaration

```swift
var width: Double { get }
```

## See Also

### Getting the boundaries

- [minX](mapkit/mkmaprect/minx.md)
- [minY](mapkit/mkmaprect/miny.md)
- [midX](mapkit/mkmaprect/midx.md)
- [midY](mapkit/mkmaprect/midy.md)
- [maxX](mapkit/mkmaprect/maxx.md)
- [maxY](mapkit/mkmaprect/maxy.md)
- [height](mapkit/mkmaprect/height.md)
