<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapSize",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:@SA@MKMapSize"
  },
  "title" : "MKMapSize"
}
-->

# MKMapSize

Width and height information on a two-dimensional map projection.

```
struct MKMapSize
```

## Overview

If you project the curved surface of the globe onto a flat surface, what you get is a two-dimensional version of a map where longitude lines appear to be parallel. Such maps are often used to show the entire surface of the globe all at once. An `MKMapSize` data structure represents a horizontal and vertical distance as measured on this two-dimensional map.

## Topics

### Creating a map size

[`init()`](/documentation/MapKit/MKMapSize/init())

Creates a map size that represents an empty area on a two-dimensional projection of a map.

[`init(width:height:)`](/documentation/MapKit/MKMapSize/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.

### Getting standard map sizes

[`world`](/documentation/MapKit/MKMapSize/world)

The width and height, in map points, of the world in a two-dimensional map projection.

### Getting the width and height

[`height`](/documentation/MapKit/MKMapSize/height)

The height of the specified area, measured in map points.

[`width`](/documentation/MapKit/MKMapSize/width)

The width of the specified area, measured in map points.

### Comparing map sizes

[`MKMapSizeEqualToSize(_:_:)`](/documentation/MapKit/MKMapSizeEqualToSize(_:_:))

Returns a Boolean value that indicates whether two map sizes are equal.

### Getting a description of the size

[`MKStringFromMapSize(_:)`](/documentation/MapKit/MKStringFromMapSize(_:))

Returns a formatted string for the specified map size.



---

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)