break;
case PS_MOVE: {
Point translation = new Point(tile.x - mousePressLocation.x,
tile.y - mousePressLocation.y);
layer.translate(translation.x, translation.y);
mousePressLocation = tile;
moveDist.x += translation.x;
moveDist.y += translation.y;
mapView.redraw();
break;