Adjusts the aspect ratio of the specified map rectangle to ensure that it fits in the map view’s frame.
- iOS 4.0+
- macOS 10.9+
- tvOS 9.2+
The initial map rectangle whose width and height you want to adjust.
A map rectangle that is still centered on the same point of the map but whose width and height are adjusted to fit in the map view’s frame.
You can use this method to normalize map rectangle values before displaying the corresponding area. This method returns a new map rectangle that both contains the specified rectangle and fits neatly inside the map view’s frame.