PolylineAnnotationInteractionsState

The state holder for Interactions of PolylineAnnotation.

Constructors

Functions

Link copied to clipboard

Set onClick Callback to be invoked when the PolylineAnnotation is clicked. The clicked PolylineAnnotation will be passed as parameter. Returns reference to PolylineAnnotationInteractionsState for making chained calls.

Link copied to clipboard

Set onDragFinish Callback to be invoked when one of the PolylineAnnotation dragging has finished. The dragged PolylineAnnotation will be passed as parameter.

Link copied to clipboard

Set onDrag Callback to be invoked when one of the PolylineAnnotation dragging is in progress. The dragged PolylineAnnotation will be passed as parameter.

Link copied to clipboard

Set onDragStart Callback to be invoked when one of the PolylineAnnotation dragging has started. The dragged PolylineAnnotation will be passed as parameter.

Link copied to clipboard

Set onLongClick Callback to be invoked when one of the PolylineAnnotation is long clicked. The long clicked PolylineAnnotation will be passed as parameter. Returns reference to PolylineAnnotationInteractionsState for making chained calls.

Properties

Link copied to clipboard

Set whether PolylineAnnotation holding this PolylineAnnotationInteractionsState should be draggable, meaning it can be dragged across the screen when touched and moved. Note: If this param is used when PolylineAnnotation is also part of the cluster, then once PolylineAnnotation is dragged, it moves out of the cluster and can't be added back to it and is rendered as a separate PolylineAnnotation.