DJI Mobile SDK Documentation

class DistanceHomeWidget

class DistanceHomeWidget extends MetricWidget
Package:dji.ux.widget.dashboard
Inherits From:MetricWidget
Display:

uilib_image

Distance between current location of the aircraft and home in meters.

Usage:

Preferred Aspect Ratio: 71:16. Check DashboardWidget for an example of its usage.