Package globus.glmap

Class GLMapLineArrow

All Implemented Interfaces:
AutoCloseable

public class GLMapLineArrow extends GLMapDrawable
Drawable that displays arrow on line.
  • Constructor Details

    • GLMapLineArrow

      public GLMapLineArrow(int drawOrder)
      Creates new empty track arrow with given draw order
      Parameters:
      drawOrder - Draw order used to sort objects on map
  • Method Details

    • setLineStyle

      public void setLineStyle(@NonNull GLMapVectorStyle lineStyle, @NonNull android.graphics.Bitmap headImage)
      Sets style of arrow
      Parameters:
      lineStyle - style of line
      headImage - bitmap of head
    • setLine

      public void setLine(@NonNull GLMapVectorLine line, int index)
      Sets line and placement of arrow on track
      Parameters:
      line - line of track
      index - placement of arrow on track.
    • setLine

      @Deprecated public void setLine(@NonNull GLMapVectorObject line, int index)
      Deprecated.
      Use setLine(GLMapVectorLine, int). Will be removed in 2.4.0.
      Sets line and placement of arrow on track
      Parameters:
      line - line of track
      index - placement of arrow on track.