---
title: "MKStringFromMapRect(_:)"
framework: mapkit
role: symbol
role_heading: Function
path: "mapkit/mkstringfrommaprect(_:)"
---

# MKStringFromMapRect(_:)

Returns a formatted string for the specified map rectangle.

## Declaration

```swift
func MKStringFromMapRect(_ rect: MKMapRect) -> String
```

## Parameters

- `rect`: The map rectangle to format.

## Return Value

Return Value A formatted string containing the origin and size values of the map rectangle.
