onMapMove

abstract fun onMapMove(e1: MotionEvent, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean

Notified when a move occurs with the initial on down MotionEvent and the current move MotionEvent. The distance in x and y is also supplied for convenience.

Return

true if the event is consumed, else false

Parameters

e1

The first down motion event that started the scrolling.

e2

The move motion event that triggered the current onScroll.

distanceX

The distance along the X axis that has been scrolled since the last call to onScroll. This is NOT the distance between e1 and e2.

distanceY

The distance along the Y axis that has been scrolled since the last call to onScroll. This is NOT the distance between e1 and e2.