java.lang.Object
com.trimblemaps.mapsdk.plugins.annotation.Annotation<com.trimblemaps.geojson.Point>
com.trimblemaps.mapsdk.plugins.annotation.Circle

@UiThread public class Circle extends Annotation<com.trimblemaps.geojson.Point>
  • Method Details

    • setLatLng

      public void setLatLng(com.trimblemaps.mapsdk.geometry.LatLng latLng)
      Set the LatLng of the circle, which represents the location of the circle on the map

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      latLng - the location of the circle in a latitude and longitude pair
    • getLatLng

      @NonNull public com.trimblemaps.mapsdk.geometry.LatLng getLatLng()
      Get the LatLng of the circle, which represents the location of the circle on the map
      Returns:
      the location of the circle
    • getCircleRadius

      public Float getCircleRadius()
      Get the CircleRadius property

      Circle radius.

      Returns:
      property wrapper value around Float
    • setCircleRadius

      public void setCircleRadius(Float value)
      Set the CircleRadius property

      Circle radius.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      value - constant property value for Float
    • getCircleColorAsInt

      @ColorInt public int getCircleColorAsInt()
      Get the CircleColor property

      The fill color of the circle.

      Returns:
      color value for String
    • getCircleColor

      public String getCircleColor()
      Get the CircleColor property

      The fill color of the circle.

      Returns:
      color value for String
    • setCircleColor

      public void setCircleColor(@ColorInt int color)
      Set the CircleColor property

      The fill color of the circle.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      color - value for String
    • setCircleColor

      public void setCircleColor(@NonNull String color)
      Set the CircleColor property

      The fill color of the circle.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      color - value for String
    • getCircleBlur

      public Float getCircleBlur()
      Get the CircleBlur property

      Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.

      Returns:
      property wrapper value around Float
    • setCircleBlur

      public void setCircleBlur(Float value)
      Set the CircleBlur property

      Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      value - constant property value for Float
    • getCircleOpacity

      public Float getCircleOpacity()
      Get the CircleOpacity property

      The opacity at which the circle will be drawn.

      Returns:
      property wrapper value around Float
    • setCircleOpacity

      public void setCircleOpacity(Float value)
      Set the CircleOpacity property

      The opacity at which the circle will be drawn.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      value - constant property value for Float
    • getCircleStrokeWidth

      public Float getCircleStrokeWidth()
      Get the CircleStrokeWidth property

      The width of the circle's stroke. Strokes are placed outside of the PropertyFactory.circleRadius(java.lang.Float).

      Returns:
      property wrapper value around Float
    • setCircleStrokeWidth

      public void setCircleStrokeWidth(Float value)
      Set the CircleStrokeWidth property

      The width of the circle's stroke. Strokes are placed outside of the PropertyFactory.circleRadius(java.lang.Float).

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      value - constant property value for Float
    • getCircleStrokeColorAsInt

      @ColorInt public int getCircleStrokeColorAsInt()
      Get the CircleStrokeColor property

      The stroke color of the circle.

      Returns:
      color value for String
    • getCircleStrokeColor

      public String getCircleStrokeColor()
      Get the CircleStrokeColor property

      The stroke color of the circle.

      Returns:
      color value for String
    • setCircleStrokeColor

      public void setCircleStrokeColor(@ColorInt int color)
      Set the CircleStrokeColor property

      The stroke color of the circle.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      color - value for String
    • setCircleStrokeColor

      public void setCircleStrokeColor(@NonNull String color)
      Set the CircleStrokeColor property

      The stroke color of the circle.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      color - value for String
    • getCircleStrokeOpacity

      public Float getCircleStrokeOpacity()
      Get the CircleStrokeOpacity property

      The opacity of the circle's stroke.

      Returns:
      property wrapper value around Float
    • setCircleStrokeOpacity

      public void setCircleStrokeOpacity(Float value)
      Set the CircleStrokeOpacity property

      The opacity of the circle's stroke.

      To update the circle on the map use AnnotationManager.update(Annotation).

      Parameters:
      value - constant property value for Float