CircleAnnotationManager

Constructors

Link copied to clipboard
fun CircleAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig? = null)

Types

Link copied to clipboard
object Companion

Static variables and methods.

Functions

Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<CircleAnnotation>

Create a list of circleAnnotations on the map.

open override fun create(option: CircleAnnotationOptions): CircleAnnotation

Create an annotation with the option

Create some annotations with the options

Link copied to clipboard
open override fun delete(annotation: CircleAnnotation)

Delete the annotation

open override fun delete(annotations: List<CircleAnnotation>)

Delete annotations in the list

Link copied to clipboard
open override fun deleteAll()

Delete all the added annotations

Link copied to clipboard
open override fun enableDataDrivenProperty(property: String)

Enable a data-driven property

Link copied to clipboard
open override fun getAnnotationIdKey(): String

Get the key of the id of the annotation.

Link copied to clipboard
open override fun onDestroy()

Invoked when Mapview or Annotation manager is destroyed.

Link copied to clipboard
open override fun onSizeChanged(width: Int, height: Int)

Invoked when MapView's width and height have changed.

Link copied to clipboard

Query the rendered annotation around the point

Link copied to clipboard
open override fun selectAnnotation(annotation: CircleAnnotation)

Toggles the annotation's selection state. If the annotation is deselected, it becomes selected. If the annotation is selected, it becomes deselected.

Link copied to clipboard
open override fun update(annotation: CircleAnnotation)

Update the annotation

open override fun update(annotations: List<CircleAnnotation>)

Update annotations in the list

Properties

Link copied to clipboard
open override val annotations: List<CircleAnnotation>

The added annotations

Link copied to clipboard

The list of layer ids that's associated with the annotation manager.

Link copied to clipboard

The CircleEmissiveStrength property

Link copied to clipboard

The CirclePitchAlignment property

Link copied to clipboard

The CirclePitchScale property

Link copied to clipboard

The CircleTranslate property

Link copied to clipboard

The CircleTranslateAnchor property

Link copied to clipboard

The Added clickListeners

Link copied to clipboard

The delegateProvider

Link copied to clipboard

The added dragListeners

Link copied to clipboard

The added interactionListener

Link copied to clipboard
open override var layerFilter: Expression?

The filter on the managed circleAnnotations.

Link copied to clipboard

The added longClickListeners

Link copied to clipboard
var slot: String?

The Slot property