Function

MKMapRectGetMidY

Returns the mid-point along the y-axis of the specified rectangle.

Declaration

double MKMapRectGetMidY(MKMapRect rect);

Parameters

rect

The map rectangle to test.

Return Value

The midpoint value along the y-axis.

See Also

Getting the Boundaries

MKMapRectGetMinX

Returns the minimum x-axis value of the specified rectangle.

MKMapRectGetMinY

Returns the minimum y-axis value of the specified rectangle.

MKMapRectGetMidX

Returns the mid-point along the x-axis of the specified rectangle.

MKMapRectGetMaxX

Returns the maximum x-axis value of the specified rectangle.

MKMapRectGetMaxY

Returns the maximum y-axis value of the specified rectangle.

MKMapRectGetWidth

Returns the width of the map rectangle.

MKMapRectGetHeight

Returns the height of the map rectangle.