if (isPanning && arg0.getSource() instanceof MapBean) {
MapBean mb = (MapBean) arg0.getSource();
Projection proj = mb.getProjection();
Point center = proj.forward(proj.getCenter());
center.setLocation(center.getX() - arg0.getX() + oX, center.getY() - arg0.getY() + oY);
mb.setCenter(proj.inverse(center));
isPanning = false;
// bufferedMapImage = null; //clean up when not active...
}
super.mouseReleased(arg0);
}