public class WMTSLayer extends AbstractTiledLayer
| Modifier | Constructor and Description |
|---|---|
protected |
WMTSLayer(jsr166y.ForkJoinPool forkJoinPool,
jsr166y.ForkJoinPool requestForkJoinPool,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
WMTSLayerParam param,
com.codahale.metrics.MetricRegistry registry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.net.URI |
createRestURI(java.lang.String commonURL,
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,
boolean isFirstLayer)
Create the tile cache information object for the given parameters.
|
getLayersgetFailOnError, getName, render, supportsNativeRotation, tryAddLayerprotected WMTSLayer(jsr166y.ForkJoinPool forkJoinPool,
jsr166y.ForkJoinPool requestForkJoinPool,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
WMTSLayerParam param,
com.codahale.metrics.MetricRegistry registry)
forkJoinPool - the thread pool for doing the rendering.requestForkJoinPool - the thread pool for making tile/image requests.styleSupplier - strategy for loading the style for this layerparam - the information needed to create WMTS requests.registry - the metrics registry.protected final TileCacheInformation createTileInformation(MapBounds bounds, java.awt.Rectangle paintArea, double dpi, boolean isFirstLayer)
AbstractTiledLayercreateTileInformation in class AbstractTiledLayerbounds - the map boundspaintArea - the area to paintdpi - the DPI to render atisFirstLayer - true indicates this layer is the first layer in the map (the first layer drawn, ie the base layer)public static java.net.URI createRestURI(java.lang.String commonURL,
java.lang.String matrixId,
int row,
int col,
WMTSLayerParam layerParam)
throws java.net.URISyntaxException
commonURL - Base URLmatrixId - matrixIdrow - rowcol - coldlayerParam - layerParamjava.net.URISyntaxException