Added support for simple gestures on map

This commit is contained in:
Denis 2014-10-02 14:33:09 +03:00
parent f78bb5ee96
commit c004d93891
2 changed files with 6 additions and 1 deletions

View file

@ -733,4 +733,9 @@ public class MapActivity extends AccessibleActivity {
public View getLayout() {
return getWindow().getDecorView().findViewById(android.R.id.content);
}
@Override
public boolean onTouchEvent(MotionEvent event) {
return mapViewController.onTouchEvent(event);
}
}

View file

@ -67,7 +67,7 @@ public class NativeViewController extends MapViewBaseController {
private QIODeviceLogSink fileLogSink;
private RotatedTileBox currentViewport = null;
private boolean offlineMap = false;
private boolean offlineMap = true;
private GestureDetector gestureDetector;