LongPressDelegate
public protocol LongPressDelegate : AnyObject
Protocol for handling long-press gestures. Long-press gesture occurs after tapping and holding the finger for a long time on the screen.
-
Called when the double long press gesture occurs.
Declaration
Swift
func onLongPress(state: GestureState, origin: Point2D)Parameters
stateDetermines in which state the gesture is.
originPosition of the touch point relative to the MapView in pixels.