AnnotationManagerImpl

Types

Link copied to clipboard

Class handle the map click event

Link copied to clipboard

Class handle the map long click event

Link copied to clipboard
inner class MapMove : TopPriorityOnMoveListener

Class handle the map move event.

Functions

Link copied to clipboard
open fun addClickListener(u: U): Boolean
Link copied to clipboard
open fun addDragListener(d: D): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun create(option: S): T

Create an annotation with the option

open override fun create(options: List<S>): List<T>

Create some annotations with the options

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

Delete the annotation

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

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
abstract 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
fun queryMapForFeatures(point: Point): T?
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): T?

Query the rendered annotation around the point

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

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: T)

Update the annotation

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

Update annotations in the list

Properties

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

The added annotations

Link copied to clipboard

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

Link copied to clipboard
open override val clickListeners: MutableList<U>

The Added clickListeners

Link copied to clipboard

The delegateProvider

Link copied to clipboard
open override val dragListeners: MutableList<D>

The added dragListeners

Link copied to clipboard
open override val interactionListener: MutableList<I>

The added interactionListener

Link copied to clipboard
abstract var layerFilter: Expression?

Set filter on the managed annotations.

Link copied to clipboard
open override val longClickListeners: MutableList<V>

The added longClickListeners

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard