DJI Mobile SDK Documentation

      class MapCircleOptions

      @Keep
      class MapCircleOptions implements Parcelable
      Package:dji.open.pilot.base.manager.map
      Description:

      Circle configuration of a map widget element.

      Supported since MSDK 5.20.1

      Class Members:
      method
      method getAlpha
      float getAlpha() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the alpha, ranging from 0 to 1.

      Supported since MSDK 5.20.1

      Return:
      floatAlpha.
      method
      method setAlpha
      void setAlpha(float alpha) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the alpha.

      Supported since MSDK 5.20.1

      Input Parameters:
      float alphaAlpha.
      method
      method getCenter
      OpenLocation getCenter() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the geographic information of the circle center.

      Supported since MSDK 5.20.1

      Return:
      OpenLocationOpen location information.
      method
      method setCenter
      void setCenter(OpenLocation center) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the geographic information of the circle center.

      Supported since MSDK 5.20.1

      Input Parameters:
      OpenLocation centerOpen location information.
      method
      method getRadius
      double getRadius() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the circle radius.

      Supported since MSDK 5.20.1

      Return:
      doubleCircle radius.
      method
      method setRadius
      void setRadius(double radius) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the circle radius.

      Supported since MSDK 5.20.1

      Input Parameters:
      double radiusCircle radius.
      method getStrokeWidth
      float getStrokeWidth() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the stroke width.

      Supported since MSDK 5.20.1

      Return:
      floatStroke width (in pixels).
      method setStrokeWidth
      void setStrokeWidth(float strokeWidth) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the stroke width.

      Supported since MSDK 5.20.1

      Input Parameters:
      float strokeWidthStroke width (in pixels).
      method getStrokeColor
      int getStrokeColor() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the stroke color.

      Supported since MSDK 5.20.1

      Return:
      intStroke color (ARGB integer value).
      method setStrokeColor
      void setStrokeColor(int strokeColor) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the stroke color.

      Supported since MSDK 5.20.1

      Input Parameters:
      int strokeColorStroke color (ARGB integer value).
      method getFillColor
      int getFillColor() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the fill color.

      Supported since MSDK 5.20.1

      Return:
      intFill color (ARGB integer value).
      method setFillColor
      void setFillColor(int fillColor) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the fill color.

      Supported since MSDK 5.20.1

      Input Parameters:
      int fillColorFill color (ARGB integer value).
      method
      method getzIndex
      float getzIndex() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the layer stacking order.

      Supported since MSDK 5.20.1

      Return:
      floatLayer stacking order value.
      method
      method setzIndex
      void setzIndex(float zIndex) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the layer stacking order.

      Supported since MSDK 5.20.1

      Input Parameters:
      float zIndexLayer stacking order value (the higher the value, the more front it is displayed).
      method
      method isDotted
      boolean isDotted() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Checks whether a dashed border is used.

      Supported since MSDK 5.20.1

      Return:
      booleantrue for a dashed border, false for a solid border.
      method
      method setDotted
      void setDotted(boolean dotted) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets whether to use a dashed border.

      Supported since MSDK 5.20.1

      Input Parameters:
      boolean dottedtrue to enable a dashed border, false to use a solid border.
      method getDashLength
      float getDashLength() 
      Package:dji.open.pilot.base.manager.map
      Description:

      Gets the dash gap length.

      Supported since MSDK 5.20.1

      Return:
      floatDash gap length (in pixels).
      method setDashLength
      void setDashLength(float dashLength) 
      Package:dji.open.pilot.base.manager.map
      Description:

      Sets the dash gap length.

      Supported since MSDK 5.20.1

      Input Parameters:
      float dashLengthDash gap length (in pixels).