PolylineAnnotationManager

Constructors

PolylineAnnotationManager
Link copied to clipboard
fun PolylineAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig? = null)

Types

Companion
Link copied to clipboard
object Companion
Static variables and methods.

Functions

addClickListener
Link copied to clipboard
open fun addClickListener(u: OnPolylineAnnotationClickListener): Boolean
addDragListener
Link copied to clipboard
open fun addDragListener(d: OnPolylineAnnotationDragListener): Boolean
addInteractionListener
Link copied to clipboard
addLongClickListener
Link copied to clipboard
open fun addLongClickListener(v: OnPolylineAnnotationLongClickListener): Boolean
create
Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<PolylineAnnotation>
Create a list of polylineAnnotations on the map.
fun create(json: String): List<PolylineAnnotation>
Create a list of polylineAnnotations on the map.
open override fun create(option: PolylineAnnotationOptions): PolylineAnnotation
Create an annotation with the option
open override fun create(options: List<PolylineAnnotationOptions>): List<PolylineAnnotation>
Create some annotations with the options
delete
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
deleteAll
Link copied to clipboard
open override fun deleteAll()
Delete all the added annotations
enableDataDrivenProperty
Link copied to clipboard
open override fun enableDataDrivenProperty(property: String)
Enable a data-driven property
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getAnnotationIdKey
Link copied to clipboard
open override fun getAnnotationIdKey(): String
Get the key of the id of the annotation.
hashCode
Link copied to clipboard
open fun hashCode(): Int
onDestroy
Link copied to clipboard
open override fun onDestroy()
Invoked when Mapview or Annotation manager is destroyed.
onSizeChanged
Link copied to clipboard
open override fun onSizeChanged(width: Int, height: Int)
Invoked when MapView's width and height have changed.
queryMapForFeatures
Link copied to clipboard
fun queryMapForFeatures(point: Point): PolylineAnnotation?
Query the rendered annotation around the point
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PolylineAnnotation?
Query the rendered annotation around the point
removeClickListener
Link copied to clipboard
open fun removeClickListener(u: OnPolylineAnnotationClickListener): Boolean
removeDragListener
Link copied to clipboard
open fun removeDragListener(d: OnPolylineAnnotationDragListener): Boolean
removeInteractionListener
Link copied to clipboard
removeLongClickListener
Link copied to clipboard
selectAnnotation
Link copied to clipboard
open override fun selectAnnotation(annotation: PolylineAnnotation)
Toggles the annotation's selection state.
toString
Link copied to clipboard
open fun toString(): String
update
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

annotations
Link copied to clipboard
open override val annotations: List<PolylineAnnotation>
The added annotations
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnPolylineAnnotationClickListener>
The Added clickListeners
delegateProvider
Link copied to clipboard
override val delegateProvider: MapDelegateProvider
The delegateProvider
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnPolylineAnnotationDragListener>
The added dragListeners
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnPolylineAnnotationInteractionListener>
The added interactionListener
layerFilter
Link copied to clipboard
open override var layerFilter: Expression?
The filter on the managed polylineAnnotations.
lineCap
Link copied to clipboard
var lineCap: LineCap?
The LineCap propertyThe display of line endings.
lineDasharray
Link copied to clipboard
var lineDasharray: List<Double>?
The LineDasharray propertySpecifies the lengths of the alternating dashes and gaps that form the dash pattern.
lineMiterLimit
Link copied to clipboard
var lineMiterLimit: Double?
The LineMiterLimit propertyUsed to automatically convert miter joins to bevel joins for sharp angles.
lineRoundLimit
Link copied to clipboard
var lineRoundLimit: Double?
The LineRoundLimit propertyUsed to automatically convert round joins to miter joins for shallow angles.
lineTranslate
Link copied to clipboard
var lineTranslate: List<Double>?
The LineTranslate propertyThe geometry's offset.
lineTranslateAnchor
Link copied to clipboard
var lineTranslateAnchor: LineTranslateAnchor?
The LineTranslateAnchor propertyControls the frame of reference for {@link PropertyFactory#lineTranslate}.
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnPolylineAnnotationLongClickListener>
The added longClickListeners