Package 

Class Circle

    • Method Summary

      Modifier and Type Method Description
      void setLatLng(LatLng latLng) Set the LatLng of the circle, which represents the location of the circle on the mapTo update the circle on the map use update.
      LatLng getLatLng() Get the LatLng of the circle, which represents the location of the circle on the map
      Float getCircleRadius() Get the CircleRadius propertyCircle radius.
      void setCircleRadius(Float value) Set the CircleRadius propertyCircle radius.
      int getCircleColorAsInt() Get the CircleColor propertyThe fill color of the circle.
      String getCircleColor() Get the CircleColor propertyThe fill color of the circle.
      void setCircleColor(@ColorInt() int color) Set the CircleColor propertyThe fill color of the circle.
      void setCircleColor(@NonNull() String color) Set the CircleColor propertyThe fill color of the circle.
      Float getCircleBlur() Get the CircleBlur propertyAmount to blur the circle.
      void setCircleBlur(Float value) Set the CircleBlur propertyAmount to blur the circle.
      Float getCircleOpacity() Get the CircleOpacity propertyThe opacity at which the circle will be drawn.
      void setCircleOpacity(Float value) Set the CircleOpacity propertyThe opacity at which the circle will be drawn.
      Float getCircleStrokeWidth() Get the CircleStrokeWidth propertyThe width of the circle's stroke.
      void setCircleStrokeWidth(Float value) Set the CircleStrokeWidth propertyThe width of the circle's stroke.
      int getCircleStrokeColorAsInt() Get the CircleStrokeColor propertyThe stroke color of the circle.
      String getCircleStrokeColor() Get the CircleStrokeColor propertyThe stroke color of the circle.
      void setCircleStrokeColor(@ColorInt() int color) Set the CircleStrokeColor propertyThe stroke color of the circle.
      void setCircleStrokeColor(@NonNull() String color) Set the CircleStrokeColor propertyThe stroke color of the circle.
      Float getCircleStrokeOpacity() Get the CircleStrokeOpacity propertyThe opacity of the circle's stroke.
      void setCircleStrokeOpacity(Float value) Set the CircleStrokeOpacity propertyThe opacity of the circle's stroke.
      • Methods inherited from class org.maplibre.android.plugins.annotation.Annotation

        equals, getData, getGeometry, getId, hashCode, isDraggable, setData, setDraggable, setGeometry, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setLatLng

         void setLatLng(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 update.

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

        @NonNull() LatLng getLatLng()

        Get the LatLng of the circle, which represents the location of the circle on the map

      • setCircleRadius

         void setCircleRadius(Float value)

        Set the CircleRadius property

        Circle radius.

        To update the circle on the map use update.

        Parameters:
        value - constant property value for Float
      • setCircleColor

         void setCircleColor(@ColorInt() int color)

        Set the CircleColor property

        The fill color of the circle.

        To update the circle on the map use update.

        Parameters:
        color - value for String
      • setCircleColor

         void setCircleColor(@NonNull() String color)

        Set the CircleColor property

        The fill color of the circle.

        To update the circle on the map use update.

        Parameters:
        color - value for String
      • getCircleBlur

         Float getCircleBlur()

        Get the CircleBlur property

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

      • setCircleBlur

         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 update.

        Parameters:
        value - constant property value for Float
      • getCircleOpacity

         Float getCircleOpacity()

        Get the CircleOpacity property

        The opacity at which the circle will be drawn.

      • setCircleOpacity

         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 update.

        Parameters:
        value - constant property value for Float
      • getCircleStrokeWidth

         Float getCircleStrokeWidth()

        Get the CircleStrokeWidth property

        The width of the circle's stroke. Strokes are placed outside of the circleRadius.

      • setCircleStrokeWidth

         void setCircleStrokeWidth(Float value)

        Set the CircleStrokeWidth property

        The width of the circle's stroke. Strokes are placed outside of the circleRadius.

        To update the circle on the map use update.

        Parameters:
        value - constant property value for Float
      • setCircleStrokeColor

         void setCircleStrokeColor(@ColorInt() int color)

        Set the CircleStrokeColor property

        The stroke color of the circle.

        To update the circle on the map use update.

        Parameters:
        color - value for String
      • setCircleStrokeColor

         void setCircleStrokeColor(@NonNull() String color)

        Set the CircleStrokeColor property

        The stroke color of the circle.

        To update the circle on the map use update.

        Parameters:
        color - value for String
      • setCircleStrokeOpacity

         void setCircleStrokeOpacity(Float value)

        Set the CircleStrokeOpacity property

        The opacity of the circle's stroke.

        To update the circle on the map use update.

        Parameters:
        value - constant property value for Float