CircleController

Controls Circle-specific features on the map. Allows Circle management and the user interactions with the Circle.

Inheritors

Functions

Link copied to clipboard
abstract fun addCircle(options: CircleOptions): Circle

Adds a new Circle based on the given CircleOptions.

Link copied to clipboard

Registers the CircleClickListener that will be notified about any circle being clicked. The clicked Circle becomes a parameter of the CircleClickListener.onCircleClicked callback.

Link copied to clipboard
Link copied to clipboard
abstract fun removeCircles(tag: String? = null)

Removes all Circle elements with the provided tag from the map. If tag is null then all circles that don't have a tag will be removed. The tag is set with the CircleOptions.tag property.