if (MetatileMapProducer.isRequestTiled(request, delegate)) {
if (LOGGER.isLoggable(Level.FINER)) {
LOGGER.finer("Tiled request detected, activating on the fly meta tiler");
}
this.delegate = new MetatileMapProducer(request, (RasterMapProducer) delegate);
this.delegate.setMapContext(map);
}
final MapLayerInfo[] layers = request.getLayers();
final Style[] styles = request.getStyles().toArray(new Style[] {});