Class AbstractTiledLayer

  • All Implemented Interfaces:
    MapLayer
    Direct Known Subclasses:
    OsmLayer, TiledWmsLayer, WMTSLayer

    public abstract class AbstractTiledLayer
    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.
    • Field Detail

      • imageBufferScaling

        protected double imageBufferScaling
        The scale ratio between the tiles resolution and the target resolution.
    • Constructor Detail

      • AbstractTiledLayer

        protected AbstractTiledLayer​(@Nullable
                                     java.util.concurrent.ForkJoinPool forkJoinPool,
                                     @Nullable
                                     StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
                                     @Nonnull
                                     AbstractLayerParams 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.