PointAnnotationManager

Constructors

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

Types

Link copied to clipboard
object Companion

Static variables and methods.

Functions

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

Create a list of pointAnnotations on the map.

open override fun create(option: PointAnnotationOptions): PointAnnotation

Create an annotation with the option

open override fun create(options: List<PointAnnotationOptions>): List<PointAnnotation>

Create some annotations with the options

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

Delete the annotation

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

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

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

Update the annotation

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

Update annotations in the list

Properties

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

The added annotations

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 IconAllowOverlap property

Link copied to clipboard

The IconIgnorePlacement property

Link copied to clipboard

The IconKeepUpright property

Link copied to clipboard

The IconOptional property

Link copied to clipboard

The IconPadding property

Link copied to clipboard

The IconPitchAlignment property

Link copied to clipboard

The IconRotationAlignment property

Link copied to clipboard

The IconTextFit property

Link copied to clipboard

The IconTextFitPadding property

Link copied to clipboard

The IconTranslate property

Link copied to clipboard

The IconTranslateAnchor property

Link copied to clipboard

The added interactionListener

Link copied to clipboard
open override var layerFilter: Expression?

The filter on the managed pointAnnotations.

Link copied to clipboard

The added longClickListeners

Link copied to clipboard
var slot: String?

The Slot property

Link copied to clipboard

The SymbolAvoidEdges property

Link copied to clipboard

The SymbolPlacement property

Link copied to clipboard

The SymbolSpacing property

Link copied to clipboard

The SymbolZElevate property

Link copied to clipboard

The SymbolZOrder property

Link copied to clipboard

The TextAllowOverlap property

Link copied to clipboard

The TextFont property

Link copied to clipboard

The TextIgnorePlacement property

Link copied to clipboard

The TextKeepUpright property

Link copied to clipboard

The TextLineHeight property

Link copied to clipboard

The TextMaxAngle property

Link copied to clipboard

The TextOptional property

Link copied to clipboard

The TextPadding property

Link copied to clipboard

The TextPitchAlignment property

Link copied to clipboard

The TextRotationAlignment property

Link copied to clipboard

The TextTranslate property

Link copied to clipboard

The TextTranslateAnchor property

Link copied to clipboard

The TextVariableAnchor property

Link copied to clipboard

The TextWritingMode property