# MGLAnnotationViewDragState

    enum MGLAnnotationViewDragState {}

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

- `MGLAnnotationViewDragStateNone`

  The view is not involved in a drag operation.

  #### Declaration

  Objective-C

      MGLAnnotationViewDragStateNone = 0

  Swift

      case none = 0

  View Source on GitHub
- `MGLAnnotationViewDragStateStarting`

  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

      MGLAnnotationViewDragStateStarting

  Swift

      case starting = 1

  View Source on GitHub
- `MGLAnnotationViewDragStateDragging`

  The view is in the midst of a drag operation and is actively tracking the user’s gesture.

  #### Declaration

  Objective-C

      MGLAnnotationViewDragStateDragging

  Swift

      case dragging = 2

  View Source on GitHub
- `MGLAnnotationViewDragStateCanceling`

  An action occurred that indicated the view should cancel the drag operation.

  #### Declaration

  Objective-C

      MGLAnnotationViewDragStateCanceling

  Swift

      case canceling = 3

  View Source on GitHub
- `MGLAnnotationViewDragStateEnding`

  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

      MGLAnnotationViewDragStateEnding

  Swift

      case ending = 4

  View Source on GitHub