DJI Mobile SDK Documentation

      class DUXDistanceRCWidget

      @interface DUXDistanceRCWidget : DUXWidget
      Header:DUXDistanceRCWidget.h
      Inherits From:DUXWidget
      Display:

      uilib_image

      Distance between current location of the aircraft and RC (pilot) in meters.

      Usage:

      Preferred Aspect Ratio: 16:5. Check DUXDashboardWidget for an example of its usage.

      Class Members:
      property
      property distance
      @property (nonatomic, assign, readonly) CGFloat distance
      Header:DUXDistanceRCWidget.h
      Description:

      The distance between the aircraft and the RC in meters.

      property locationManagerAccuracy
      @property(assign, nonatomic) CLLocationAccuracy locationManagerAccuracy
      Header:DUXDistanceRCWidget.h
      Description:

      The accuracy needed for the CLLocationManager instance in the distance RC widget. By default, the accuracy is best for navigation, but can be reduced if needed.