---
title: MKMapSize
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mkmapsize
---

# MKMapSize

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

## Declaration

```swift
struct MKMapSize
```

## Overview

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()](mapkit/mkmapsize/init().md)
- [init(width:height:)](mapkit/mkmapsize/init(width:height:).md)

### Getting standard map sizes

- [world](mapkit/mkmapsize/world.md)

### Getting the width and height

- [height](mapkit/mkmapsize/height.md)
- [width](mapkit/mkmapsize/width.md)

### Comparing map sizes

- [MKMapSizeEqualToSize(_:_:)](mapkit/mkmapsizeequaltosize(_:_:).md)

### Getting a description of the size

- [MKStringFromMapSize(_:)](mapkit/mkstringfrommapsize(_:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Map coordinates

- [MKCoordinateRegion](mapkit/mkcoordinateregion.md)
- [MKCoordinateSpan](mapkit/mkcoordinatespan.md)
- [MKMapRect](mapkit/mkmaprect.md)
- [MKMapPoint](mapkit/mkmappoint.md)
- [MKDistanceFormatter](mapkit/mkdistanceformatter.md)
