public class WMTSLayer extends AbstractTiledLayer
| Modifier | Constructor and Description |
|---|---|
protected |
WMTSLayer(jsr166y.ForkJoinPool executorService,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
WMTSLayerParam param)
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 executorService,
StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
WMTSLayerParam param)
executorService - the thread pool for doing the rendering.styleSupplier - strategy for loading the style for this layerparam - the information needed to create WMTS requests.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