Returns the rectangle in the overlay view that corresponds to the specified rectangle on the map.
Deprecated
Use an MKOverlay
object instead.
SDKs
- iOS 4.0–7.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
Framework
- Map
Kit
Declaration
Parameters
mapRect
A rectangle on the two-dimensional map projection.
Return Value
The rectangle specified in the receiver’s coordinate system.
Discussion
Because the bounds and frame rectangles of an overlay view do not change after the view has been created, you may call this method from multiple threads simultaneously. Therefore, you may call this method safely from your view’s draw
method.