public class RotationGestureDetector extends Object
RotationGestureDetector.RotationListener
will not fire as expected. It is used internally by osmdroid. If you want
to listen for rotation changes on the MapView
then use MapView.setMapListener(MapListener)
and check for MapView.getMapOrientation()
. See https://github.com/osmdroid/osmdroid/issues/628Modifier and Type | Class and Description |
---|---|
static interface |
RotationGestureDetector.RotationListener
heads up, this class is used internally by osmdroid, you're welcome to use but it the interface
RotationGestureDetector.RotationListener will not fire as expected. |
Modifier and Type | Field and Description |
---|---|
protected float |
mRotation |
Constructor and Description |
---|
RotationGestureDetector(RotationGestureDetector.RotationListener listener) |
public RotationGestureDetector(RotationGestureDetector.RotationListener listener)
public void onTouch(MotionEvent e)