this.setMinActiveAltitude(1);
}
private static LevelSet makeLevels(URLBuilder urlBuilder)
{
AVList params = new AVListImpl();
params.setValue(AVKey.TILE_WIDTH, 512);
params.setValue(AVKey.TILE_HEIGHT, 512);
params.setValue(AVKey.DATA_CACHE_NAME, "geoservices.brgm.fr/risques/REM_NAPPE_SEDIM");
params.setValue(AVKey.SERVICE, "http://geoservices.brgm.fr/risques");
params.setValue(AVKey.DATASET_NAME, "REM_NAPPE_SEDIM");
params.setValue(AVKey.FORMAT_SUFFIX, ".gif");
params.setValue(AVKey.TRANSPARENCY_COLORS, 0);
params.setValue(AVKey.NUM_LEVELS, 20);
params.setValue(AVKey.NUM_EMPTY_LEVELS, 0);
params.setValue(AVKey.LEVEL_ZERO_TILE_DELTA, new LatLon(Angle.fromDegrees(.2d), Angle.fromDegrees(.2d)));
params.setValue(AVKey.SECTOR, Sector.fromDegrees(41.32526397666552, 51.20139642647427, -5.625179091996616, 11.1443951255116));
params.setValue(AVKey.TILE_URL_BUILDER, urlBuilder);
//params.setValue(AVKey.EXPIRY_TIME, new GregorianCalendar(2007, 7, 6).getTimeInMillis());
return new LevelSet(params);
}