MGLAnnotationViewDragState
enum MGLAnnotationViewDragState : NSUInteger {}
These constants indicate the current drag state of an annotation view.
-
The view is not involved in a drag operation.
Declaration
Objective-C
MGLAnnotationViewDragStateNone = 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
MGLAnnotationViewDragStateStarting
-
The view is in the midst of a drag operation and is actively tracking the user’s gesture.
Declaration
Objective-C
MGLAnnotationViewDragStateDragging
-
An action occurred that indicated the view should cancel the drag operation.
Declaration
Objective-C
MGLAnnotationViewDragStateCanceling
-
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