<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapRect/init(origin:size:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "s:So9MKMapRecta6origin4sizeABSo0A5Pointa_So0A4Sizeatcfc"
  },
  "title" : "init(origin:size:)"
}
-->

# init(origin:size:)

Creates the map rectangle with the specified point and size.

```
init(origin: MKMapPoint, size: MKMapSize)
```

## Parameters

`origin`

The origin of the map rectangle as an [`MKMapPoint`](/documentation/MapKit/MKMapPoint).

`size`

The size of the map rectangle as an [`MKMapSize`](/documentation/MapKit/MKMapSize).

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)