// and request groups of tiles at a time so we don't overload the
// server with too many requests at once.
double[] resolutions = tileset.getResolutions();
double percentPerResolution = (double) resolutions.length / 100.0;
tileRangeTiles = new HashMap<String, Tile>();
requestTileWorkQueue = new TileWorkerQueue();
writeTileWorkQueue = new TileWorkerQueue();
maxTileRequestsPerGroup = requestTileWorkQueue.getThreadPoolSize();
int resCount = 0;
try {
for( double resolution : resolutions ) {