Instance Property

remainder

Normalizes the portion of the specified rectangle that lies outside the world map boundaries.

Declaration

var remainder: MKMapRect { get }

Parameters

rect

The rectangle to check.

Discussion

For a rectangle that lies on the 180th meridian, this function isolates the portion that lies outside the boundary, wraps it to the opposite side of the map, and returns that rectangle.

See Also

Comparing Rectangles

var isNull: Bool

Returns a Boolean indicating whether the specified rectangle is null.

func MKMapRectEqualToRect(MKMapRect, MKMapRect) -> Bool

Returns a Boolean value indicating whether the two map rectangles are equal

var isEmpty: Bool

Returns a Boolean value indicating whether the specified rectangle has no area.

var spans180thMeridian: Bool

Returns a Boolean value that indicates whether the specified map rectangle crosses the 180th meridian.