TwoFingerTapDelegate Protocol Reference
- Last UpdatedMay 13, 2025
- 1 minute read
public protocol TwoFingerTapDelegate : AnyObject
Protocol for handling two finger tap gestures. Two finger tap gesture occurs after tapping on the screen with two fingers.
-
Called when the double-tap gesture occurs.
Declaration
Swift
func onTwoFingerTap(origin: Point2D)
Parameters
origin
Position halfway between two touch points relative to the MapView in pixels.