public final class TiledWmsLayer extends AbstractTiledLayer
MapLayer.RenderTypeimageBufferScaling| Constructor and Description |
|---|
TiledWmsLayer(jsr166y.ForkJoinPool forkJoinPool,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
TiledWmsLayerParam param,
com.codahale.metrics.MetricRegistry registry,
Configuration configuration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected TileCacheInformation |
createTileInformation(MapBounds bounds,
java.awt.Rectangle paintArea,
double dpi)
Create the tile cache information object for the given parameters.
|
TiledWmsLayerParam |
getParams()
Get the HTTP params.
|
MapLayer.RenderType |
getRenderType()
Specify whether layer should be rendered as PNG, JPEG or SVG.
|
cacheResources, getImageBufferScaling, getLayers, prepareRendergetFailOnError, getLayerTransformer, getName, render, supportsNativeRotation, tryAddLayerpublic TiledWmsLayer(@Nonnull
jsr166y.ForkJoinPool forkJoinPool,
@Nonnull
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
@Nonnull
TiledWmsLayerParam param,
@Nonnull
com.codahale.metrics.MetricRegistry registry,
@Nonnull
Configuration configuration)
forkJoinPool - the thread pool for doing the rendering.styleSupplier - strategy for loading the style for this layer.param - the information needed to create WMS requests.registry - the metrics registry.configuration - the configuration.public TiledWmsLayerParam getParams()
protected TileCacheInformation createTileInformation(MapBounds bounds, java.awt.Rectangle paintArea, double dpi)
AbstractTiledLayercreateTileInformation in class AbstractTiledLayerbounds - the map boundspaintArea - the area to paintdpi - the DPI to render atpublic MapLayer.RenderType getRenderType()
MapLayer