public abstract class AbstractTiledLayer extends AbstractGeotoolsLayer
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTiledLayer(jsr166y.ForkJoinPool forkJoinPool,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
AbstractLayerParams params)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract TileCacheInformation |
createTileInformation(MapBounds bounds,
java.awt.Rectangle paintArea,
double dpi,
boolean isFirstLayer)
Create the tile cache information object for the given parameters.
|
protected java.util.List<? extends org.geotools.map.Layer> |
getLayers(MfClientHttpRequestFactory httpRequestFactory,
MapfishMapContext mapContext,
boolean isFirstLayer)
Get the
DataStore object that contains the data for this layer. |
getFailOnError, getName, render, supportsNativeRotation, tryAddLayerprotected AbstractTiledLayer(jsr166y.ForkJoinPool forkJoinPool,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
AbstractLayerParams params)
forkJoinPool - the thread pool for doing the rendering.styleSupplier - strategy for loading the style for this layerparams - the parameters for this layerprotected final java.util.List<? extends org.geotools.map.Layer> getLayers(MfClientHttpRequestFactory httpRequestFactory, MapfishMapContext mapContext, boolean isFirstLayer) throws java.lang.Exception
AbstractGeotoolsLayerDataStore object that contains the data for this layer.getLayers in class AbstractGeotoolsLayerhttpRequestFactory - the factory for making http requestsmapContext - the map transformerisFirstLayer - true indicates this layer is the first layer in the map (the first layer drawn, ie the base layer)java.lang.Exceptionprotected abstract TileCacheInformation createTileInformation(MapBounds bounds, java.awt.Rectangle paintArea, double dpi, boolean isFirstLayer)
bounds - the map boundspaintArea - the area to paintdpi - the DPI to render atisFirstLayer - true indicates this layer is the first layer in the map (the first layer drawn, ie the base layer)