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
addClickListener
Link copied to clipboard
addDragListener
Link copied to clipboard
addInteractionListener
Link copied to clipboard
open fun addInteractionListener(i: OnPolylineAnnotationInteractionListener): Boolean
Content copied to clipboard
addLongClickListener
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
open override fun create(option: PolylineAnnotationOptions): PolylineAnnotation
Content copied to clipboard
open override fun create(options: List<PolylineAnnotationOptions>): List<PolylineAnnotation>
Content copied to clipboard
delete
Link copied to clipboard
enableDataDrivenProperty
Link copied to clipboard
getAnnotationIdKey
Link copied to clipboard
onSizeChanged
Link copied to clipboard
queryMapForFeatures
Link copied to clipboard
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PolylineAnnotation?
Content copied to clipboard
removeClickListener
Link copied to clipboard
open fun removeClickListener(u: OnPolylineAnnotationClickListener): Boolean
Content copied to clipboard
removeDragListener
Link copied to clipboard
open fun removeDragListener(d: OnPolylineAnnotationDragListener): Boolean
Content copied to clipboard
removeInteractionListener
Link copied to clipboard
open fun removeInteractionListener(i: OnPolylineAnnotationInteractionListener): Boolean
Content copied to clipboard
removeLongClickListener
Link copied to clipboard
open fun removeLongClickListener(v: OnPolylineAnnotationLongClickListener): Boolean
Content copied to clipboard
selectAnnotation
Link copied to clipboard
update
Link copied to clipboard
Properties
annotations
Link copied to clipboard
The added annotations
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnPolylineAnnotationClickListener>
Content copied to clipboard
The Added clickListeners
delegateProvider
Link copied to clipboard
The delegateProvider
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnPolylineAnnotationDragListener>
Content copied to clipboard
The added dragListeners
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnPolylineAnnotationInteractionListener>
Content copied to clipboard
The added interactionListener
layerFilter
Link copied to clipboard
The filter on the managed polylineAnnotations.
lineDasharray
Link copied to clipboard
The LineDasharray propertySpecifies the lengths of the alternating dashes and gaps that form the dash pattern.
lineMiterLimit
Link copied to clipboard
The LineMiterLimit propertyUsed to automatically convert miter joins to bevel joins for sharp angles.
lineRoundLimit
Link copied to clipboard
The LineRoundLimit propertyUsed to automatically convert round joins to miter joins for shallow angles.
lineTranslate
Link copied to clipboard
The LineTranslate propertyThe geometry's offset.
lineTranslateAnchor
Link copied to clipboard
The LineTranslateAnchor propertyControls the frame of reference for {@link PropertyFactory#lineTranslate}.
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnPolylineAnnotationLongClickListener>
Content copied to clipboard
The added longClickListeners