public class AbstractGridCoverage2DReaderLayer extends AbstractGeotoolsLayer
| Constructor and Description |
|---|
AbstractGridCoverage2DReaderLayer(com.google.common.base.Function<MfClientHttpRequestFactory,org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> coverage2DReader,
StyleSupplier<org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> style,
java.util.concurrent.ExecutorService executorService,
AbstractLayerParams params)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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, tryAddLayerpublic AbstractGridCoverage2DReaderLayer(com.google.common.base.Function<MfClientHttpRequestFactory,org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> coverage2DReader, StyleSupplier<org.geotools.coverage.grid.io.AbstractGridCoverage2DReader> style, java.util.concurrent.ExecutorService executorService, AbstractLayerParams params)
coverage2DReader - the coverage2DReader for reading the grid coverage data.style - style to use for rendering the data.executorService - the thread pool for doing the rendering.params - the parameters for this layerpublic 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.Exception