PolygonAnnotationManager

Constructors

Link copied to clipboard
fun PolygonAnnotationManager(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<PolygonAnnotation>

Create a list of polygonAnnotations on the map.

Create an annotation with the option

Create some annotations with the options

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

Delete the annotation

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

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

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

Update the annotation

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

Update annotations in the list

Properties

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

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The FillEmissiveStrength property

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The FillTranslate property

Link copied to clipboard

The FillTranslateAnchor property

Link copied to clipboard

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

Link copied to clipboard

The added interactionListener

Link copied to clipboard
open override var layerFilter: Expression?

The filter on the managed polygonAnnotations.

Link copied to clipboard

The added longClickListeners

Link copied to clipboard
var slot: String?

The Slot property