group.addGestureListener(DragProcessor.class, new DefaultDragAction());
group.addGestureListener(DragProcessor.class, new InertiaDragAction(80, 0.8f, 10));
group.registerInputProcessor(new RotateProcessor(mtApplication));
group.addGestureListener(RotateProcessor.class, new DefaultRotateAction());
//Scale the earth from the center. Else it might get distorted
group.registerInputProcessor(new ScaleProcessor(mtApplication));
group.addGestureListener(ScaleProcessor.class, new IGestureEventListener() {
public boolean processGestureEvent(MTGestureEvent ge) {
ScaleEvent se = (ScaleEvent)ge;
earth.scaleGlobal(se.getScaleFactorX(), se.getScaleFactorY(), se.getScaleFactorX(), earth.getCenterPointGlobal());
return false;