776777778779780781782
public void moveMap(int x, int y) { tileController.cancelOutstandingJobs(); // Clear outstanding load center.x += x; center.y += y; repaint(); this.fireJMVEvent(new JMVCommandEvent(COMMAND.MOVE, this)); }
831832833834835836837
Coordinate zoomPos = getPosition(mapPoint); tileController.cancelOutstandingJobs(); // Clearing outstanding load // requests setDisplayPosition(mapPoint, zoomPos, zoom); this.fireJMVEvent(new JMVCommandEvent(COMMAND.ZOOM, this)); }