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
open fun addClusterClickListener(clusterClickListener: OnClusterClickListener): Boolean
Link copied to clipboard
open fun addClusterLongClickListener(onClusterLongClickListener: OnClusterLongClickListener): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<PointAnnotation>
fun create(json: String): 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.

fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PointAnnotation?

Query the rendered annotation for given screen coordinate.

Link copied to clipboard
Link copied to clipboard
open fun removeClusterClickListener(clusterClickListener: OnClusterClickListener): Boolean
Link copied to clipboard
open fun removeClusterLongClickListener(onClusterLongClickListener: OnClusterLongClickListener): Boolean
Link copied to clipboard
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
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
val associatedLayers: MutableList<String>

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

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

The Added clickListeners

Link copied to clipboard
open override val clusterClickListeners: MutableList<OnClusterClickListener>

The Added clusterClickListeners

Link copied to clipboard

The Added clusterLongClickListeners

Link copied to clipboard

The delegateProvider

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

The added dragListeners

Link copied to clipboard
var iconAllowOverlap: Boolean?

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
@get:ColorInt
var iconColorInt: Int?

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
var iconColorSaturation: Double?

The IconColorSaturation property

Link copied to clipboard
var iconColorString: String?

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
var iconHaloBlur: Double?

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

Link copied to clipboard
@get:ColorInt
var iconHaloColorInt: Int?

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
var iconHaloColorString: String?

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
var iconHaloWidth: Double?

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

Link copied to clipboard
var iconIgnorePlacement: Boolean?

The IconIgnorePlacement property

Link copied to clipboard
var iconImage: String?

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
var iconImageCrossFade: Double?

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

Link copied to clipboard
var iconKeepUpright: Boolean?

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
var iconOffset: List<Double>?

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

Link copied to clipboard
var iconOpacity: Double?

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

Link copied to clipboard
var iconOptional: Boolean?

The IconOptional property

Link copied to clipboard
var iconPadding: Double?

The IconPadding property

Link copied to clipboard

The IconPitchAlignment property

Link copied to clipboard
var iconRotate: Double?

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
var iconSize: Double?

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
var iconTextFitPadding: List<Double>?

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

Link copied to clipboard
var iconTranslate: List<Double>?

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
var symbolAvoidEdges: Boolean?

The SymbolAvoidEdges property

Link copied to clipboard

The SymbolElevationReference property

Link copied to clipboard

The SymbolPlacement property

Link copied to clipboard
var symbolSortKey: Double?

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

Link copied to clipboard
var symbolSpacing: Double?

The SymbolSpacing property

Link copied to clipboard
var symbolZElevate: Boolean?

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
var textAllowOverlap: Boolean?

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
@get:ColorInt
var textColorInt: Int?

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
var textColorString: String?

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
var textField: String?

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

Link copied to clipboard
var textFont: List<String>?

The TextFont property

Link copied to clipboard
var textHaloBlur: Double?

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

Link copied to clipboard
@get:ColorInt
var textHaloColorInt: Int?

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
var textHaloColorString: String?

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
var textHaloWidth: Double?

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

Link copied to clipboard
var textIgnorePlacement: Boolean?

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
var textKeepUpright: Boolean?

The TextKeepUpright property

Link copied to clipboard
var textLetterSpacing: Double?

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

Link copied to clipboard
var textLineHeight: Double?

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

Link copied to clipboard
var textMaxAngle: Double?

The TextMaxAngle property

Link copied to clipboard
var textMaxWidth: Double?

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
var textOffset: List<Double>?

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

Link copied to clipboard
var textOpacity: Double?

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

Link copied to clipboard
var textOptional: Boolean?

The TextOptional property

Link copied to clipboard
var textPadding: Double?

The TextPadding property

Link copied to clipboard

The TextPitchAlignment property

Link copied to clipboard
var textRadialOffset: Double?

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

Link copied to clipboard
var textRotate: Double?

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
var textSize: Double?

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
var textTranslate: List<Double>?

The TextTranslate property

Link copied to clipboard

The TextTranslateAnchor property

Link copied to clipboard
var textVariableAnchor: List<String>?

The TextVariableAnchor property

Link copied to clipboard
var textWritingMode: List<String>?

The TextWritingMode property