DJI Mobile SDK Documentation

      class LocationCoordinate2D

      class LocationCoordinate2D implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.common
      Description:

      The position coordinates of the aircraft on the 2D plane. Unit: degrees. Use the geodetic coordinate system.

      Class Members:

      Members

      method getLatitude
      Double getLatitude()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return latitude.

      Return:
      DoubleLatitude
      method setLatitude
      void setLatitude(Double latitude)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set latitude.

      Input Parameters:
      Double latitudeLatitude.
      method getLongitude
      Double getLongitude()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return longitude.

      Return:
      DoubleLongitude
      method setLongitude
      void setLongitude(Double longitude)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set longitude.

      Input Parameters:
      Double longitudeLongitude