PointAnnotationGroupInteractionsState

The state holder for Interactions of PointAnnotationGroup.

Constructors

Functions

Link copied to clipboard

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

Link copied to clipboard

Set onClusterClick Callback to be invoked when one of the clusters is clicked. The clicked cluster represented by a Feature wrapped with ClusterFeature with additional properties. Returns reference to PointAnnotationGroupInteractionsState for making chained calls.

Link copied to clipboard

Set onClusterLongClick Callback to be invoked when one of the clusters is long clicked. The clicked cluster represented by a Feature wrapped with ClusterFeature with additional properties. Returns reference to PointAnnotationGroupInteractionsState for making chained calls.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Properties

Link copied to clipboard

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