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


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.



var height: Double

The height value. The units of this value are map points.

var width: Double

The width value. The units of this value are map points.


func MKMapSizeMake(Double, Double)

Creates a new MKMapSize structure from the specified values.


func MKStringFromMapSize(MKMapSize)

Returns a formatted string for the specified map size.


func MKMapSizeEqualToSize(MKMapSize, MKMapSize)

Returns a Boolean value indicating whether the two map sizes are equal.

See Also

Map Coordinates

struct MKCoordinateRegion

A rectangular geographic region centered around a specific latitude and longitude.

struct MKCoordinateSpan

The width and height of a map region.

struct MKMapRect

A rectangular area on a two-dimensional map projection.

struct MKMapPoint

A point on a two-dimensional map projection.

class MKDistanceFormatter

A utility object that converts between a geographic distance and a string-based expression of that distance.