simplify map listener handling
This commit is contained in:
@@ -218,7 +218,7 @@ public class MapView extends RelativeLayout {
|
||||
mPausing = false;
|
||||
}
|
||||
|
||||
AndroidMotionEvent mMotionEvent = new AndroidMotionEvent(this);
|
||||
AndroidMotionEvent mMotionEvent = new AndroidMotionEvent();
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(android.view.MotionEvent motionEvent) {
|
||||
|
||||
@@ -18,15 +18,6 @@ import org.oscim.event.MotionEvent;
|
||||
|
||||
public class AndroidMotionEvent extends MotionEvent {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public AndroidMotionEvent(Object source) {
|
||||
super(source);
|
||||
}
|
||||
|
||||
android.view.MotionEvent mEvent;
|
||||
|
||||
public void wrap(android.view.MotionEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user