public class

DJINoFlyZone

extends Object
java.lang.Object
   ↳ dji.common.flightcontroller.DJINoFlyZone

Class Overview

No fly zone. Check flysafe.dji.com for all no fly zones that are pre-set by DJI. A user or developer is not allowed to set their own no fly zone. The zone radius is a radius around the no fly zone center coordinate that determines how large the no fly zone is around the center coordinate. Once the aircraft is 100 meters away from a no fly zone, the user should be continuously notified that the aircraft is approaching a no fly zone. If the aircraft enters a no fly zone, it will stop and hover at the border.

Summary

Public Constructors
DJINoFlyZone()
Public Methods
DJILocationCoordinate2D getZoneCenterCoordinate()
Gets the 2-dimensional no fly zone center coordinate.
float getZoneRadius()
Gets the no fly zone radius.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJINoFlyZone ()

Public Methods

public DJILocationCoordinate2D getZoneCenterCoordinate ()

Gets the 2-dimensional no fly zone center coordinate.

Returns
  • The 2-dimensional no fly zone center coordinate.

public float getZoneRadius ()

Gets the no fly zone radius.

Returns
  • The no fly zone radius.