PolylineAnnotationManager

Constructors

Link copied to clipboard
fun PolylineAnnotationManager(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<PolylineAnnotation>

Create a list of polylineAnnotations on the map.

Create an annotation with the option

Create some annotations with the options

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

Delete the annotation

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

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

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

Update the annotation

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

Update annotations in the list

Properties

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

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 added interactionListener

Link copied to clipboard
open override var layerFilter: Expression?

The filter on the managed polylineAnnotations.

Link copied to clipboard

The LineCap property

Link copied to clipboard

The LineDasharray property

Link copied to clipboard

The LineDepthOcclusionFactor property

Link copied to clipboard

The LineEmissiveStrength property

Link copied to clipboard

The LineMiterLimit property

Link copied to clipboard

The LineRoundLimit property

Link copied to clipboard

The LineTranslate property

Link copied to clipboard

The LineTranslateAnchor property

Link copied to clipboard

The LineTrimOffset property

Link copied to clipboard

The added longClickListeners

Link copied to clipboard
var slot: String?

The Slot property