Class

mapkit.CoordinateRegion

A rectangular area on a map defined by a center coordinate and a span, expressed in degrees of latitude and longitude.

Declaration

interface mapkit.CoordinateRegion

Topics

Creating a Coordinate Region

mapkit.CoordinateRegion

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

Defining the Region

center

The center point of the region.

span

The horizontal and vertical span representing the amount of map to display.

Comparing, Copying, and Converting Regions

copy

Returns a copy of the calling coordinate region.

equals

Returns a Boolean value indicating whether two regions are equal.

toBoundingRegion

Returns the bounding region that corresponds to the calling coordinate region.

toMapRect

Returns the map rectangle that corresponds to the calling coordinate region.

See Also

Map Coordinates

mapkit.Coordinate

An object representing the latitude and longitude for a point on the Earth's surface.

mapkit.CoordinateSpan

The width and height of a map region.

mapkit.BoundingRegion

A rectangular area on a map, defined by coordinates of the rectangle's northeast and southwest corners.