<BUG>Bounds bounds = proj.getWorldBoundsLatLon();EastNorth min = proj.latlon2eastNorth(bounds.getMin());EastNorth max = proj.latlon2eastNorth(bounds.getMax());</BUG><CONTEXT>}public void initProjection() {initProjection(Main.getProjection());}public void initProjection(Projection proj) {<extra_id_0>this.topLeftCorner = new EastNorth(min.east(), max.north());</CONTEXT>
this.worldBounds = getWorldBounds();EastNorth min = proj.latlon2eastNorth(worldBounds.getMin());EastNorth max = proj.latlon2eastNorth(worldBounds.getMax());