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 |
|---|---|
protected TileCacheInformation |
createTileInformation(MapBounds bounds,
java.awt.Rectangle paintArea,
double dpi,
boolean isFirstLayer)
Create the tile cache information object for the given parameters.
|
getLayersgetName, 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)