Structure

MKMapSize

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

Declaration

typedef 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

Getting Standard Map Sizes

Getting the Width and Height

height

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

width

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

Comparing Map Sizes

MKMapSizeEqualToSize

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

Getting a Description of the Size

MKStringFromMapSize

Returns a formatted string for the specified map size.

See Also

Map Coordinates

MKCoordinateRegion

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

MKCoordinateSpan

The width and height of a map region.

MKMapRect

A rectangular area on a two-dimensional map projection.

MKMapPoint

A point on a two-dimensional map projection.

MKDistanceFormatter

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