DJI Mobile SDK Documentation

      class DJISubFlyZoneInformation

      @interface DJISubFlyZoneInformation : NSObject
      Header:DJIFlyZoneInformation.h
      Inherits From:NSObject
      Description:

      This class contains information about a Sub fly zone.

      Class Members:
      Information
      property
      property areaID
      @property(nonatomic, readonly) NSInteger areaID
      Header:DJIFlyZoneInformation.h
      Description:

      The fly zone's identifier.

      Geometry and Location
      property
      property shape
      @property(nonatomic, readonly) DJISubFlyZoneShape shape
      Header:DJIFlyZoneInformation.h
      Description:

      The shape of the sub-fly-zone.

      See Also:

      DJISubFlyZoneShape

      property
      property center
      @property(nonatomic, readonly) CLLocationCoordinate2D center
      Header:DJIFlyZoneInformation.h
      Description:

      The location of the fly zone's center. Only used when shape is DJISubFlyZoneShapeCylinder.

      property
      property radius
      @property(nonatomic, readonly) double radius
      Header:DJIFlyZoneInformation.h
      Description:

      The radius of the fly zone in meters. Only used when shape is DJISubFlyZoneShapeCylinder.

      property
      property vertices
      @property(nonatomic, readonly) NSArray *vertices
      Header:DJIFlyZoneInformation.h
      Description:

      The vertices (locations) that make up the sub fly zone polygon shape. Only used when shape is DJISubFlyZoneShapePolygon.

      Maximum Flight Height
      property
      property maximumFlightHeight
      @property(nonatomic, readonly) NSInteger maximumFlightHeight
      Header:DJIFlyZoneInformation.h
      Description:

      Maximum flight height in meters allowed in the sub fly zone. A height of 0m will restrict flight completely within the zone.

      enum DJISubFlyZoneShape
      typedef NS_ENUM(NSUInteger, DJISubFlyZoneShape)
      Header:DJIFlyZoneInformation.h
      Description:

      This type of the geospatial information for the fly zone.

      Enum Members:
      DJISubFlyZoneShapeCylinderCircle shape.
      DJISubFlyZoneShapePolygonPolygon shape.
      DJISubFlyZoneShapeUnknownUnknown.