Class

mapkit.BoundingRegion

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

Declaration

interface mapkit.BoundingRegion

Overview

Similar to a mapkit.CoordinateRegion, mapkit.BoundingRegion represents a rectangular area on the 2D-projected surface. However, instead of being defined by a center coordinate and a span, a bounding region is defined by the coordinates of the rectangle's northeast and southwest corners.

Topics

Creating a Bounding Region

mapkit.BoundingRegion

Creates a rectangular bounding region defined by the latitude and longitude coordinates of the rectangle's northeast and southwest corners.

Defining a Bounding Region

eastLongitude

The east longitude of the bounding region.

northLatitude

The north latitude of the bounding region.

southLatitude

The south latitude of the bounding region.

westLongitude

The west longitude of the bounding region.

Copying and Converting Regions

copy

Returns a copy of the calling bounding region.

toCoordinateRegion

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

See Also

Map Coordinates

mapkit.Coordinate

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

mapkit.CoordinateRegion

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

mapkit.CoordinateSpan

The width and height of a map region.