AWSLocationCircle

Objective-C

@interface AWSLocationCircle

Swift

class AWSLocationCircle

A circle on the earth, as defined by a center point and a radius.

Required parameters: [Center, Radius]

  • A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSNumber *> *_Nullable center;

    Swift

    var center: [NSNumber]? { get set }
  • The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable radius;

    Swift

    var radius: NSNumber? { get set }