<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapSize/init(width:height:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "s:So9MKMapSizea5width6heightABSd_Sdtcfc"
  },
  "title" : "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.

```
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.

## 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)