CoordinateBounds
@objc(MBCoordinateBounds)
public class CoordinateBounds : NSObject, Codable
A bounding box represents a geographic region.
-
Initializes a
BoundingBox
with known bounds.Declaration
Swift
@objc public init(southWest: CLLocationCoordinate2D, northEast: CLLocationCoordinate2D)
-
Initializes a
BoundingBox
with known bounds.Declaration
Swift
@objc public init(northWest: CLLocationCoordinate2D, southEast: CLLocationCoordinate2D)
-
Initializes a
BoundingBox
from an array ofCLLocationCoordinate2D
’s.Declaration
Swift
@objc convenience public init(coordinates: [CLLocationCoordinate2D])