CircleOptions

data class CircleOptions(val coordinate: GeoPoint, val radius: Radius, @ColorInt val fillColor: Int = DEFAULT_FILL_COLOR, @ColorInt val outlineColor: Int = DEFAULT_OUTLINE_COLOR, @FloatRange(from = 0.0) val outlineRadius: Double = DEFAULT_OUTLINE_RADIUS, val isClickable: Boolean = true, val tag: String? = null)

Configures options for a Circle overlay which can be added and displayed on the map. See TomTomMap.addCircle(options CircleOptions).

See also

, which describes its properties in a more detailed way.

Parameters

coordinate

Center of the circle overlay.

radius

Radius of the circle overlay. Radius must be greater than 0.

fillColor

for circle overlay.

outlineColor

for the circle outline overlay.

outlineRadius

Radius of the circle outline overlay.

isClickable

Sets if the circle is clickable, if this parameter is false then clicks will be propagated to objects that are below circle.

tag

Can be used to identify group of circles.

Constructors

Link copied to clipboard
fun CircleOptions(coordinate: GeoPoint, radius: Radius, @ColorInt fillColor: Int = DEFAULT_FILL_COLOR, @ColorInt outlineColor: Int = DEFAULT_OUTLINE_COLOR, @FloatRange(from = 0.0) outlineRadius: Double = DEFAULT_OUTLINE_RADIUS, isClickable: Boolean = true, tag: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isClickable: Boolean = true
Link copied to clipboard
Link copied to clipboard
@get:FloatRange(from = 0.0)
val outlineRadius: Double
Link copied to clipboard
Link copied to clipboard
val tag: String? = null