DJI Mobile SDK Documentation

      class DUXDistanceHomeWidget

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

      uilib_image

      Distance between current location of the aircraft and home 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) CLLocationDistance distance
      Header:DUXDistanceHomeWidget.h
      Description:

      The distance the aircraft is from home measured in meters.