MBMCoordinateBounds
@interface MBMCoordinateBounds : NSObject
A rectangular area as measured on a two-dimensional map projection.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithSouthwest:(CLLocationCoordinate2D)southwest northeast:(CLLocationCoordinate2D)northeast;
Swift
init(southwest: CLLocationCoordinate2D, northeast: CLLocationCoordinate2D)
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithSouthwest:(CLLocationCoordinate2D)southwest northeast:(CLLocationCoordinate2D)northeast infiniteBounds:(BOOL)infiniteBounds;
Swift
init(southwest: CLLocationCoordinate2D, northeast: CLLocationCoordinate2D, infiniteBounds: Bool)
-
Coordinate at the southwest corner.
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D southwest;
Swift
var southwest: CLLocationCoordinate2D { get }
-
Coordinate at the northeast corner.
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D northeast;
Swift
var northeast: CLLocationCoordinate2D { get }
-
If set to
true
, an infinite (unconstrained) bounds covering the world coordinates would be used. Coordinates provided insouthwest
andnortheast
fields would be omitted and have no effect.Declaration
Objective-C
@property (nonatomic, readonly, getter=isInfiniteBounds) BOOL infiniteBounds;
Swift
var isInfiniteBounds: Bool { get }