public abstract class AbstractSingleImageLayer extends AbstractGeotoolsLayer
MapLayer.RenderType| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSingleImageLayer(java.util.concurrent.ExecutorService executorService,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
AbstractLayerParams params)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getImageBufferScaling()
Get the scale ratio between the tiles resolution and the target resolution.
|
protected java.util.List<? extends org.geotools.map.Layer> |
getLayers(MfClientHttpRequestFactory httpRequestFactory,
MapfishMapContext mapContext,
Processor.ExecutionContext context)
Get the
DataStore object that contains the data for this layer. |
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> |
getStyleSupplier() |
protected abstract java.awt.image.BufferedImage |
loadImage(MfClientHttpRequestFactory requestFactory,
MapfishMapContext transformer)
Load the image at the requested size for the provided map bounds.
|
getFailOnError, getLayerTransformer, getName, getOpacity, prefetchResources, prepareRender, render, supportsNativeRotation, tryAddLayerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRenderTypeprotected AbstractSingleImageLayer(java.util.concurrent.ExecutorService executorService,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
AbstractLayerParams params)
executorService - the thread pool for doing the rendering.styleSupplier - the style to use when drawing the constructed grid coverage on the map.params - the parameters for this layerprotected final java.util.List<? extends org.geotools.map.Layer> getLayers(MfClientHttpRequestFactory httpRequestFactory, MapfishMapContext mapContext, Processor.ExecutionContext context)
AbstractGeotoolsLayerDataStore object that contains the data for this layer.getLayers in class AbstractGeotoolsLayerhttpRequestFactory - the factory for making http requestsmapContext - the map transformercontext - the job IDprotected abstract java.awt.image.BufferedImage loadImage(MfClientHttpRequestFactory requestFactory, MapfishMapContext transformer) throws java.lang.Throwable
requestFactory - the factory to use for making http requeststransformer - object containing map rendering informationjava.lang.Throwablepublic final double getImageBufferScaling()
MapLayerpublic StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> getStyleSupplier()