Interface TwoFingerPanListener


  • public interface TwoFingerPanListener

    Interface for handling two finger pan gestures. Two finger pan gesture occurs when two fingers are on the screen and both of them are moving vertically.

    • Method Detail

      • onTwoFingerPan

        void onTwoFingerPan​(@NonNull
                            GestureState state,
                            @NonNull
                            Point2D origin,
                            @NonNull
                            Point2D translation,
                            double velocity)

        Called when the two finger pan gesture occurs.

        Parameters:
        state -

        Determines in which state the gesture is.

        origin -

        Position halfway between two touch points relative to the MapView in pixels.

        translation -

        Translation offset since the last position in pixels.

        velocity -

        Velocity of panning in pixels per millisecond.