DingiAnnotationViewDragState

enum DingiAnnotationViewDragState {}

These constants indicate the current drag state of an annotation view.

  • The view is not involved in a drag operation.

    Declaration

    Objective-C

    DingiAnnotationViewDragStateNone = 0

    Swift

    case none = 0
  • An action occurred that indicated the view should begin dragging.

    The map view automatically moves draggable annotation views to this state in response to the dragging the view after pressing and holding on it.

    Declaration

    Objective-C

    DingiAnnotationViewDragStateStarting

    Swift

    case starting = 1
  • The view is in the midst of a drag operation and is actively tracking the user’s gesture.

    Declaration

    Objective-C

    DingiAnnotationViewDragStateDragging

    Swift

    case dragging = 2
  • An action occurred that indicated the view should cancel the drag operation.

    Declaration

    Objective-C

    DingiAnnotationViewDragStateCanceling

    Swift

    case canceling = 3
  • An action occurred that indicated the view was dropped by the user.

    The map view automatically moves annotation views to this state in response to the user lifting their finger at the end of a drag gesture.

    Declaration

    Objective-C

    DingiAnnotationViewDragStateEnding

    Swift

    case ending = 4