if (raster != null && proj instanceof EqualArc && proj.getScale() >= generatedScale && !isIncompleteImage()) {
if (raster != null && proj instanceof EqualArc && proj.getScale() == generatedScale && !isIncompleteImage()) {
    public OMGraphic generate(OMGrid grid, Projection proj) {        // Make a decision based on the last projection to see if we        // should generate a new raster from the data with better        // detail.        if (raster != null && proj instanceof EqualArc &&             proj.getScale() >= generatedScale && !isIncompleteImage()) {            raster.generate(proj);            return raster;        } else {            generatedScale = proj.getScale();            return super.generate(grid, proj);        }    }