Interface OnAnnotationDragListener
Defines the listener interface for drag events in the IAnnotation instance
Namespace:
Assembly: .dll
Syntax
public interface OnAnnotationDragListener
Methods
onDragDelta(IAnnotation annotation, float horizontalOffset, float verticalOffset)
Called when annotation is dragged or moved
Declaration
public abstract void onDragDelta(IAnnotation annotation, float horizontalOffset, float verticalOffset)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | The target annotation |
float | horizontalOffset | The horizontal offset in pixels since last drag event |
float | verticalOffset | The horizontal offset in pixels since last drag event |
onDragEnded(IAnnotation annotation)
Called when a Drag or Move operation ends
Declaration
public abstract void onDragEnded(IAnnotation annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | The target annotation |
onDragStarted(IAnnotation annotation)
Called when a Drag or move operation starts
Declaration
public abstract void onDragStarted(IAnnotation annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | The target annotation |