Class AbstractTiledLayer<T extends AbstractTiledLayerParams>

java.lang.Object
org.mapfish.print.map.geotools.AbstractGeotoolsLayer
org.mapfish.print.map.tiled.AbstractTiledLayer<T>
Type Parameters:
T - Type of the params supported by this layer.
All Implemented Interfaces:
MapLayer
Direct Known Subclasses:
OsmLayer, TiledWmsLayer, WMTSLayer

public abstract class AbstractTiledLayer<T extends AbstractTiledLayerParams> extends AbstractGeotoolsLayer
An abstract class to support implementing layers that consist of Raster tiles which are combined to compose a single raster to be drawn on the map.
  • Constructor Details

    • AbstractTiledLayer

      protected AbstractTiledLayer(@Nullable ForkJoinPool forkJoinPool, @Nullable StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier, @Nonnull T params, @Nullable com.codahale.metrics.MetricRegistry registry, @Nonnull Configuration configuration)
      Constructor.
      Parameters:
      forkJoinPool - the thread pool for doing the rendering.
      styleSupplier - strategy for loading the style for this layer.
      params - the parameters for this layer.
      registry - the metrics registry.
      configuration - the configuration.
    • AbstractTiledLayer

      protected AbstractTiledLayer(AbstractGeotoolsLayer other, @Nullable StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier, @Nullable com.codahale.metrics.MetricRegistry registry, @Nonnull Configuration configuration)
      Copy constructor.
      Parameters:
      other - The source.
      styleSupplier - strategy for loading the style for this layer.
      registry - the metrics registry.
      configuration - the configuration.
  • Method Details