AWFRelativeTo
Objective-C
@interface AWFRelativeTo : AWFWeatherObject
Swift
class AWFRelativeTo : AWFWeatherObject
An AWFRelativeTo
object provides information about the geographical relationship between a location that is used for a request and the location
of the objects that are actually returned from that request.
-
Bearing, in degrees, of the event or object’s actual location relative to the requested location.
Declaration
Objective-C
@property (nonatomic) CGFloat bearing;
Swift
var bearing: CGFloat { get set }
-
Cardinal direction of the event or object relative to the requested location.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *bearingENG;
Swift
var bearingENG: String? { get set }
-
Distance, in kilometers, from the requested location to the object or event.
Declaration
Objective-C
@property (nonatomic) CGFloat distanceKM;
Swift
var distanceKM: CGFloat { get set }
-
Distance, in miles, from the requested location to the object or event.
Declaration
Objective-C
@property (nonatomic) CGFloat distanceMI;
Swift
var distanceMI: CGFloat { get set }
-
Latitude coordinate of the location used for the request.
Declaration
Objective-C
@property (nonatomic) CGFloat latitude;
Swift
var latitude: CGFloat { get set }
-
Longitude coordinate of the location used for the request.
Declaration
Objective-C
@property (nonatomic) CGFloat longitude;
Swift
var longitude: CGFloat { get set }