Function

MKMapRectEqualToRect

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

Declaration

BOOL MKMapRectEqualToRect(MKMapRect rect1, MKMapRect rect2);

Parameters

rect1

The first map rectangle.

rect2

The second map rectangle.

Return Value

YES if the rectangles are exactly the same or NO if the origin point or size values are different.

See Also

Comparing Rectangles

MKMapRectIsNull

Returns a Boolean indicating whether the specified rectangle is null.

MKMapRectIsEmpty

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

MKMapRectSpans180thMeridian

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

MKMapRectRemainder

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