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

Query the rendered annotation for given screen coordinate.

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

Link copied to clipboard
open override var layerFilter: Expression?

The filter on the managed polylineAnnotations.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The LineCap property

Link copied to clipboard

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

Link copied to clipboard

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

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

Link copied to clipboard

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

Link copied to clipboard

The LineMiterLimit property

Link copied to clipboard

The LineOcclusionOpacity property

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The LineRoundLimit property

Link copied to clipboard

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

Link copied to clipboard

The LineTranslate property

Link copied to clipboard

The LineTranslateAnchor property

Link copied to clipboard

The LineTrimColor property

Link copied to clipboard

The LineTrimFadeRange property

Link copied to clipboard

The LineTrimOffset property

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The added longClickListeners

Link copied to clipboard
var slot: String?

The Slot property