} else if (tuioCursor1 != null) {
// One finger: pan
if (tuioCursor1.getCursorID() == tcur.getCursorID()) {
TuioPoint oldTuioPoint = tcur.getPath().get(tcur.getPath().size() - 2);
Location fromLocation = map.mapDisplay.getLocation(oldTuioPoint.getScreenX(p.width),
oldTuioPoint.getScreenY(p.height));
Location toLocation = map.mapDisplay.getLocation(tuioCursor1.getScreenX(p.width),
tuioCursor1.getScreenY(p.height));
PanMapEvent panMapEvent = new PanMapEvent(this, map.getId(), PanMapEvent.PAN_BY);
panMapEvent.setFromLocation(fromLocation);