TwoPointerTapEvent

data class TwoPointerTapEvent(val screenMidpoint: ScreenCoordinate, val mapMidpoint: Point?)

Represents a two-pointer tap gesture.

This event is triggered when the user taps two pointers on the screen simultaneously.

Obtain this event from the MapView.onTwoPointerTap flow.

Since

200.0.0

See also

Constructors

Link copied to clipboard
constructor(screenMidpoint: ScreenCoordinate, mapMidpoint: Point?)

Properties

Link copied to clipboard

screenMidpoint converted to map coordinates, or null if the conversion could not be determined

Link copied to clipboard

the midpoint in screen coordinates between the two pointers that tapped on the screen