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

# maxX

Returns the maximum x-axis value of the specified rectangle.

## Declaration

```swift
var maxX: 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)
- [maxY](mapkit/mkmaprect/maxy.md)
- [width](mapkit/mkmaprect/width.md)
- [height](mapkit/mkmaprect/height.md)
