// no bounds means whole world
center = getProjection().latlon2eastNorth(new LatLon(0, 0));
EastNorth world = getProjection().latlon2eastNorth(
new LatLon(Projection.MAX_LAT, Projection.MAX_LON));
double scaleX = world.east() * 2 / w;
double scaleY = world.north() * 2 / h;
scale = Math.max(scaleX, scaleY); // minimum scale to see all of the
// screen
} else {
if (box.min.equals(box.max))
box.enlargeBoundingBox();