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 = 0Swift
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
MGLAnnotationViewDragStateStartingSwift
case starting = 1 -
The view is in the midst of a drag operation and is actively tracking the user’s gesture.
Declaration
Objective-C
MGLAnnotationViewDragStateDraggingSwift
case dragging = 2 -
An action occurred that indicated the view should cancel the drag operation.
Declaration
Objective-C
MGLAnnotationViewDragStateCancelingSwift
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
MGLAnnotationViewDragStateEndingSwift
case ending = 4
Install in Dash
MGLAnnotationViewDragState Enumeration Reference