MTBounds
public struct MTBounds : Sendable, Codable, Equatable
Represents rectangular geographic bounds defined by southwest and northeast corners.
-
Southwest corner of the bounds.
Declaration
Swift
public var southWest: CLLocationCoordinate2D -
Northeast corner of the bounds.
Declaration
Swift
public var northEast: CLLocationCoordinate2D -
Creates a new bounds instance.
Declaration
Swift
public init(southWest: CLLocationCoordinate2D, northEast: CLLocationCoordinate2D)Parameters
southWestThe southwest corner coordinate.
northEastThe northeast corner coordinate.
-
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws