CircleController

interface CircleController

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

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

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

Adds a new Circle based on the given CircleOptions

Link copied to clipboard
abstract fun addOnCircleClickListener(listener: OnCircleClickListener)

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

Link copied to clipboard
abstract fun removeCircles()

Removes all Circle elements from the map.

Link copied to clipboard
abstract fun removeOnCircleClickListener(listener: OnCircleClickListener)

Properties

Link copied to clipboard
abstract val circles: List<Circle>

Inheritors

Link copied to clipboard