Added support for simple gestures on map
This commit is contained in:
parent
f78bb5ee96
commit
c004d93891
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue