Structure

MKMapSize

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

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

Sizes

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.

Creation

func MKMapSizeMake(Double, Double)

Creates a new MKMapSize structure from the specified values.

Conversion

func MKStringFromMapSize(MKMapSize)

Returns a formatted string for the specified map size.

Comparison

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.