Class Circle
-
Field Summary
Fields inherited from class com.trimblemaps.mapsdk.plugins.annotation.Annotation
geometry, jsonObject -
Method Summary
Modifier and TypeMethodDescriptionGet the CircleBlur propertyGet the CircleColor propertyintGet the CircleColor propertyGet the CircleOpacity propertyGet the CircleRadius propertyGet the CircleStrokeColor propertyintGet the CircleStrokeColor propertyGet the CircleStrokeOpacity propertyGet the CircleStrokeWidth propertycom.trimblemaps.mapsdk.geometry.LatLngGet the LatLng of the circle, which represents the location of the circle on the mapvoidsetCircleBlur(Float value) Set the CircleBlur propertyvoidsetCircleColor(int color) Set the CircleColor propertyvoidsetCircleColor(String color) Set the CircleColor propertyvoidsetCircleOpacity(Float value) Set the CircleOpacity propertyvoidsetCircleRadius(Float value) Set the CircleRadius propertyvoidsetCircleStrokeColor(int color) Set the CircleStrokeColor propertyvoidsetCircleStrokeColor(String color) Set the CircleStrokeColor propertyvoidsetCircleStrokeOpacity(Float value) Set the CircleStrokeOpacity propertyvoidsetCircleStrokeWidth(Float value) Set the CircleStrokeWidth propertyvoidsetLatLng(com.trimblemaps.mapsdk.geometry.LatLng latLng) Set the LatLng of the circle, which represents the location of the circle on the mapMethods inherited from class com.trimblemaps.mapsdk.plugins.annotation.Annotation
equals, getData, getGeometry, getId, hashCode, isDraggable, setData, setDraggable, setGeometry, toString
-
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 mapTo 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
Get the CircleRadius propertyCircle radius.
- Returns:
- property wrapper value around Float
-
setCircleRadius
Set the CircleRadius propertyCircle 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 propertyThe fill color of the circle.
- Returns:
- color value for String
-
getCircleColor
Get the CircleColor propertyThe fill color of the circle.
- Returns:
- color value for String
-
setCircleColor
public void setCircleColor(@ColorInt int color) Set the CircleColor propertyThe fill color of the circle.
To update the circle on the map use
AnnotationManager.update(Annotation).- Parameters:
color- value for String
-
setCircleColor
Set the CircleColor propertyThe fill color of the circle.
To update the circle on the map use
AnnotationManager.update(Annotation).- Parameters:
color- value for String
-
getCircleBlur
Get the CircleBlur propertyAmount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
- Returns:
- property wrapper value around Float
-
setCircleBlur
Set the CircleBlur propertyAmount 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
Get the CircleOpacity propertyThe opacity at which the circle will be drawn.
- Returns:
- property wrapper value around Float
-
setCircleOpacity
Set the CircleOpacity propertyThe 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
Get the CircleStrokeWidth propertyThe width of the circle's stroke. Strokes are placed outside of the
PropertyFactory.circleRadius(java.lang.Float).- Returns:
- property wrapper value around Float
-
setCircleStrokeWidth
Set the CircleStrokeWidth propertyThe 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 propertyThe stroke color of the circle.
- Returns:
- color value for String
-
getCircleStrokeColor
Get the CircleStrokeColor propertyThe stroke color of the circle.
- Returns:
- color value for String
-
setCircleStrokeColor
public void setCircleStrokeColor(@ColorInt int color) Set the CircleStrokeColor propertyThe stroke color of the circle.
To update the circle on the map use
AnnotationManager.update(Annotation).- Parameters:
color- value for String
-
setCircleStrokeColor
Set the CircleStrokeColor propertyThe stroke color of the circle.
To update the circle on the map use
AnnotationManager.update(Annotation).- Parameters:
color- value for String
-
getCircleStrokeOpacity
Get the CircleStrokeOpacity propertyThe opacity of the circle's stroke.
- Returns:
- property wrapper value around Float
-
setCircleStrokeOpacity
Set the CircleStrokeOpacity propertyThe opacity of the circle's stroke.
To update the circle on the map use
AnnotationManager.update(Annotation).- Parameters:
value- constant property value for Float
-