Returns the rectangle on the map that corresponds to the specified rectangle in the overlay renderer’s drawing area.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
Framework
- Map
Kit
Declaration
Parameters
rect
The rectangle in the overlay’s drawing area that you want to convert.
Return Value
The rectangle on the two-dimensional map projection corresponding to the specified rectangle.
Discussion
You may call this method safely from your view’s draw
method.