GeoBoundingBox
public struct GeoBoundingBox : Decodable
extension GeoBoundingBox: Equatable
Defines the rectange area that contains the result of reverse geocoding
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates bounding box with provided corner coordinates
Declaration
Swift
public init(southWestCorner: CLLocationCoordinate2D, northEastCorner: CLLocationCoordinate2D)
Parameters
southWestCorner
a coordinate that represents south-west
northEastCorner
a coordinate that represents north-east
-
Creates bounding box with Decoder
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
a decoder that contains serialized bounding box info
-
A coordinate that represents south-west
Declaration
Swift
public let southWestCorner: CLLocationCoordinate2D
-
A coordinate that represents north-east
Declaration
Swift
public let northEastCorner: CLLocationCoordinate2D
-
Declaration
Swift
public static func == (lhs: GeoBoundingBox, rhs: GeoBoundingBox) -> Bool