Polyline Annotation Manager
class PolylineAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig?) : AnnotationManagerImpl<LineString, PolylineAnnotation, PolylineAnnotationOptions, OnPolylineAnnotationDragListener, OnPolylineAnnotationClickListener, OnPolylineAnnotationLongClickListener, OnPolylineAnnotationInteractionListener, LineLayer>
Content copied to clipboard
The polylineAnnotation manager allows to add polylineAnnotations to a map.
Constructors
PolylineAnnotationManager
Link copied to clipboard
fun PolylineAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig? = null)
Content copied to clipboard
Types
Functions
add Click Listener
Link copied to clipboard
add Drag Listener
Link copied to clipboard
add Interaction Listener
Link copied to clipboard
open fun addInteractionListener(i: OnPolylineAnnotationInteractionListener): Boolean
Content copied to clipboard
add Long Click Listener
Link copied to clipboard
open fun addLongClickListener(v: OnPolylineAnnotationLongClickListener): Boolean
Content copied to clipboard
create
Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<PolylineAnnotation>
Content copied to clipboard
Create a list of polylineAnnotations on the map.
open override fun create(option: PolylineAnnotationOptions): PolylineAnnotation
Content copied to clipboard
Create an annotation with the option
open override fun create(options: List<PolylineAnnotationOptions>): List<PolylineAnnotation>
Content copied to clipboard
Create some annotations with the options
delete
Link copied to clipboard
Delete the annotation
Delete annotations in the list
enable Data Driven Property
Link copied to clipboard
Enable a data-driven property
get Annotation Id Key
Link copied to clipboard
Get the key of the id of the annotation.
on Size Changed
Link copied to clipboard
Invoked when MapView's width and height have changed.
query Map For Features
Link copied to clipboard
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PolylineAnnotation?
Content copied to clipboard
Query the rendered annotation around the point
remove Click Listener
Link copied to clipboard
open fun removeClickListener(u: OnPolylineAnnotationClickListener): Boolean
Content copied to clipboard
remove Drag Listener
Link copied to clipboard
open fun removeDragListener(d: OnPolylineAnnotationDragListener): Boolean
Content copied to clipboard
remove Interaction Listener
Link copied to clipboard
open fun removeInteractionListener(i: OnPolylineAnnotationInteractionListener): Boolean
Content copied to clipboard
remove Long Click Listener
Link copied to clipboard
open fun removeLongClickListener(v: OnPolylineAnnotationLongClickListener): Boolean
Content copied to clipboard
select Annotation
Link copied to clipboard
Toggles the annotation's selection state. If the annotation is deselected, it becomes selected. If the annotation is selected, it becomes deselected.
update
Link copied to clipboard
Update the annotation
Update annotations in the list
Properties
annotations
Link copied to clipboard
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnPolylineAnnotationClickListener>
Content copied to clipboard
delegateProvider
Link copied to clipboard
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnPolylineAnnotationDragListener>
Content copied to clipboard
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnPolylineAnnotationInteractionListener>
Content copied to clipboard
layerFilter
Link copied to clipboard
lineDasharray
Link copied to clipboard
lineMiterLimit
Link copied to clipboard
lineRoundLimit
Link copied to clipboard
lineTranslate
Link copied to clipboard
lineTranslateAnchor
Link copied to clipboard
lineTrimOffset
Link copied to clipboard
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnPolylineAnnotationLongClickListener>
Content copied to clipboard