118119120121122123124125126127128
lastx -= xdiff; lasty -= ydiff; } lastx -= xdiff; lasty -=ydiff; Coordinate newCoo = vm.pixelToWorld(lastx, lasty); vm.setIsBoundsChanging(false); vm.setCenter(newCoo); }}); // SetViewportCenterCommand cmd = new SetViewportCenterCommand(newLoc);