Function

MKMapRectSpans180thMeridian

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

Declaration

BOOL MKMapRectSpans180thMeridian(MKMapRect rect);

Parameters

rect

The rectangle to test.

Return Value

YES if the rectangle spans the 180th meridian or NO if it is contained wholly within the world map.

See Also

Comparing Rectangles

MKMapRectIsNull

Returns a Boolean indicating whether the specified rectangle is null.

MKMapRectEqualToRect

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

MKMapRectIsEmpty

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

MKMapRectRemainder

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