public class WMTSLayer extends AbstractTiledLayer
MapLayer.RenderTypeimageBufferScaling| Modifier | Constructor and Description |
|---|---|
protected |
WMTSLayer(java.util.concurrent.ForkJoinPool forkJoinPool,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
WMTSLayerParam param,
com.codahale.metrics.MetricRegistry registry,
Configuration configuration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.net.URI |
createRestURI(java.lang.String matrixId,
int row,
int col,
WMTSLayerParam layerParam)
Prepare the baseURL to make a request.
|
protected TileCacheInformation |
createTileInformation(MapBounds bounds,
java.awt.Rectangle paintArea,
double dpi)
Create the tile cache information object for the given parameters.
|
MapLayer.RenderType |
getRenderType()
Specify whether layer should be rendered as PNG, JPEG or SVG.
|
getImageBufferScaling, getLayers, prefetchResources, prepareRendergetFailOnError, getLayerTransformer, getName, getOpacity, render, supportsNativeRotation, tryAddLayerprotected WMTSLayer(@Nullable
java.util.concurrent.ForkJoinPool forkJoinPool,
@Nullable
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
@Nonnull
WMTSLayerParam param,
@Nullable
com.codahale.metrics.MetricRegistry registry,
@Nonnull
Configuration configuration)
forkJoinPool - the thread pool for doing the rendering.styleSupplier - strategy for loading the style for this layerparam - the information needed to create WMTS requests.registry - the metrics registry.configuration - the configuration.public static java.net.URI createRestURI(java.lang.String matrixId,
int row,
int col,
WMTSLayerParam layerParam)
throws java.net.URISyntaxException
matrixId - matrixIdrow - rowcol - coldlayerParam - layerParamjava.net.URISyntaxExceptionprotected final 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 final MapLayer.RenderType getRenderType()
MapLayer