public abstract class AbstractGridCoverage2DReaderLayer extends AbstractGeotoolsLayer
MapLayer.RenderType| 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 |
|---|---|
double |
getImageBufferScaling()
Get the scale ratio between the tiles resolution and the target resolution.
|
java.util.List<? extends org.geotools.map.Layer> |
getLayers(MfClientHttpRequestFactory httpRequestFactory,
MapfishMapContext mapContext)
Get the
DataStore object that contains the data for this layer. |
cacheResources, getFailOnError, getLayerTransformer, getName, prepareRender, render, supportsNativeRotation, tryAddLayerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRenderTypepublic 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 double getImageBufferScaling()
MapLayerpublic final java.util.List<? extends org.geotools.map.Layer> getLayers(MfClientHttpRequestFactory httpRequestFactory, MapfishMapContext mapContext) 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 transformerjava.lang.Exception