Creates a new MKMap
structure from the specified values.
SDKs
- iOS 4.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
- watchOS 2.0+
Framework
- Map
Kit
Declaration
Parameters
x
The point along the east-west axis of the map projection to use for the origin.
y
The point along the north-south axis of the map projection to use for the origin.
width
The width of the rectangle (measured using map points).
height
The height of the rectangle (measured using map points).
Return Value
A map rectangle with the specified values.