Class AbstractSingleImageLayer

java.lang.Object
org.mapfish.print.map.geotools.AbstractGeotoolsLayer
org.mapfish.print.map.image.AbstractSingleImageLayer
All Implemented Interfaces:
MapLayer
Direct Known Subclasses:
ImageLayer, WmsLayer

public abstract class AbstractSingleImageLayer extends AbstractGeotoolsLayer
Common implementation for layers that are represented as a single grid coverage image.
  • Field Details

    • registry

      @Nonnull protected final com.codahale.metrics.MetricRegistry registry
      The metrics object.
    • configuration

      protected final Configuration configuration
      The configuration.
  • Constructor Details

    • AbstractSingleImageLayer

      protected AbstractSingleImageLayer(ExecutorService executorService, StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier, AbstractLayerParams params, @Nonnull com.codahale.metrics.MetricRegistry registry, Configuration configuration)
      Constructor.
      Parameters:
      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 layer
      registry - the metrics object.
      configuration - the configuration
  • Method Details