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
Link copied to clipboard
Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<PolylineAnnotation>
fun create(json: String): List<PolylineAnnotation>

Create a list of polylineAnnotations on the map.

Create an annotation with the option

open override fun create(options: List<PolylineAnnotationOptions>): List<PolylineAnnotation>

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.

fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PolylineAnnotation?

Query the rendered annotation for given screen coordinate.

Link copied to clipboard
Link copied to clipboard
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
@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<OnPolylineAnnotationClickListener>

The Added clickListeners

Link copied to clipboard

The delegateProvider

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

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

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

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

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

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

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

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

The LineDasharray property

Link copied to clipboard

The LineDepthOcclusionFactor property

Link copied to clipboard

The LineEmissiveStrength property

Link copied to clipboard
var lineGapWidth: Double?

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

The LineMiterLimit property

Link copied to clipboard

The LineOcclusionOpacity property

Link copied to clipboard
var lineOffset: Double?

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

Link copied to clipboard
var lineOpacity: Double?

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

Link copied to clipboard
var linePattern: String?

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

Link copied to clipboard
var lineRoundLimit: Double?

The LineRoundLimit property

Link copied to clipboard
var lineSortKey: Double?

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

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

The LineTranslate property

Link copied to clipboard

The LineTranslateAnchor property

Link copied to clipboard

The LineTrimColor property

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

The LineTrimColor property

Link copied to clipboard

Get the LineTrimColor property

Link copied to clipboard

The LineTrimFadeRange property

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

The LineTrimOffset property

Link copied to clipboard
var lineWidth: Double?

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