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 for given point.

Query the rendered annotation for given screen coordinate.

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 list of layer ids that's associated with the annotation manager.

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 default iconAnchor for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color int.

Link copied to clipboard

The IconColorSaturation property

Link copied to clipboard

The default iconColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color string.

Link copied to clipboard

The default iconEmissiveStrength for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconHaloBlur for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconHaloColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color int.

Link copied to clipboard

The default iconHaloColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color string.

Link copied to clipboard

The default iconHaloWidth for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The IconIgnorePlacement property

Link copied to clipboard

The default iconImage for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard
var iconImageBitmap: Bitmap? = null

The bitmap image for this Symbol

Link copied to clipboard

The default iconImageCrossFade for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The IconKeepUpright property

Link copied to clipboard

The default iconOcclusionOpacity for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconOffset for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconOpacity for all annotations added to this annotation manager if not overwritten by individual annotation settings.

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 default iconRotate for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The IconRotationAlignment property

Link copied to clipboard

The default iconSize for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconTextFit for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default iconTextFitPadding for all annotations added to this annotation manager if not overwritten by individual annotation settings.

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

Link copied to clipboard

The SymbolPlacement property

Link copied to clipboard

The default symbolSortKey for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The SymbolSpacing property

Link copied to clipboard

The SymbolZElevate property

Link copied to clipboard

The default symbolZOffset for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The SymbolZOrder property

Link copied to clipboard

The TextAllowOverlap property

Link copied to clipboard

The default textAnchor for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color int.

Link copied to clipboard

The default textColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color string.

Link copied to clipboard

The default textEmissiveStrength for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textField for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The TextFont property

Link copied to clipboard

The default textHaloBlur for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textHaloColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color int.

Link copied to clipboard

The default textHaloColor for all annotations added to this annotation manager if not overwritten by individual annotation settings in color string.

Link copied to clipboard

The default textHaloWidth for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The TextIgnorePlacement property

Link copied to clipboard

The default textJustify for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The TextKeepUpright property

Link copied to clipboard

The default textLetterSpacing for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textLineHeight for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The TextMaxAngle property

Link copied to clipboard

The default textMaxWidth for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textOcclusionOpacity for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textOffset for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textOpacity for all annotations added to this annotation manager if not overwritten by individual annotation settings.

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 default textRadialOffset for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textRotate for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The TextRotationAlignment property

Link copied to clipboard

The default textSize for all annotations added to this annotation manager if not overwritten by individual annotation settings.

Link copied to clipboard

The default textTransform for all annotations added to this annotation manager if not overwritten by individual annotation settings.

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