DJI Mobile SDK Documentation

      class MultiPolygonFlyZoneInformation

      class MultiPolygonFlyZoneInformation
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Polygon restricted fly zone information. Includes cylindrical and polygonal restricted fly zone information.

      Supported since MSDK 5.3.0

      Class Members:

      Basic Information

      method getFlyZoneID
      int getFlyZoneID()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the ID of the restricted fly zone.

      Supported since MSDK 5.3.0

      Return:
      intReturns the ID of the restricted fly zone.
      method
      method getShape
      MultiPolygonFlyZoneShape getShape()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Get the shape type of the restricted fly zone. Contains cylinders and polygons.

      Supported since MSDK 5.3.0

      Return:
      MultiPolygonFlyZoneShapeReturns shape type of the restricted fly zone.
      method getLimitedHeight
      int getLimitedHeight()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the height limit of restricted fly zone.

      Supported since MSDK 5.3.0

      Return:
      intReturns the height limit of restricted fly zone.


      Cylindrical Restricted Fly Zone Information

      method getCylinderCenter
      LocationCoordinate2D getCylinderCenter()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the coordinates of the center of the cylindrical restricted fly zone.

      Supported since MSDK 5.3.0

      Return:
      LocationCoordinate2DReturns the coordinates of the center of the cylindrical restricted fly zone.
      method getCylinderRadius
      double getCylinderRadius()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the radius of the cylindrical restricted fly zone.

      Supported since MSDK 5.3.0

      Return:
      doubleReturns the radius of the cylindrical restricted fly zone.


      Polygon Restricted Fly Zone Information

      method getPolygonPoints
      List<LocationCoordinate2D> getPolygonPoints()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the range of the polygon's restricted fly zone.

      Supported since MSDK 5.3.0

      Return:
      List<LocationCoordinate2D>Returns the range of the polygon's restricted fly zone.