CoordinateBounds
public struct CoordinateBounds
extension CoordinateBounds: Codable
extension CoordinateBounds: CustomStringConvertible
A bounding box represents a geographic region that is rectangular in the Spherical Mercator projection.
-
Initializes a coordinate bounds based on the southwest and northeast corners.
Declaration
Swift
public init(southWest: CLLocationCoordinate2D, northEast: CLLocationCoordinate2D)
-
Initializes a coordinate bounds based on the northwest and southeast corners.
Declaration
Swift
public init(northWest: CLLocationCoordinate2D, southEast: CLLocationCoordinate2D)
-
Initializes a coordinate bounds that includes all the given coordinates.
Declaration
Swift
public init(coordinates: [CLLocationCoordinate2D])
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public var description: String { get }