GPKGLocationBoundingBox
Objective-C
@interface GPKGLocationBoundingBox : NSObject
Swift
class GPKGLocationBoundingBox : NSObject
Location Bounding Box, contains left, up, right, and down coordinates
-
Left coordinate
Declaration
Objective-C
@property (nonatomic) CLLocationCoordinate2D leftCoordinate;Swift
var leftCoordinate: CLLocationCoordinate2D { get set } -
Up coordinate
Declaration
Objective-C
@property (nonatomic) CLLocationCoordinate2D upCoordinate;Swift
var upCoordinate: CLLocationCoordinate2D { get set } -
Right coordinate
Declaration
Objective-C
@property (nonatomic) CLLocationCoordinate2D rightCoordinate;Swift
var rightCoordinate: CLLocationCoordinate2D { get set } -
Down coordinate
Declaration
Objective-C
@property (nonatomic) CLLocationCoordinate2D downCoordinate;Swift
var downCoordinate: CLLocationCoordinate2D { get set } -
Initialize
Declaration
Objective-C
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate;Swift
init!(coordinate: CLLocationCoordinate2D)Parameters
coordinatecoordinate
Return Value
new location boundingbox
-
Initialize
Declaration
Objective-C
- (instancetype)initWithLeft:(CLLocationCoordinate2D)left andUp:(CLLocationCoordinate2D)up andRight:(CLLocationCoordinate2D)right andDown:(CLLocationCoordinate2D)down;Swift
init!(left: CLLocationCoordinate2D, andUp up: CLLocationCoordinate2D, andRight right: CLLocationCoordinate2D, andDown down: CLLocationCoordinate2D)Parameters
leftleft coordinate
upup coordinate
rightright coordinate
downdown coordinate
Return Value
new location boundingbox
-
Get the west coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)westCoordinate;Swift
func westCoordinate() -> CLLocationCoordinate2DReturn Value
west coordinate
-
Get the northwest coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)northwestCoordinate;Swift
func northwestCoordinate() -> CLLocationCoordinate2DReturn Value
northwest coordinate
-
Get the north coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)northCoordinate;Swift
func northCoordinate() -> CLLocationCoordinate2DReturn Value
north coordinate
-
Get the northeast coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)northeastCoordinate;Swift
func northeastCoordinate() -> CLLocationCoordinate2DReturn Value
northeast coordinate
-
Get the east coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)eastCoordinate;Swift
func eastCoordinate() -> CLLocationCoordinate2DReturn Value
east coordinate
-
Get the southeast coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)southeastCoordinate;Swift
func southeastCoordinate() -> CLLocationCoordinate2DReturn Value
southeast coordinate
-
Get the south coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)southCoordinate;Swift
func southCoordinate() -> CLLocationCoordinate2DReturn Value
south coordinate
-
Get the southwest coordinate
Declaration
Objective-C
- (CLLocationCoordinate2D)southwestCoordinate;Swift
func southwestCoordinate() -> CLLocationCoordinate2DReturn Value
southwest coordinate
View on GitHub
GPKGLocationBoundingBox Class Reference